AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetNetworkResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wickr/Wickr_EXPORTS.h>
10#include <aws/wickr/model/AccessLevel.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 Wickr {
24namespace Model {
26 public:
27 AWS_WICKR_API GetNetworkResult() = default;
30
32
35 inline const Aws::String& GetNetworkId() const { return m_networkId; }
36 template <typename NetworkIdT = Aws::String>
37 void SetNetworkId(NetworkIdT&& value) {
38 m_networkIdHasBeenSet = true;
39 m_networkId = std::forward<NetworkIdT>(value);
40 }
41 template <typename NetworkIdT = Aws::String>
42 GetNetworkResult& WithNetworkId(NetworkIdT&& value) {
43 SetNetworkId(std::forward<NetworkIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetNetworkName() const { return m_networkName; }
53 template <typename NetworkNameT = Aws::String>
54 void SetNetworkName(NetworkNameT&& value) {
55 m_networkNameHasBeenSet = true;
56 m_networkName = std::forward<NetworkNameT>(value);
57 }
58 template <typename NetworkNameT = Aws::String>
59 GetNetworkResult& WithNetworkName(NetworkNameT&& value) {
60 SetNetworkName(std::forward<NetworkNameT>(value));
61 return *this;
62 }
64
66
70 inline AccessLevel GetAccessLevel() const { return m_accessLevel; }
71 inline void SetAccessLevel(AccessLevel value) {
72 m_accessLevelHasBeenSet = true;
73 m_accessLevel = value;
74 }
76 SetAccessLevel(value);
77 return *this;
78 }
80
82
85 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
86 template <typename AwsAccountIdT = Aws::String>
87 void SetAwsAccountId(AwsAccountIdT&& value) {
88 m_awsAccountIdHasBeenSet = true;
89 m_awsAccountId = std::forward<AwsAccountIdT>(value);
90 }
91 template <typename AwsAccountIdT = Aws::String>
92 GetNetworkResult& WithAwsAccountId(AwsAccountIdT&& value) {
93 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetNetworkArn() const { return m_networkArn; }
103 template <typename NetworkArnT = Aws::String>
104 void SetNetworkArn(NetworkArnT&& value) {
105 m_networkArnHasBeenSet = true;
106 m_networkArn = std::forward<NetworkArnT>(value);
107 }
108 template <typename NetworkArnT = Aws::String>
109 GetNetworkResult& WithNetworkArn(NetworkArnT&& value) {
110 SetNetworkArn(std::forward<NetworkArnT>(value));
111 return *this;
112 }
114
116
119 inline int GetStanding() const { return m_standing; }
120 inline void SetStanding(int value) {
121 m_standingHasBeenSet = true;
122 m_standing = value;
123 }
124 inline GetNetworkResult& WithStanding(int value) {
125 SetStanding(value);
126 return *this;
127 }
129
131
135 inline const Aws::String& GetFreeTrialExpiration() const { return m_freeTrialExpiration; }
136 template <typename FreeTrialExpirationT = Aws::String>
137 void SetFreeTrialExpiration(FreeTrialExpirationT&& value) {
138 m_freeTrialExpirationHasBeenSet = true;
139 m_freeTrialExpiration = std::forward<FreeTrialExpirationT>(value);
140 }
141 template <typename FreeTrialExpirationT = Aws::String>
142 GetNetworkResult& WithFreeTrialExpiration(FreeTrialExpirationT&& value) {
143 SetFreeTrialExpiration(std::forward<FreeTrialExpirationT>(value));
144 return *this;
145 }
147
149
153 inline int GetMigrationState() const { return m_migrationState; }
154 inline void SetMigrationState(int value) {
155 m_migrationStateHasBeenSet = true;
156 m_migrationState = value;
157 }
159 SetMigrationState(value);
160 return *this;
161 }
163
165
169 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
170 template <typename EncryptionKeyArnT = Aws::String>
171 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) {
172 m_encryptionKeyArnHasBeenSet = true;
173 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
174 }
175 template <typename EncryptionKeyArnT = Aws::String>
176 GetNetworkResult& WithEncryptionKeyArn(EncryptionKeyArnT&& value) {
177 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
178 return *this;
179 }
181
183
184 inline const Aws::String& GetRequestId() const { return m_requestId; }
185 template <typename RequestIdT = Aws::String>
186 void SetRequestId(RequestIdT&& value) {
187 m_requestIdHasBeenSet = true;
188 m_requestId = std::forward<RequestIdT>(value);
189 }
190 template <typename RequestIdT = Aws::String>
191 GetNetworkResult& WithRequestId(RequestIdT&& value) {
192 SetRequestId(std::forward<RequestIdT>(value));
193 return *this;
194 }
196 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
197
198 private:
199 Aws::String m_networkId;
200
201 Aws::String m_networkName;
202
203 AccessLevel m_accessLevel{AccessLevel::NOT_SET};
204
205 Aws::String m_awsAccountId;
206
207 Aws::String m_networkArn;
208
209 int m_standing{0};
210
211 Aws::String m_freeTrialExpiration;
212
213 int m_migrationState{0};
214
215 Aws::String m_encryptionKeyArn;
216
217 Aws::String m_requestId;
218 Aws::Http::HttpResponseCode m_HttpResponseCode;
219 bool m_networkIdHasBeenSet = false;
220 bool m_networkNameHasBeenSet = false;
221 bool m_accessLevelHasBeenSet = false;
222 bool m_awsAccountIdHasBeenSet = false;
223 bool m_networkArnHasBeenSet = false;
224 bool m_standingHasBeenSet = false;
225 bool m_freeTrialExpirationHasBeenSet = false;
226 bool m_migrationStateHasBeenSet = false;
227 bool m_encryptionKeyArnHasBeenSet = false;
228 bool m_requestIdHasBeenSet = false;
229};
230
231} // namespace Model
232} // namespace Wickr
233} // namespace Aws
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
GetNetworkResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetEncryptionKeyArn() const
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
void SetFreeTrialExpiration(FreeTrialExpirationT &&value)
const Aws::String & GetNetworkName() const
const Aws::String & GetAwsAccountId() const
GetNetworkResult & WithAwsAccountId(AwsAccountIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_WICKR_API GetNetworkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNetworkId() const
void SetNetworkArn(NetworkArnT &&value)
void SetNetworkName(NetworkNameT &&value)
GetNetworkResult & WithFreeTrialExpiration(FreeTrialExpirationT &&value)
GetNetworkResult & WithAccessLevel(AccessLevel value)
const Aws::String & GetNetworkArn() const
void SetNetworkId(NetworkIdT &&value)
void SetAccessLevel(AccessLevel value)
AWS_WICKR_API GetNetworkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetNetworkResult & WithStanding(int value)
void SetAwsAccountId(AwsAccountIdT &&value)
GetNetworkResult & WithNetworkName(NetworkNameT &&value)
AWS_WICKR_API GetNetworkResult()=default
GetNetworkResult & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
GetNetworkResult & WithNetworkArn(NetworkArnT &&value)
const Aws::String & GetFreeTrialExpiration() const
GetNetworkResult & WithNetworkId(NetworkIdT &&value)
GetNetworkResult & WithMigrationState(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue