AWS SDK for C++  1.9.109
AWS SDK for C++
OrganizationSummary.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace WorkMail
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
44 
48  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
49 
53  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
54 
58  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
59 
63  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
64 
68  inline OrganizationSummary& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
69 
73  inline OrganizationSummary& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
74 
78  inline OrganizationSummary& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
79 
80 
84  inline const Aws::String& GetAlias() const{ return m_alias; }
85 
89  inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
90 
94  inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
95 
99  inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
100 
104  inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
105 
109  inline OrganizationSummary& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
110 
114  inline OrganizationSummary& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
115 
119  inline OrganizationSummary& WithAlias(const char* value) { SetAlias(value); return *this;}
120 
121 
125  inline const Aws::String& GetDefaultMailDomain() const{ return m_defaultMailDomain; }
126 
130  inline bool DefaultMailDomainHasBeenSet() const { return m_defaultMailDomainHasBeenSet; }
131 
135  inline void SetDefaultMailDomain(const Aws::String& value) { m_defaultMailDomainHasBeenSet = true; m_defaultMailDomain = value; }
136 
140  inline void SetDefaultMailDomain(Aws::String&& value) { m_defaultMailDomainHasBeenSet = true; m_defaultMailDomain = std::move(value); }
141 
145  inline void SetDefaultMailDomain(const char* value) { m_defaultMailDomainHasBeenSet = true; m_defaultMailDomain.assign(value); }
146 
150  inline OrganizationSummary& WithDefaultMailDomain(const Aws::String& value) { SetDefaultMailDomain(value); return *this;}
151 
155  inline OrganizationSummary& WithDefaultMailDomain(Aws::String&& value) { SetDefaultMailDomain(std::move(value)); return *this;}
156 
160  inline OrganizationSummary& WithDefaultMailDomain(const char* value) { SetDefaultMailDomain(value); return *this;}
161 
162 
168  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
169 
175  inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
176 
182  inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
183 
189  inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
190 
196  inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
197 
203  inline OrganizationSummary& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
204 
210  inline OrganizationSummary& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
211 
217  inline OrganizationSummary& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
218 
219 
223  inline const Aws::String& GetState() const{ return m_state; }
224 
228  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
229 
233  inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
234 
238  inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
239 
243  inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
244 
248  inline OrganizationSummary& WithState(const Aws::String& value) { SetState(value); return *this;}
249 
253  inline OrganizationSummary& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
254 
258  inline OrganizationSummary& WithState(const char* value) { SetState(value); return *this;}
259 
260  private:
261 
262  Aws::String m_organizationId;
263  bool m_organizationIdHasBeenSet;
264 
265  Aws::String m_alias;
266  bool m_aliasHasBeenSet;
267 
268  Aws::String m_defaultMailDomain;
269  bool m_defaultMailDomainHasBeenSet;
270 
271  Aws::String m_errorMessage;
272  bool m_errorMessageHasBeenSet;
273 
274  Aws::String m_state;
275  bool m_stateHasBeenSet;
276  };
277 
278 } // namespace Model
279 } // namespace WorkMail
280 } // namespace Aws
Aws::WorkMail::Model::OrganizationSummary::WithAlias
OrganizationSummary & WithAlias(Aws::String &&value)
Definition: OrganizationSummary.h:114
Aws::WorkMail::Model::OrganizationSummary::WithDefaultMailDomain
OrganizationSummary & WithDefaultMailDomain(const char *value)
Definition: OrganizationSummary.h:160
Aws::WorkMail::Model::OrganizationSummary::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: OrganizationSummary.h:53
Aws::WorkMail::Model::OrganizationSummary::WithOrganizationId
OrganizationSummary & WithOrganizationId(const Aws::String &value)
Definition: OrganizationSummary.h:68
Aws::WorkMail::Model::OrganizationSummary::WithOrganizationId
OrganizationSummary & WithOrganizationId(const char *value)
Definition: OrganizationSummary.h:78
Aws::WorkMail::Model::OrganizationSummary::SetDefaultMailDomain
void SetDefaultMailDomain(const Aws::String &value)
Definition: OrganizationSummary.h:135
Aws::WorkMail::Model::OrganizationSummary::SetAlias
void SetAlias(Aws::String &&value)
Definition: OrganizationSummary.h:99
Aws::WorkMail::Model::OrganizationSummary::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: OrganizationSummary.h:63
Aws::WorkMail::Model::OrganizationSummary::SetAlias
void SetAlias(const char *value)
Definition: OrganizationSummary.h:104
Aws::WorkMail::Model::OrganizationSummary::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: OrganizationSummary.h:175
Aws::WorkMail::Model::OrganizationSummary::GetAlias
const Aws::String & GetAlias() const
Definition: OrganizationSummary.h:84
Aws::WorkMail::Model::OrganizationSummary::WithErrorMessage
OrganizationSummary & WithErrorMessage(const Aws::String &value)
Definition: OrganizationSummary.h:203
Aws::WorkMail::Model::OrganizationSummary::WithErrorMessage
OrganizationSummary & WithErrorMessage(const char *value)
Definition: OrganizationSummary.h:217
Aws::WorkMail::Model::OrganizationSummary::SetAlias
void SetAlias(const Aws::String &value)
Definition: OrganizationSummary.h:94
WorkMail_EXPORTS.h
Aws::WorkMail::Model::OrganizationSummary::SetState
void SetState(const char *value)
Definition: OrganizationSummary.h:243
Aws::WorkMail::Model::OrganizationSummary::WithOrganizationId
OrganizationSummary & WithOrganizationId(Aws::String &&value)
Definition: OrganizationSummary.h:73
Aws::WorkMail::Model::OrganizationSummary::operator=
OrganizationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::OrganizationSummary::WithDefaultMailDomain
OrganizationSummary & WithDefaultMailDomain(Aws::String &&value)
Definition: OrganizationSummary.h:155
Aws::WorkMail::Model::OrganizationSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WorkMail::Model::OrganizationSummary::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: OrganizationSummary.h:43
Aws::WorkMail::Model::OrganizationSummary::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: OrganizationSummary.h:58
Aws::WorkMail::Model::OrganizationSummary::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: OrganizationSummary.h:189
Aws::WorkMail::Model::OrganizationSummary::DefaultMailDomainHasBeenSet
bool DefaultMailDomainHasBeenSet() const
Definition: OrganizationSummary.h:130
Aws::WorkMail::Model::OrganizationSummary::StateHasBeenSet
bool StateHasBeenSet() const
Definition: OrganizationSummary.h:228
Aws::WorkMail::Model::OrganizationSummary::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: OrganizationSummary.h:196
Aws::WorkMail::Model::OrganizationSummary::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: OrganizationSummary.h:168
Aws::WorkMail::Model::OrganizationSummary::OrganizationSummary
OrganizationSummary()
Aws::WorkMail::Model::OrganizationSummary::SetState
void SetState(Aws::String &&value)
Definition: OrganizationSummary.h:238
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::WorkMail::Model::OrganizationSummary::OrganizationSummary
OrganizationSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::OrganizationSummary::GetDefaultMailDomain
const Aws::String & GetDefaultMailDomain() const
Definition: OrganizationSummary.h:125
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WorkMail::Model::OrganizationSummary::SetDefaultMailDomain
void SetDefaultMailDomain(Aws::String &&value)
Definition: OrganizationSummary.h:140
Aws::WorkMail::Model::OrganizationSummary::GetState
const Aws::String & GetState() const
Definition: OrganizationSummary.h:223
Aws::WorkMail::Model::OrganizationSummary::WithState
OrganizationSummary & WithState(const char *value)
Definition: OrganizationSummary.h:258
Aws::WorkMail::Model::OrganizationSummary::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: OrganizationSummary.h:182
Aws::WorkMail::Model::OrganizationSummary::WithState
OrganizationSummary & WithState(const Aws::String &value)
Definition: OrganizationSummary.h:248
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::OrganizationSummary::WithDefaultMailDomain
OrganizationSummary & WithDefaultMailDomain(const Aws::String &value)
Definition: OrganizationSummary.h:150
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::OrganizationSummary::SetState
void SetState(const Aws::String &value)
Definition: OrganizationSummary.h:233
Aws::WorkMail::Model::OrganizationSummary
Definition: OrganizationSummary.h:32
Aws::WorkMail::Model::OrganizationSummary::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: OrganizationSummary.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::OrganizationSummary::WithAlias
OrganizationSummary & WithAlias(const char *value)
Definition: OrganizationSummary.h:119
Aws::WorkMail::Model::OrganizationSummary::AliasHasBeenSet
bool AliasHasBeenSet() const
Definition: OrganizationSummary.h:89
Aws::WorkMail::Model::OrganizationSummary::WithErrorMessage
OrganizationSummary & WithErrorMessage(Aws::String &&value)
Definition: OrganizationSummary.h:210
Aws::WorkMail::Model::OrganizationSummary::SetDefaultMailDomain
void SetDefaultMailDomain(const char *value)
Definition: OrganizationSummary.h:145
Aws::WorkMail::Model::OrganizationSummary::WithAlias
OrganizationSummary & WithAlias(const Aws::String &value)
Definition: OrganizationSummary.h:109
Aws::WorkMail::Model::OrganizationSummary::WithState
OrganizationSummary & WithState(Aws::String &&value)
Definition: OrganizationSummary.h:253