AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DescribeOrganizationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workmail/WorkMail_EXPORTS.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 WorkMail {
24namespace Model {
26 public:
27 AWS_WORKMAIL_API DescribeOrganizationResult() = default;
30
32
35 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
36 template <typename OrganizationIdT = Aws::String>
37 void SetOrganizationId(OrganizationIdT&& value) {
38 m_organizationIdHasBeenSet = true;
39 m_organizationId = std::forward<OrganizationIdT>(value);
40 }
41 template <typename OrganizationIdT = Aws::String>
43 SetOrganizationId(std::forward<OrganizationIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetAlias() const { return m_alias; }
53 template <typename AliasT = Aws::String>
54 void SetAlias(AliasT&& value) {
55 m_aliasHasBeenSet = true;
56 m_alias = std::forward<AliasT>(value);
57 }
58 template <typename AliasT = Aws::String>
60 SetAlias(std::forward<AliasT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetState() const { return m_state; }
70 template <typename StateT = Aws::String>
71 void SetState(StateT&& value) {
72 m_stateHasBeenSet = true;
73 m_state = std::forward<StateT>(value);
74 }
75 template <typename StateT = Aws::String>
77 SetState(std::forward<StateT>(value));
78 return *this;
79 }
81
83
87 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
88 template <typename DirectoryIdT = Aws::String>
89 void SetDirectoryId(DirectoryIdT&& value) {
90 m_directoryIdHasBeenSet = true;
91 m_directoryId = std::forward<DirectoryIdT>(value);
92 }
93 template <typename DirectoryIdT = Aws::String>
95 SetDirectoryId(std::forward<DirectoryIdT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetDirectoryType() const { return m_directoryType; }
105 template <typename DirectoryTypeT = Aws::String>
106 void SetDirectoryType(DirectoryTypeT&& value) {
107 m_directoryTypeHasBeenSet = true;
108 m_directoryType = std::forward<DirectoryTypeT>(value);
109 }
110 template <typename DirectoryTypeT = Aws::String>
112 SetDirectoryType(std::forward<DirectoryTypeT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetDefaultMailDomain() const { return m_defaultMailDomain; }
122 template <typename DefaultMailDomainT = Aws::String>
123 void SetDefaultMailDomain(DefaultMailDomainT&& value) {
124 m_defaultMailDomainHasBeenSet = true;
125 m_defaultMailDomain = std::forward<DefaultMailDomainT>(value);
126 }
127 template <typename DefaultMailDomainT = Aws::String>
129 SetDefaultMailDomain(std::forward<DefaultMailDomainT>(value));
130 return *this;
131 }
133
135
139 inline const Aws::Utils::DateTime& GetCompletedDate() const { return m_completedDate; }
140 template <typename CompletedDateT = Aws::Utils::DateTime>
141 void SetCompletedDate(CompletedDateT&& value) {
142 m_completedDateHasBeenSet = true;
143 m_completedDate = std::forward<CompletedDateT>(value);
144 }
145 template <typename CompletedDateT = Aws::Utils::DateTime>
147 SetCompletedDate(std::forward<CompletedDateT>(value));
148 return *this;
149 }
151
153
157 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
158 template <typename ErrorMessageT = Aws::String>
159 void SetErrorMessage(ErrorMessageT&& value) {
160 m_errorMessageHasBeenSet = true;
161 m_errorMessage = std::forward<ErrorMessageT>(value);
162 }
163 template <typename ErrorMessageT = Aws::String>
165 SetErrorMessage(std::forward<ErrorMessageT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::String& GetARN() const { return m_aRN; }
175 template <typename ARNT = Aws::String>
176 void SetARN(ARNT&& value) {
177 m_aRNHasBeenSet = true;
178 m_aRN = std::forward<ARNT>(value);
179 }
180 template <typename ARNT = Aws::String>
182 SetARN(std::forward<ARNT>(value));
183 return *this;
184 }
186
188
192 inline const Aws::String& GetMigrationAdmin() const { return m_migrationAdmin; }
193 template <typename MigrationAdminT = Aws::String>
194 void SetMigrationAdmin(MigrationAdminT&& value) {
195 m_migrationAdminHasBeenSet = true;
196 m_migrationAdmin = std::forward<MigrationAdminT>(value);
197 }
198 template <typename MigrationAdminT = Aws::String>
200 SetMigrationAdmin(std::forward<MigrationAdminT>(value));
201 return *this;
202 }
204
206
209 inline bool GetInteroperabilityEnabled() const { return m_interoperabilityEnabled; }
210 inline void SetInteroperabilityEnabled(bool value) {
211 m_interoperabilityEnabledHasBeenSet = true;
212 m_interoperabilityEnabled = value;
213 }
216 return *this;
217 }
219
221
222 inline const Aws::String& GetRequestId() const { return m_requestId; }
223 template <typename RequestIdT = Aws::String>
224 void SetRequestId(RequestIdT&& value) {
225 m_requestIdHasBeenSet = true;
226 m_requestId = std::forward<RequestIdT>(value);
227 }
228 template <typename RequestIdT = Aws::String>
230 SetRequestId(std::forward<RequestIdT>(value));
231 return *this;
232 }
234 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
235
236 private:
237 Aws::String m_organizationId;
238
239 Aws::String m_alias;
240
241 Aws::String m_state;
242
243 Aws::String m_directoryId;
244
245 Aws::String m_directoryType;
246
247 Aws::String m_defaultMailDomain;
248
249 Aws::Utils::DateTime m_completedDate{};
250
251 Aws::String m_errorMessage;
252
253 Aws::String m_aRN;
254
255 Aws::String m_migrationAdmin;
256
257 bool m_interoperabilityEnabled{false};
258
259 Aws::String m_requestId;
260 Aws::Http::HttpResponseCode m_HttpResponseCode;
261 bool m_organizationIdHasBeenSet = false;
262 bool m_aliasHasBeenSet = false;
263 bool m_stateHasBeenSet = false;
264 bool m_directoryIdHasBeenSet = false;
265 bool m_directoryTypeHasBeenSet = false;
266 bool m_defaultMailDomainHasBeenSet = false;
267 bool m_completedDateHasBeenSet = false;
268 bool m_errorMessageHasBeenSet = false;
269 bool m_aRNHasBeenSet = false;
270 bool m_migrationAdminHasBeenSet = false;
271 bool m_interoperabilityEnabledHasBeenSet = false;
272 bool m_requestIdHasBeenSet = false;
273};
274
275} // namespace Model
276} // namespace WorkMail
277} // namespace Aws
DescribeOrganizationResult & WithMigrationAdmin(MigrationAdminT &&value)
DescribeOrganizationResult & WithDirectoryId(DirectoryIdT &&value)
AWS_WORKMAIL_API DescribeOrganizationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOrganizationResult & WithOrganizationId(OrganizationIdT &&value)
AWS_WORKMAIL_API DescribeOrganizationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOrganizationResult & WithErrorMessage(ErrorMessageT &&value)
AWS_WORKMAIL_API DescribeOrganizationResult()=default
DescribeOrganizationResult & WithState(StateT &&value)
DescribeOrganizationResult & WithInteroperabilityEnabled(bool value)
DescribeOrganizationResult & WithRequestId(RequestIdT &&value)
DescribeOrganizationResult & WithDirectoryType(DirectoryTypeT &&value)
DescribeOrganizationResult & WithCompletedDate(CompletedDateT &&value)
DescribeOrganizationResult & WithAlias(AliasT &&value)
DescribeOrganizationResult & WithARN(ARNT &&value)
DescribeOrganizationResult & WithDefaultMailDomain(DefaultMailDomainT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue