AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeOrganizationResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace WorkMail
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
40 
44  inline void SetOrganizationId(const Aws::String& value) { m_organizationId = value; }
45 
49  inline void SetOrganizationId(Aws::String&& value) { m_organizationId = std::move(value); }
50 
54  inline void SetOrganizationId(const char* value) { m_organizationId.assign(value); }
55 
59  inline DescribeOrganizationResult& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
60 
64  inline DescribeOrganizationResult& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
65 
69  inline DescribeOrganizationResult& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
70 
71 
75  inline const Aws::String& GetAlias() const{ return m_alias; }
76 
80  inline void SetAlias(const Aws::String& value) { m_alias = value; }
81 
85  inline void SetAlias(Aws::String&& value) { m_alias = std::move(value); }
86 
90  inline void SetAlias(const char* value) { m_alias.assign(value); }
91 
95  inline DescribeOrganizationResult& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
96 
100  inline DescribeOrganizationResult& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
101 
105  inline DescribeOrganizationResult& WithAlias(const char* value) { SetAlias(value); return *this;}
106 
107 
111  inline const Aws::String& GetState() const{ return m_state; }
112 
116  inline void SetState(const Aws::String& value) { m_state = value; }
117 
121  inline void SetState(Aws::String&& value) { m_state = std::move(value); }
122 
126  inline void SetState(const char* value) { m_state.assign(value); }
127 
131  inline DescribeOrganizationResult& WithState(const Aws::String& value) { SetState(value); return *this;}
132 
136  inline DescribeOrganizationResult& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
137 
141  inline DescribeOrganizationResult& WithState(const char* value) { SetState(value); return *this;}
142 
143 
148  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
149 
154  inline void SetDirectoryId(const Aws::String& value) { m_directoryId = value; }
155 
160  inline void SetDirectoryId(Aws::String&& value) { m_directoryId = std::move(value); }
161 
166  inline void SetDirectoryId(const char* value) { m_directoryId.assign(value); }
167 
172  inline DescribeOrganizationResult& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
173 
178  inline DescribeOrganizationResult& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
179 
184  inline DescribeOrganizationResult& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
185 
186 
190  inline const Aws::String& GetDirectoryType() const{ return m_directoryType; }
191 
195  inline void SetDirectoryType(const Aws::String& value) { m_directoryType = value; }
196 
200  inline void SetDirectoryType(Aws::String&& value) { m_directoryType = std::move(value); }
201 
205  inline void SetDirectoryType(const char* value) { m_directoryType.assign(value); }
206 
210  inline DescribeOrganizationResult& WithDirectoryType(const Aws::String& value) { SetDirectoryType(value); return *this;}
211 
215  inline DescribeOrganizationResult& WithDirectoryType(Aws::String&& value) { SetDirectoryType(std::move(value)); return *this;}
216 
220  inline DescribeOrganizationResult& WithDirectoryType(const char* value) { SetDirectoryType(value); return *this;}
221 
222 
226  inline const Aws::String& GetDefaultMailDomain() const{ return m_defaultMailDomain; }
227 
231  inline void SetDefaultMailDomain(const Aws::String& value) { m_defaultMailDomain = value; }
232 
236  inline void SetDefaultMailDomain(Aws::String&& value) { m_defaultMailDomain = std::move(value); }
237 
241  inline void SetDefaultMailDomain(const char* value) { m_defaultMailDomain.assign(value); }
242 
246  inline DescribeOrganizationResult& WithDefaultMailDomain(const Aws::String& value) { SetDefaultMailDomain(value); return *this;}
247 
251  inline DescribeOrganizationResult& WithDefaultMailDomain(Aws::String&& value) { SetDefaultMailDomain(std::move(value)); return *this;}
252 
256  inline DescribeOrganizationResult& WithDefaultMailDomain(const char* value) { SetDefaultMailDomain(value); return *this;}
257 
258 
263  inline const Aws::Utils::DateTime& GetCompletedDate() const{ return m_completedDate; }
264 
269  inline void SetCompletedDate(const Aws::Utils::DateTime& value) { m_completedDate = value; }
270 
275  inline void SetCompletedDate(Aws::Utils::DateTime&& value) { m_completedDate = std::move(value); }
276 
281  inline DescribeOrganizationResult& WithCompletedDate(const Aws::Utils::DateTime& value) { SetCompletedDate(value); return *this;}
282 
287  inline DescribeOrganizationResult& WithCompletedDate(Aws::Utils::DateTime&& value) { SetCompletedDate(std::move(value)); return *this;}
288 
289 
294  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
295 
300  inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
301 
306  inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
307 
312  inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
313 
318  inline DescribeOrganizationResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
319 
324  inline DescribeOrganizationResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
325 
330  inline DescribeOrganizationResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
331 
332 
336  inline const Aws::String& GetARN() const{ return m_aRN; }
337 
341  inline void SetARN(const Aws::String& value) { m_aRN = value; }
342 
346  inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); }
347 
351  inline void SetARN(const char* value) { m_aRN.assign(value); }
352 
356  inline DescribeOrganizationResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
357 
361  inline DescribeOrganizationResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
362 
366  inline DescribeOrganizationResult& WithARN(const char* value) { SetARN(value); return *this;}
367 
368  private:
369 
370  Aws::String m_organizationId;
371 
372  Aws::String m_alias;
373 
374  Aws::String m_state;
375 
376  Aws::String m_directoryId;
377 
378  Aws::String m_directoryType;
379 
380  Aws::String m_defaultMailDomain;
381 
382  Aws::Utils::DateTime m_completedDate;
383 
384  Aws::String m_errorMessage;
385 
386  Aws::String m_aRN;
387  };
388 
389 } // namespace Model
390 } // namespace WorkMail
391 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::WorkMail::Model::DescribeOrganizationResult::WithErrorMessage
DescribeOrganizationResult & WithErrorMessage(const char *value)
Definition: DescribeOrganizationResult.h:330
Aws::WorkMail::Model::DescribeOrganizationResult::SetARN
void SetARN(const Aws::String &value)
Definition: DescribeOrganizationResult.h:341
Aws::WorkMail::Model::DescribeOrganizationResult::operator=
DescribeOrganizationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkMail::Model::DescribeOrganizationResult::GetCompletedDate
const Aws::Utils::DateTime & GetCompletedDate() const
Definition: DescribeOrganizationResult.h:263
Aws::WorkMail::Model::DescribeOrganizationResult::WithOrganizationId
DescribeOrganizationResult & WithOrganizationId(const Aws::String &value)
Definition: DescribeOrganizationResult.h:59
Aws::WorkMail::Model::DescribeOrganizationResult::WithARN
DescribeOrganizationResult & WithARN(const Aws::String &value)
Definition: DescribeOrganizationResult.h:356
Aws::WorkMail::Model::DescribeOrganizationResult::WithState
DescribeOrganizationResult & WithState(const Aws::String &value)
Definition: DescribeOrganizationResult.h:131
Aws::WorkMail::Model::DescribeOrganizationResult::WithDefaultMailDomain
DescribeOrganizationResult & WithDefaultMailDomain(Aws::String &&value)
Definition: DescribeOrganizationResult.h:251
Aws::WorkMail::Model::DescribeOrganizationResult::WithAlias
DescribeOrganizationResult & WithAlias(const Aws::String &value)
Definition: DescribeOrganizationResult.h:95
Aws::WorkMail::Model::DescribeOrganizationResult::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: DescribeOrganizationResult.h:160
Aws::WorkMail::Model::DescribeOrganizationResult::SetState
void SetState(Aws::String &&value)
Definition: DescribeOrganizationResult.h:121
DateTime.h
Aws::WorkMail::Model::DescribeOrganizationResult::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: DescribeOrganizationResult.h:300
Aws::WorkMail::Model::DescribeOrganizationResult::WithARN
DescribeOrganizationResult & WithARN(Aws::String &&value)
Definition: DescribeOrganizationResult.h:361
Aws::WorkMail::Model::DescribeOrganizationResult::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: DescribeOrganizationResult.h:148
Aws::WorkMail::Model::DescribeOrganizationResult::GetState
const Aws::String & GetState() const
Definition: DescribeOrganizationResult.h:111
Aws::WorkMail::Model::DescribeOrganizationResult::SetARN
void SetARN(Aws::String &&value)
Definition: DescribeOrganizationResult.h:346
Aws::WorkMail::Model::DescribeOrganizationResult::SetState
void SetState(const Aws::String &value)
Definition: DescribeOrganizationResult.h:116
WorkMail_EXPORTS.h
Aws::WorkMail::Model::DescribeOrganizationResult::WithOrganizationId
DescribeOrganizationResult & WithOrganizationId(const char *value)
Definition: DescribeOrganizationResult.h:69
Aws::WorkMail::Model::DescribeOrganizationResult::GetDirectoryType
const Aws::String & GetDirectoryType() const
Definition: DescribeOrganizationResult.h:190
Aws::WorkMail::Model::DescribeOrganizationResult::SetCompletedDate
void SetCompletedDate(Aws::Utils::DateTime &&value)
Definition: DescribeOrganizationResult.h:275
Aws::WorkMail::Model::DescribeOrganizationResult::WithDirectoryType
DescribeOrganizationResult & WithDirectoryType(Aws::String &&value)
Definition: DescribeOrganizationResult.h:215
Aws::WorkMail::Model::DescribeOrganizationResult
Definition: DescribeOrganizationResult.h:29
Aws::WorkMail::Model::DescribeOrganizationResult::GetARN
const Aws::String & GetARN() const
Definition: DescribeOrganizationResult.h:336
Aws::WorkMail::Model::DescribeOrganizationResult::WithCompletedDate
DescribeOrganizationResult & WithCompletedDate(const Aws::Utils::DateTime &value)
Definition: DescribeOrganizationResult.h:281
Aws::WorkMail::Model::DescribeOrganizationResult::WithOrganizationId
DescribeOrganizationResult & WithOrganizationId(Aws::String &&value)
Definition: DescribeOrganizationResult.h:64
Aws::WorkMail::Model::DescribeOrganizationResult::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: DescribeOrganizationResult.h:312
Aws::WorkMail::Model::DescribeOrganizationResult::WithDefaultMailDomain
DescribeOrganizationResult & WithDefaultMailDomain(const Aws::String &value)
Definition: DescribeOrganizationResult.h:246
Aws::WorkMail::Model::DescribeOrganizationResult::DescribeOrganizationResult
DescribeOrganizationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkMail::Model::DescribeOrganizationResult::WithDirectoryId
DescribeOrganizationResult & WithDirectoryId(const Aws::String &value)
Definition: DescribeOrganizationResult.h:172
Aws::WorkMail::Model::DescribeOrganizationResult::SetAlias
void SetAlias(Aws::String &&value)
Definition: DescribeOrganizationResult.h:85
Aws::WorkMail::Model::DescribeOrganizationResult::SetDefaultMailDomain
void SetDefaultMailDomain(Aws::String &&value)
Definition: DescribeOrganizationResult.h:236
Aws::WorkMail::Model::DescribeOrganizationResult::SetAlias
void SetAlias(const char *value)
Definition: DescribeOrganizationResult.h:90
Aws::WorkMail::Model::DescribeOrganizationResult::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: DescribeOrganizationResult.h:166
Aws::WorkMail::Model::DescribeOrganizationResult::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: DescribeOrganizationResult.h:49
Aws::WorkMail::Model::DescribeOrganizationResult::WithErrorMessage
DescribeOrganizationResult & WithErrorMessage(Aws::String &&value)
Definition: DescribeOrganizationResult.h:324
Aws::WorkMail::Model::DescribeOrganizationResult::SetAlias
void SetAlias(const Aws::String &value)
Definition: DescribeOrganizationResult.h:80
AWSString.h
Aws::WorkMail::Model::DescribeOrganizationResult::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: DescribeOrganizationResult.h:44
Aws::WorkMail::Model::DescribeOrganizationResult::WithState
DescribeOrganizationResult & WithState(Aws::String &&value)
Definition: DescribeOrganizationResult.h:136
Aws::WorkMail::Model::DescribeOrganizationResult::WithErrorMessage
DescribeOrganizationResult & WithErrorMessage(const Aws::String &value)
Definition: DescribeOrganizationResult.h:318
Aws::WorkMail::Model::DescribeOrganizationResult::DescribeOrganizationResult
DescribeOrganizationResult()
Aws::WorkMail::Model::DescribeOrganizationResult::WithDirectoryType
DescribeOrganizationResult & WithDirectoryType(const char *value)
Definition: DescribeOrganizationResult.h:220
Aws::WorkMail::Model::DescribeOrganizationResult::GetDefaultMailDomain
const Aws::String & GetDefaultMailDomain() const
Definition: DescribeOrganizationResult.h:226
Aws::WorkMail::Model::DescribeOrganizationResult::WithDirectoryType
DescribeOrganizationResult & WithDirectoryType(const Aws::String &value)
Definition: DescribeOrganizationResult.h:210
Aws::WorkMail::Model::DescribeOrganizationResult::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: DescribeOrganizationResult.h:54
Aws::WorkMail::Model::DescribeOrganizationResult::WithDirectoryId
DescribeOrganizationResult & WithDirectoryId(Aws::String &&value)
Definition: DescribeOrganizationResult.h:178
Aws::WorkMail::Model::DescribeOrganizationResult::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: DescribeOrganizationResult.h:306
Aws::WorkMail::Model::DescribeOrganizationResult::GetAlias
const Aws::String & GetAlias() const
Definition: DescribeOrganizationResult.h:75
Aws::WorkMail::Model::DescribeOrganizationResult::SetCompletedDate
void SetCompletedDate(const Aws::Utils::DateTime &value)
Definition: DescribeOrganizationResult.h:269
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::DescribeOrganizationResult::WithCompletedDate
DescribeOrganizationResult & WithCompletedDate(Aws::Utils::DateTime &&value)
Definition: DescribeOrganizationResult.h:287
Aws::WorkMail::Model::DescribeOrganizationResult::SetDirectoryType
void SetDirectoryType(const char *value)
Definition: DescribeOrganizationResult.h:205
Aws::WorkMail::Model::DescribeOrganizationResult::SetDirectoryType
void SetDirectoryType(Aws::String &&value)
Definition: DescribeOrganizationResult.h:200
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::DescribeOrganizationResult::SetState
void SetState(const char *value)
Definition: DescribeOrganizationResult.h:126
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::DescribeOrganizationResult::SetDefaultMailDomain
void SetDefaultMailDomain(const char *value)
Definition: DescribeOrganizationResult.h:241
Aws::WorkMail::Model::DescribeOrganizationResult::WithDefaultMailDomain
DescribeOrganizationResult & WithDefaultMailDomain(const char *value)
Definition: DescribeOrganizationResult.h:256
Aws::WorkMail::Model::DescribeOrganizationResult::WithState
DescribeOrganizationResult & WithState(const char *value)
Definition: DescribeOrganizationResult.h:141
Aws::WorkMail::Model::DescribeOrganizationResult::SetARN
void SetARN(const char *value)
Definition: DescribeOrganizationResult.h:351
Aws::WorkMail::Model::DescribeOrganizationResult::WithAlias
DescribeOrganizationResult & WithAlias(Aws::String &&value)
Definition: DescribeOrganizationResult.h:100
Aws::WorkMail::Model::DescribeOrganizationResult::SetDirectoryType
void SetDirectoryType(const Aws::String &value)
Definition: DescribeOrganizationResult.h:195
Aws::WorkMail::Model::DescribeOrganizationResult::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: DescribeOrganizationResult.h:154
Aws::WorkMail::Model::DescribeOrganizationResult::WithDirectoryId
DescribeOrganizationResult & WithDirectoryId(const char *value)
Definition: DescribeOrganizationResult.h:184
Aws::WorkMail::Model::DescribeOrganizationResult::WithAlias
DescribeOrganizationResult & WithAlias(const char *value)
Definition: DescribeOrganizationResult.h:105
Aws::WorkMail::Model::DescribeOrganizationResult::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: DescribeOrganizationResult.h:39
Aws::WorkMail::Model::DescribeOrganizationResult::SetDefaultMailDomain
void SetDefaultMailDomain(const Aws::String &value)
Definition: DescribeOrganizationResult.h:231
Aws::WorkMail::Model::DescribeOrganizationResult::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: DescribeOrganizationResult.h:294
Aws::WorkMail::Model::DescribeOrganizationResult::WithARN
DescribeOrganizationResult & WithARN(const char *value)
Definition: DescribeOrganizationResult.h:366