AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
GetAccountAssociationResult.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/AssociationState.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTManagedIntegrations
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTMANAGEDINTEGRATIONS_API GetAccountAssociationResult() = default;
35
36
38
41 inline const Aws::String& GetAccountAssociationId() const { return m_accountAssociationId; }
42 template<typename AccountAssociationIdT = Aws::String>
43 void SetAccountAssociationId(AccountAssociationIdT&& value) { m_accountAssociationIdHasBeenSet = true; m_accountAssociationId = std::forward<AccountAssociationIdT>(value); }
44 template<typename AccountAssociationIdT = Aws::String>
45 GetAccountAssociationResult& WithAccountAssociationId(AccountAssociationIdT&& value) { SetAccountAssociationId(std::forward<AccountAssociationIdT>(value)); return *this;}
47
49
52 inline AssociationState GetAssociationState() const { return m_associationState; }
53 inline void SetAssociationState(AssociationState value) { m_associationStateHasBeenSet = true; m_associationState = value; }
56
58
61 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
62 template<typename ErrorMessageT = Aws::String>
63 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
64 template<typename ErrorMessageT = Aws::String>
65 GetAccountAssociationResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
67
69
73 inline const Aws::String& GetConnectorDestinationId() const { return m_connectorDestinationId; }
74 template<typename ConnectorDestinationIdT = Aws::String>
75 void SetConnectorDestinationId(ConnectorDestinationIdT&& value) { m_connectorDestinationIdHasBeenSet = true; m_connectorDestinationId = std::forward<ConnectorDestinationIdT>(value); }
76 template<typename ConnectorDestinationIdT = Aws::String>
77 GetAccountAssociationResult& WithConnectorDestinationId(ConnectorDestinationIdT&& value) { SetConnectorDestinationId(std::forward<ConnectorDestinationIdT>(value)); return *this;}
79
81
84 inline const Aws::String& GetName() const { return m_name; }
85 template<typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
87 template<typename NameT = Aws::String>
88 GetAccountAssociationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 template<typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
98 template<typename DescriptionT = Aws::String>
99 GetAccountAssociationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
101
103
106 inline const Aws::String& GetArn() const { return m_arn; }
107 template<typename ArnT = Aws::String>
108 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
109 template<typename ArnT = Aws::String>
110 GetAccountAssociationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
112
114
118 inline const Aws::String& GetOAuthAuthorizationUrl() const { return m_oAuthAuthorizationUrl; }
119 template<typename OAuthAuthorizationUrlT = Aws::String>
120 void SetOAuthAuthorizationUrl(OAuthAuthorizationUrlT&& value) { m_oAuthAuthorizationUrlHasBeenSet = true; m_oAuthAuthorizationUrl = std::forward<OAuthAuthorizationUrlT>(value); }
121 template<typename OAuthAuthorizationUrlT = Aws::String>
122 GetAccountAssociationResult& WithOAuthAuthorizationUrl(OAuthAuthorizationUrlT&& value) { SetOAuthAuthorizationUrl(std::forward<OAuthAuthorizationUrlT>(value)); return *this;}
124
126
129 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
130 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
132 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 GetAccountAssociationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
134 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
135 GetAccountAssociationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
136 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
137 }
139
141
142 inline const Aws::String& GetRequestId() const { return m_requestId; }
143 template<typename RequestIdT = Aws::String>
144 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
145 template<typename RequestIdT = Aws::String>
146 GetAccountAssociationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
148 private:
149
150 Aws::String m_accountAssociationId;
151 bool m_accountAssociationIdHasBeenSet = false;
152
154 bool m_associationStateHasBeenSet = false;
155
156 Aws::String m_errorMessage;
157 bool m_errorMessageHasBeenSet = false;
158
159 Aws::String m_connectorDestinationId;
160 bool m_connectorDestinationIdHasBeenSet = false;
161
162 Aws::String m_name;
163 bool m_nameHasBeenSet = false;
164
165 Aws::String m_description;
166 bool m_descriptionHasBeenSet = false;
167
168 Aws::String m_arn;
169 bool m_arnHasBeenSet = false;
170
171 Aws::String m_oAuthAuthorizationUrl;
172 bool m_oAuthAuthorizationUrlHasBeenSet = false;
173
175 bool m_tagsHasBeenSet = false;
176
177 Aws::String m_requestId;
178 bool m_requestIdHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace IoTManagedIntegrations
183} // namespace Aws
GetAccountAssociationResult & WithAssociationState(AssociationState value)
GetAccountAssociationResult & WithRequestId(RequestIdT &&value)
GetAccountAssociationResult & WithConnectorDestinationId(ConnectorDestinationIdT &&value)
GetAccountAssociationResult & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAccountAssociationResult & WithOAuthAuthorizationUrl(OAuthAuthorizationUrlT &&value)
GetAccountAssociationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetAccountAssociationResult()=default
GetAccountAssociationResult & WithAccountAssociationId(AccountAssociationIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetAccountAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API GetAccountAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountAssociationResult & WithErrorMessage(ErrorMessageT &&value)
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