AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeOrganizationResult.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace WorkMail
25{
26namespace Model
27{
29 {
30 public:
31 AWS_WORKMAIL_API DescribeOrganizationResult();
34
35
37
40 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
41 inline void SetOrganizationId(const Aws::String& value) { m_organizationId = value; }
42 inline void SetOrganizationId(Aws::String&& value) { m_organizationId = std::move(value); }
43 inline void SetOrganizationId(const char* value) { m_organizationId.assign(value); }
44 inline DescribeOrganizationResult& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
45 inline DescribeOrganizationResult& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
46 inline DescribeOrganizationResult& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
48
50
53 inline const Aws::String& GetAlias() const{ return m_alias; }
54 inline void SetAlias(const Aws::String& value) { m_alias = value; }
55 inline void SetAlias(Aws::String&& value) { m_alias = std::move(value); }
56 inline void SetAlias(const char* value) { m_alias.assign(value); }
57 inline DescribeOrganizationResult& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
58 inline DescribeOrganizationResult& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
59 inline DescribeOrganizationResult& WithAlias(const char* value) { SetAlias(value); return *this;}
61
63
66 inline const Aws::String& GetState() const{ return m_state; }
67 inline void SetState(const Aws::String& value) { m_state = value; }
68 inline void SetState(Aws::String&& value) { m_state = std::move(value); }
69 inline void SetState(const char* value) { m_state.assign(value); }
70 inline DescribeOrganizationResult& WithState(const Aws::String& value) { SetState(value); return *this;}
71 inline DescribeOrganizationResult& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
72 inline DescribeOrganizationResult& WithState(const char* value) { SetState(value); return *this;}
74
76
80 inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
81 inline void SetDirectoryId(const Aws::String& value) { m_directoryId = value; }
82 inline void SetDirectoryId(Aws::String&& value) { m_directoryId = std::move(value); }
83 inline void SetDirectoryId(const char* value) { m_directoryId.assign(value); }
84 inline DescribeOrganizationResult& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
85 inline DescribeOrganizationResult& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
86 inline DescribeOrganizationResult& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
88
90
93 inline const Aws::String& GetDirectoryType() const{ return m_directoryType; }
94 inline void SetDirectoryType(const Aws::String& value) { m_directoryType = value; }
95 inline void SetDirectoryType(Aws::String&& value) { m_directoryType = std::move(value); }
96 inline void SetDirectoryType(const char* value) { m_directoryType.assign(value); }
97 inline DescribeOrganizationResult& WithDirectoryType(const Aws::String& value) { SetDirectoryType(value); return *this;}
98 inline DescribeOrganizationResult& WithDirectoryType(Aws::String&& value) { SetDirectoryType(std::move(value)); return *this;}
99 inline DescribeOrganizationResult& WithDirectoryType(const char* value) { SetDirectoryType(value); return *this;}
101
103
106 inline const Aws::String& GetDefaultMailDomain() const{ return m_defaultMailDomain; }
107 inline void SetDefaultMailDomain(const Aws::String& value) { m_defaultMailDomain = value; }
108 inline void SetDefaultMailDomain(Aws::String&& value) { m_defaultMailDomain = std::move(value); }
109 inline void SetDefaultMailDomain(const char* value) { m_defaultMailDomain.assign(value); }
111 inline DescribeOrganizationResult& WithDefaultMailDomain(Aws::String&& value) { SetDefaultMailDomain(std::move(value)); return *this;}
112 inline DescribeOrganizationResult& WithDefaultMailDomain(const char* value) { SetDefaultMailDomain(value); return *this;}
114
116
120 inline const Aws::Utils::DateTime& GetCompletedDate() const{ return m_completedDate; }
121 inline void SetCompletedDate(const Aws::Utils::DateTime& value) { m_completedDate = value; }
122 inline void SetCompletedDate(Aws::Utils::DateTime&& value) { m_completedDate = std::move(value); }
124 inline DescribeOrganizationResult& WithCompletedDate(Aws::Utils::DateTime&& value) { SetCompletedDate(std::move(value)); return *this;}
126
128
132 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
133 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
134 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
135 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
136 inline DescribeOrganizationResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
137 inline DescribeOrganizationResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
138 inline DescribeOrganizationResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
140
142
145 inline const Aws::String& GetARN() const{ return m_aRN; }
146 inline void SetARN(const Aws::String& value) { m_aRN = value; }
147 inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); }
148 inline void SetARN(const char* value) { m_aRN.assign(value); }
149 inline DescribeOrganizationResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
150 inline DescribeOrganizationResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
151 inline DescribeOrganizationResult& WithARN(const char* value) { SetARN(value); return *this;}
153
155
159 inline const Aws::String& GetMigrationAdmin() const{ return m_migrationAdmin; }
160 inline void SetMigrationAdmin(const Aws::String& value) { m_migrationAdmin = value; }
161 inline void SetMigrationAdmin(Aws::String&& value) { m_migrationAdmin = std::move(value); }
162 inline void SetMigrationAdmin(const char* value) { m_migrationAdmin.assign(value); }
163 inline DescribeOrganizationResult& WithMigrationAdmin(const Aws::String& value) { SetMigrationAdmin(value); return *this;}
164 inline DescribeOrganizationResult& WithMigrationAdmin(Aws::String&& value) { SetMigrationAdmin(std::move(value)); return *this;}
165 inline DescribeOrganizationResult& WithMigrationAdmin(const char* value) { SetMigrationAdmin(value); return *this;}
167
169
172 inline bool GetInteroperabilityEnabled() const{ return m_interoperabilityEnabled; }
173 inline void SetInteroperabilityEnabled(bool value) { m_interoperabilityEnabled = value; }
176
178
179 inline const Aws::String& GetRequestId() const{ return m_requestId; }
180 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
181 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
182 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
183 inline DescribeOrganizationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
184 inline DescribeOrganizationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
185 inline DescribeOrganizationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
187 private:
188
189 Aws::String m_organizationId;
190
191 Aws::String m_alias;
192
193 Aws::String m_state;
194
195 Aws::String m_directoryId;
196
197 Aws::String m_directoryType;
198
199 Aws::String m_defaultMailDomain;
200
201 Aws::Utils::DateTime m_completedDate;
202
203 Aws::String m_errorMessage;
204
205 Aws::String m_aRN;
206
207 Aws::String m_migrationAdmin;
208
209 bool m_interoperabilityEnabled;
210
211 Aws::String m_requestId;
212 };
213
214} // namespace Model
215} // namespace WorkMail
216} // namespace Aws
DescribeOrganizationResult & WithRequestId(Aws::String &&value)
DescribeOrganizationResult & WithAlias(const Aws::String &value)
DescribeOrganizationResult & WithDirectoryId(const char *value)
DescribeOrganizationResult & WithDirectoryId(const Aws::String &value)
AWS_WORKMAIL_API DescribeOrganizationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOrganizationResult & WithARN(const Aws::String &value)
DescribeOrganizationResult & WithOrganizationId(Aws::String &&value)
DescribeOrganizationResult & WithErrorMessage(const Aws::String &value)
DescribeOrganizationResult & WithCompletedDate(const Aws::Utils::DateTime &value)
DescribeOrganizationResult & WithARN(const char *value)
DescribeOrganizationResult & WithDirectoryId(Aws::String &&value)
DescribeOrganizationResult & WithRequestId(const Aws::String &value)
DescribeOrganizationResult & WithRequestId(const char *value)
DescribeOrganizationResult & WithAlias(const char *value)
DescribeOrganizationResult & WithErrorMessage(Aws::String &&value)
DescribeOrganizationResult & WithDirectoryType(Aws::String &&value)
DescribeOrganizationResult & WithDefaultMailDomain(const char *value)
AWS_WORKMAIL_API DescribeOrganizationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOrganizationResult & WithDefaultMailDomain(Aws::String &&value)
DescribeOrganizationResult & WithARN(Aws::String &&value)
DescribeOrganizationResult & WithOrganizationId(const char *value)
DescribeOrganizationResult & WithMigrationAdmin(const Aws::String &value)
DescribeOrganizationResult & WithDirectoryType(const Aws::String &value)
DescribeOrganizationResult & WithMigrationAdmin(Aws::String &&value)
DescribeOrganizationResult & WithState(const char *value)
DescribeOrganizationResult & WithInteroperabilityEnabled(bool value)
DescribeOrganizationResult & WithDirectoryType(const char *value)
DescribeOrganizationResult & WithState(Aws::String &&value)
void SetCompletedDate(const Aws::Utils::DateTime &value)
DescribeOrganizationResult & WithState(const Aws::String &value)
DescribeOrganizationResult & WithMigrationAdmin(const char *value)
DescribeOrganizationResult & WithDefaultMailDomain(const Aws::String &value)
DescribeOrganizationResult & WithAlias(Aws::String &&value)
DescribeOrganizationResult & WithErrorMessage(const char *value)
DescribeOrganizationResult & WithCompletedDate(Aws::Utils::DateTime &&value)
DescribeOrganizationResult & WithOrganizationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue