7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
11#include <aws/iot-managed-integrations/model/AssociationState.h>
12#include <aws/iot-managed-integrations/model/GeneralAuthorizationName.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace IoTManagedIntegrations {
39 template <
typename AccountAssociationIdT = Aws::String>
41 m_accountAssociationIdHasBeenSet =
true;
42 m_accountAssociationId = std::forward<AccountAssociationIdT>(value);
44 template <
typename AccountAssociationIdT = Aws::String>
57 m_associationStateHasBeenSet =
true;
58 m_associationState = value;
71 template <
typename ErrorMessageT = Aws::String>
73 m_errorMessageHasBeenSet =
true;
74 m_errorMessage = std::forward<ErrorMessageT>(value);
76 template <
typename ErrorMessageT = Aws::String>
89 template <
typename ConnectorDestinationIdT = Aws::String>
91 m_connectorDestinationIdHasBeenSet =
true;
92 m_connectorDestinationId = std::forward<ConnectorDestinationIdT>(value);
94 template <
typename ConnectorDestinationIdT = Aws::String>
106 template <
typename NameT = Aws::String>
108 m_nameHasBeenSet =
true;
109 m_name = std::forward<NameT>(value);
111 template <
typename NameT = Aws::String>
113 SetName(std::forward<NameT>(value));
123 template <
typename DescriptionT = Aws::String>
125 m_descriptionHasBeenSet =
true;
126 m_description = std::forward<DescriptionT>(value);
128 template <
typename DescriptionT = Aws::String>
140 template <
typename ArnT = Aws::String>
142 m_arnHasBeenSet =
true;
143 m_arn = std::forward<ArnT>(value);
145 template <
typename ArnT = Aws::String>
147 SetArn(std::forward<ArnT>(value));
159 template <
typename OAuthAuthorizationUrlT = Aws::String>
161 m_oAuthAuthorizationUrlHasBeenSet =
true;
162 m_oAuthAuthorizationUrl = std::forward<OAuthAuthorizationUrlT>(value);
164 template <
typename OAuthAuthorizationUrlT = Aws::String>
176 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
178 m_tagsHasBeenSet =
true;
179 m_tags = std::forward<TagsT>(value);
181 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
183 SetTags(std::forward<TagsT>(value));
186 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
188 m_tagsHasBeenSet =
true;
189 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
199 template <
typename GeneralAuthorizationT = GeneralAuthorizationName>
201 m_generalAuthorizationHasBeenSet =
true;
202 m_generalAuthorization = std::forward<GeneralAuthorizationT>(value);
204 template <
typename GeneralAuthorizationT = GeneralAuthorizationName>
214 template <
typename RequestIdT = Aws::String>
216 m_requestIdHasBeenSet =
true;
217 m_requestId = std::forward<RequestIdT>(value);
219 template <
typename RequestIdT = Aws::String>
246 GeneralAuthorizationName m_generalAuthorization;
250 bool m_accountAssociationIdHasBeenSet =
false;
251 bool m_associationStateHasBeenSet =
false;
252 bool m_errorMessageHasBeenSet =
false;
253 bool m_connectorDestinationIdHasBeenSet =
false;
254 bool m_nameHasBeenSet =
false;
255 bool m_descriptionHasBeenSet =
false;
256 bool m_arnHasBeenSet =
false;
257 bool m_oAuthAuthorizationUrlHasBeenSet =
false;
258 bool m_tagsHasBeenSet =
false;
259 bool m_generalAuthorizationHasBeenSet =
false;
260 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetOAuthAuthorizationUrl() const
GetAccountAssociationResult & WithAssociationState(AssociationState value)
GetAccountAssociationResult & WithRequestId(RequestIdT &&value)
AssociationState GetAssociationState() const
GetAccountAssociationResult & WithGeneralAuthorization(GeneralAuthorizationT &&value)
GetAccountAssociationResult & WithConnectorDestinationId(ConnectorDestinationIdT &&value)
void SetName(NameT &&value)
GetAccountAssociationResult & WithDescription(DescriptionT &&value)
const Aws::String & GetName() const
const Aws::String & GetErrorMessage() const
const GeneralAuthorizationName & GetGeneralAuthorization() const
void SetErrorMessage(ErrorMessageT &&value)
void SetConnectorDestinationId(ConnectorDestinationIdT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetConnectorDestinationId() const
const Aws::String & GetArn() const
void SetDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetOAuthAuthorizationUrl(OAuthAuthorizationUrlT &&value)
GetAccountAssociationResult & WithOAuthAuthorizationUrl(OAuthAuthorizationUrlT &&value)
GetAccountAssociationResult & WithArn(ArnT &&value)
void SetRequestId(RequestIdT &&value)
GetAccountAssociationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetGeneralAuthorization(GeneralAuthorizationT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetAccountAssociationResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetAccountAssociationResult & WithAccountAssociationId(AccountAssociationIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetAccountAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(TagsT &&value)
const Aws::String & GetRequestId() const
AWS_IOTMANAGEDINTEGRATIONS_API GetAccountAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAssociationState(AssociationState value)
GetAccountAssociationResult & WithName(NameT &&value)
GetAccountAssociationResult & WithTags(TagsT &&value)
GetAccountAssociationResult & WithErrorMessage(ErrorMessageT &&value)
const Aws::String & GetDescription() const
void SetAccountAssociationId(AccountAssociationIdT &&value)
const Aws::String & GetAccountAssociationId() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue