AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetIntegrationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/Provider.h>
11#include <aws/securityagent/model/ProviderType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityAgent {
25namespace Model {
27 public:
28 AWS_SECURITYAGENT_API GetIntegrationResult() = default;
31
33
36 inline const Aws::String& GetIntegrationId() const { return m_integrationId; }
37 template <typename IntegrationIdT = Aws::String>
38 void SetIntegrationId(IntegrationIdT&& value) {
39 m_integrationIdHasBeenSet = true;
40 m_integrationId = std::forward<IntegrationIdT>(value);
41 }
42 template <typename IntegrationIdT = Aws::String>
43 GetIntegrationResult& WithIntegrationId(IntegrationIdT&& value) {
44 SetIntegrationId(std::forward<IntegrationIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetInstallationId() const { return m_installationId; }
54 template <typename InstallationIdT = Aws::String>
55 void SetInstallationId(InstallationIdT&& value) {
56 m_installationIdHasBeenSet = true;
57 m_installationId = std::forward<InstallationIdT>(value);
58 }
59 template <typename InstallationIdT = Aws::String>
60 GetIntegrationResult& WithInstallationId(InstallationIdT&& value) {
61 SetInstallationId(std::forward<InstallationIdT>(value));
62 return *this;
63 }
65
67
70 inline Provider GetProvider() const { return m_provider; }
71 inline void SetProvider(Provider value) {
72 m_providerHasBeenSet = true;
73 m_provider = value;
74 }
76 SetProvider(value);
77 return *this;
78 }
80
82
85 inline ProviderType GetProviderType() const { return m_providerType; }
86 inline void SetProviderType(ProviderType value) {
87 m_providerTypeHasBeenSet = true;
88 m_providerType = value;
89 }
91 SetProviderType(value);
92 return *this;
93 }
95
97
100 inline const Aws::String& GetDisplayName() const { return m_displayName; }
101 template <typename DisplayNameT = Aws::String>
102 void SetDisplayName(DisplayNameT&& value) {
103 m_displayNameHasBeenSet = true;
104 m_displayName = std::forward<DisplayNameT>(value);
105 }
106 template <typename DisplayNameT = Aws::String>
107 GetIntegrationResult& WithDisplayName(DisplayNameT&& value) {
108 SetDisplayName(std::forward<DisplayNameT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
118 template <typename KmsKeyIdT = Aws::String>
119 void SetKmsKeyId(KmsKeyIdT&& value) {
120 m_kmsKeyIdHasBeenSet = true;
121 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
122 }
123 template <typename KmsKeyIdT = Aws::String>
124 GetIntegrationResult& WithKmsKeyId(KmsKeyIdT&& value) {
125 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
126 return *this;
127 }
129
131
132 inline const Aws::String& GetRequestId() const { return m_requestId; }
133 template <typename RequestIdT = Aws::String>
134 void SetRequestId(RequestIdT&& value) {
135 m_requestIdHasBeenSet = true;
136 m_requestId = std::forward<RequestIdT>(value);
137 }
138 template <typename RequestIdT = Aws::String>
139 GetIntegrationResult& WithRequestId(RequestIdT&& value) {
140 SetRequestId(std::forward<RequestIdT>(value));
141 return *this;
142 }
144 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
145
146 private:
147 Aws::String m_integrationId;
148
149 Aws::String m_installationId;
150
151 Provider m_provider{Provider::NOT_SET};
152
153 ProviderType m_providerType{ProviderType::NOT_SET};
154
155 Aws::String m_displayName;
156
157 Aws::String m_kmsKeyId;
158
159 Aws::String m_requestId;
160 Aws::Http::HttpResponseCode m_HttpResponseCode;
161 bool m_integrationIdHasBeenSet = false;
162 bool m_installationIdHasBeenSet = false;
163 bool m_providerHasBeenSet = false;
164 bool m_providerTypeHasBeenSet = false;
165 bool m_displayNameHasBeenSet = false;
166 bool m_kmsKeyIdHasBeenSet = false;
167 bool m_requestIdHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace SecurityAgent
172} // namespace Aws
GetIntegrationResult & WithIntegrationId(IntegrationIdT &&value)
GetIntegrationResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_SECURITYAGENT_API GetIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntegrationResult & WithKmsKeyId(KmsKeyIdT &&value)
AWS_SECURITYAGENT_API GetIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntegrationResult & WithProviderType(ProviderType value)
GetIntegrationResult & WithProvider(Provider value)
GetIntegrationResult & WithDisplayName(DisplayNameT &&value)
AWS_SECURITYAGENT_API GetIntegrationResult()=default
GetIntegrationResult & WithInstallationId(InstallationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue