AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CreateAccountAssociationResult.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/AssociationState.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTManagedIntegrations {
24namespace Model {
26 public:
27 AWS_IOTMANAGEDINTEGRATIONS_API CreateAccountAssociationResult() = default;
29 AWS_IOTMANAGEDINTEGRATIONS_API CreateAccountAssociationResult& operator=(
31
33
38 inline const Aws::String& GetOAuthAuthorizationUrl() const { return m_oAuthAuthorizationUrl; }
39 template <typename OAuthAuthorizationUrlT = Aws::String>
40 void SetOAuthAuthorizationUrl(OAuthAuthorizationUrlT&& value) {
41 m_oAuthAuthorizationUrlHasBeenSet = true;
42 m_oAuthAuthorizationUrl = std::forward<OAuthAuthorizationUrlT>(value);
43 }
44 template <typename OAuthAuthorizationUrlT = Aws::String>
46 SetOAuthAuthorizationUrl(std::forward<OAuthAuthorizationUrlT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetAccountAssociationId() const { return m_accountAssociationId; }
56 template <typename AccountAssociationIdT = Aws::String>
57 void SetAccountAssociationId(AccountAssociationIdT&& value) {
58 m_accountAssociationIdHasBeenSet = true;
59 m_accountAssociationId = std::forward<AccountAssociationIdT>(value);
60 }
61 template <typename AccountAssociationIdT = Aws::String>
63 SetAccountAssociationId(std::forward<AccountAssociationIdT>(value));
64 return *this;
65 }
67
69
72 inline AssociationState GetAssociationState() const { return m_associationState; }
74 m_associationStateHasBeenSet = true;
75 m_associationState = value;
76 }
82
84
87 inline const Aws::String& GetArn() const { return m_arn; }
88 template <typename ArnT = Aws::String>
89 void SetArn(ArnT&& value) {
90 m_arnHasBeenSet = true;
91 m_arn = std::forward<ArnT>(value);
92 }
93 template <typename ArnT = Aws::String>
95 SetArn(std::forward<ArnT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
117 Aws::String m_oAuthAuthorizationUrl;
118
119 Aws::String m_accountAssociationId;
120
122
123 Aws::String m_arn;
124
125 Aws::String m_requestId;
126 Aws::Http::HttpResponseCode m_HttpResponseCode;
127 bool m_oAuthAuthorizationUrlHasBeenSet = false;
128 bool m_accountAssociationIdHasBeenSet = false;
129 bool m_associationStateHasBeenSet = false;
130 bool m_arnHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace IoTManagedIntegrations
136} // namespace Aws
CreateAccountAssociationResult & WithAccountAssociationId(AccountAssociationIdT &&value)
CreateAccountAssociationResult & WithAssociationState(AssociationState value)
CreateAccountAssociationResult & WithOAuthAuthorizationUrl(OAuthAuthorizationUrlT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CreateAccountAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API CreateAccountAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API CreateAccountAssociationResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue