AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetConnectorDestinationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/AuthConfig.h>
11#include <aws/iot-managed-integrations/model/AuthType.h>
12#include <aws/iot-managed-integrations/model/SecretsManager.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTManagedIntegrations {
26namespace Model {
28 public:
29 AWS_IOTMANAGEDINTEGRATIONS_API GetConnectorDestinationResult() = default;
31 AWS_IOTMANAGEDINTEGRATIONS_API GetConnectorDestinationResult& operator=(
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 template <typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) {
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetCloudConnectorId() const { return m_cloudConnectorId; }
73 template <typename CloudConnectorIdT = Aws::String>
74 void SetCloudConnectorId(CloudConnectorIdT&& value) {
75 m_cloudConnectorIdHasBeenSet = true;
76 m_cloudConnectorId = std::forward<CloudConnectorIdT>(value);
77 }
78 template <typename CloudConnectorIdT = Aws::String>
80 SetCloudConnectorId(std::forward<CloudConnectorIdT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetId() const { return m_id; }
90 template <typename IdT = Aws::String>
91 void SetId(IdT&& value) {
92 m_idHasBeenSet = true;
93 m_id = std::forward<IdT>(value);
94 }
95 template <typename IdT = Aws::String>
97 SetId(std::forward<IdT>(value));
98 return *this;
99 }
101
103
107 inline AuthType GetAuthType() const { return m_authType; }
108 inline void SetAuthType(AuthType value) {
109 m_authTypeHasBeenSet = true;
110 m_authType = value;
111 }
113 SetAuthType(value);
114 return *this;
115 }
117
119
123 inline const AuthConfig& GetAuthConfig() const { return m_authConfig; }
124 template <typename AuthConfigT = AuthConfig>
125 void SetAuthConfig(AuthConfigT&& value) {
126 m_authConfigHasBeenSet = true;
127 m_authConfig = std::forward<AuthConfigT>(value);
128 }
129 template <typename AuthConfigT = AuthConfig>
131 SetAuthConfig(std::forward<AuthConfigT>(value));
132 return *this;
133 }
135
137
141 inline const SecretsManager& GetSecretsManager() const { return m_secretsManager; }
142 template <typename SecretsManagerT = SecretsManager>
143 void SetSecretsManager(SecretsManagerT&& value) {
144 m_secretsManagerHasBeenSet = true;
145 m_secretsManager = std::forward<SecretsManagerT>(value);
146 }
147 template <typename SecretsManagerT = SecretsManager>
149 SetSecretsManager(std::forward<SecretsManagerT>(value));
150 return *this;
151 }
153
155
159 inline const Aws::String& GetOAuthCompleteRedirectUrl() const { return m_oAuthCompleteRedirectUrl; }
160 template <typename OAuthCompleteRedirectUrlT = Aws::String>
161 void SetOAuthCompleteRedirectUrl(OAuthCompleteRedirectUrlT&& value) {
162 m_oAuthCompleteRedirectUrlHasBeenSet = true;
163 m_oAuthCompleteRedirectUrl = std::forward<OAuthCompleteRedirectUrlT>(value);
164 }
165 template <typename OAuthCompleteRedirectUrlT = Aws::String>
167 SetOAuthCompleteRedirectUrl(std::forward<OAuthCompleteRedirectUrlT>(value));
168 return *this;
169 }
171
173
174 inline const Aws::String& GetRequestId() const { return m_requestId; }
175 template <typename RequestIdT = Aws::String>
176 void SetRequestId(RequestIdT&& value) {
177 m_requestIdHasBeenSet = true;
178 m_requestId = std::forward<RequestIdT>(value);
179 }
180 template <typename RequestIdT = Aws::String>
182 SetRequestId(std::forward<RequestIdT>(value));
183 return *this;
184 }
186 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
187
188 private:
189 Aws::String m_name;
190
191 Aws::String m_description;
192
193 Aws::String m_cloudConnectorId;
194
195 Aws::String m_id;
196
197 AuthType m_authType{AuthType::NOT_SET};
198
199 AuthConfig m_authConfig;
200
201 SecretsManager m_secretsManager;
202
203 Aws::String m_oAuthCompleteRedirectUrl;
204
205 Aws::String m_requestId;
206 Aws::Http::HttpResponseCode m_HttpResponseCode;
207 bool m_nameHasBeenSet = false;
208 bool m_descriptionHasBeenSet = false;
209 bool m_cloudConnectorIdHasBeenSet = false;
210 bool m_idHasBeenSet = false;
211 bool m_authTypeHasBeenSet = false;
212 bool m_authConfigHasBeenSet = false;
213 bool m_secretsManagerHasBeenSet = false;
214 bool m_oAuthCompleteRedirectUrlHasBeenSet = false;
215 bool m_requestIdHasBeenSet = false;
216};
217
218} // namespace Model
219} // namespace IoTManagedIntegrations
220} // namespace Aws
GetConnectorDestinationResult & WithSecretsManager(SecretsManagerT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetConnectorDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConnectorDestinationResult & WithDescription(DescriptionT &&value)
GetConnectorDestinationResult & WithCloudConnectorId(CloudConnectorIdT &&value)
GetConnectorDestinationResult & WithAuthConfig(AuthConfigT &&value)
GetConnectorDestinationResult & WithOAuthCompleteRedirectUrl(OAuthCompleteRedirectUrlT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetConnectorDestinationResult()=default
AWS_IOTMANAGEDINTEGRATIONS_API GetConnectorDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue