AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
GetConnectorDestinationResult.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/model/AuthType.h>
10#include <aws/iot-managed-integrations/model/AuthConfig.h>
11#include <aws/iot-managed-integrations/model/SecretsManager.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoTManagedIntegrations
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOTMANAGEDINTEGRATIONS_API GetConnectorDestinationResult() = default;
36
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 template<typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
45 template<typename NameT = Aws::String>
46 GetConnectorDestinationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 template<typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
56 template<typename DescriptionT = Aws::String>
57 GetConnectorDestinationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
59
61
64 inline const Aws::String& GetCloudConnectorId() const { return m_cloudConnectorId; }
65 template<typename CloudConnectorIdT = Aws::String>
66 void SetCloudConnectorId(CloudConnectorIdT&& value) { m_cloudConnectorIdHasBeenSet = true; m_cloudConnectorId = std::forward<CloudConnectorIdT>(value); }
67 template<typename CloudConnectorIdT = Aws::String>
68 GetConnectorDestinationResult& WithCloudConnectorId(CloudConnectorIdT&& value) { SetCloudConnectorId(std::forward<CloudConnectorIdT>(value)); return *this;}
70
72
75 inline const Aws::String& GetId() const { return m_id; }
76 template<typename IdT = Aws::String>
77 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
78 template<typename IdT = Aws::String>
79 GetConnectorDestinationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
81
83
87 inline AuthType GetAuthType() const { return m_authType; }
88 inline void SetAuthType(AuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
89 inline GetConnectorDestinationResult& WithAuthType(AuthType value) { SetAuthType(value); return *this;}
91
93
97 inline const AuthConfig& GetAuthConfig() const { return m_authConfig; }
98 template<typename AuthConfigT = AuthConfig>
99 void SetAuthConfig(AuthConfigT&& value) { m_authConfigHasBeenSet = true; m_authConfig = std::forward<AuthConfigT>(value); }
100 template<typename AuthConfigT = AuthConfig>
101 GetConnectorDestinationResult& WithAuthConfig(AuthConfigT&& value) { SetAuthConfig(std::forward<AuthConfigT>(value)); return *this;}
103
105
109 inline const SecretsManager& GetSecretsManager() const { return m_secretsManager; }
110 template<typename SecretsManagerT = SecretsManager>
111 void SetSecretsManager(SecretsManagerT&& value) { m_secretsManagerHasBeenSet = true; m_secretsManager = std::forward<SecretsManagerT>(value); }
112 template<typename SecretsManagerT = SecretsManager>
113 GetConnectorDestinationResult& WithSecretsManager(SecretsManagerT&& value) { SetSecretsManager(std::forward<SecretsManagerT>(value)); return *this;}
115
117
121 inline const Aws::String& GetOAuthCompleteRedirectUrl() const { return m_oAuthCompleteRedirectUrl; }
122 template<typename OAuthCompleteRedirectUrlT = Aws::String>
123 void SetOAuthCompleteRedirectUrl(OAuthCompleteRedirectUrlT&& value) { m_oAuthCompleteRedirectUrlHasBeenSet = true; m_oAuthCompleteRedirectUrl = std::forward<OAuthCompleteRedirectUrlT>(value); }
124 template<typename OAuthCompleteRedirectUrlT = Aws::String>
125 GetConnectorDestinationResult& WithOAuthCompleteRedirectUrl(OAuthCompleteRedirectUrlT&& value) { SetOAuthCompleteRedirectUrl(std::forward<OAuthCompleteRedirectUrlT>(value)); return *this;}
127
129
130 inline const Aws::String& GetRequestId() const { return m_requestId; }
131 template<typename RequestIdT = Aws::String>
132 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
133 template<typename RequestIdT = Aws::String>
134 GetConnectorDestinationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
136 private:
137
138 Aws::String m_name;
139 bool m_nameHasBeenSet = false;
140
141 Aws::String m_description;
142 bool m_descriptionHasBeenSet = false;
143
144 Aws::String m_cloudConnectorId;
145 bool m_cloudConnectorIdHasBeenSet = false;
146
147 Aws::String m_id;
148 bool m_idHasBeenSet = false;
149
150 AuthType m_authType{AuthType::NOT_SET};
151 bool m_authTypeHasBeenSet = false;
152
153 AuthConfig m_authConfig;
154 bool m_authConfigHasBeenSet = false;
155
156 SecretsManager m_secretsManager;
157 bool m_secretsManagerHasBeenSet = false;
158
159 Aws::String m_oAuthCompleteRedirectUrl;
160 bool m_oAuthCompleteRedirectUrlHasBeenSet = false;
161
162 Aws::String m_requestId;
163 bool m_requestIdHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace IoTManagedIntegrations
168} // 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