AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationSummary.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WorkMail
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_WORKMAIL_API OrganizationSummary();
37 AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
45 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
46 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
47 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
48 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
49 inline OrganizationSummary& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
50 inline OrganizationSummary& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
51 inline OrganizationSummary& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
53
55
58 inline const Aws::String& GetAlias() const{ return m_alias; }
59 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
60 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
61 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
62 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
63 inline OrganizationSummary& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
64 inline OrganizationSummary& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
65 inline OrganizationSummary& WithAlias(const char* value) { SetAlias(value); return *this;}
67
69
72 inline const Aws::String& GetDefaultMailDomain() const{ return m_defaultMailDomain; }
73 inline bool DefaultMailDomainHasBeenSet() const { return m_defaultMailDomainHasBeenSet; }
74 inline void SetDefaultMailDomain(const Aws::String& value) { m_defaultMailDomainHasBeenSet = true; m_defaultMailDomain = value; }
75 inline void SetDefaultMailDomain(Aws::String&& value) { m_defaultMailDomainHasBeenSet = true; m_defaultMailDomain = std::move(value); }
76 inline void SetDefaultMailDomain(const char* value) { m_defaultMailDomainHasBeenSet = true; m_defaultMailDomain.assign(value); }
77 inline OrganizationSummary& WithDefaultMailDomain(const Aws::String& value) { SetDefaultMailDomain(value); return *this;}
78 inline OrganizationSummary& WithDefaultMailDomain(Aws::String&& value) { SetDefaultMailDomain(std::move(value)); return *this;}
79 inline OrganizationSummary& WithDefaultMailDomain(const char* value) { SetDefaultMailDomain(value); return *this;}
81
83
88 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
89 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
90 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
91 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
92 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
93 inline OrganizationSummary& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
94 inline OrganizationSummary& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
95 inline OrganizationSummary& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
97
99
102 inline const Aws::String& GetState() const{ return m_state; }
103 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
104 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
105 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
106 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
107 inline OrganizationSummary& WithState(const Aws::String& value) { SetState(value); return *this;}
108 inline OrganizationSummary& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
109 inline OrganizationSummary& WithState(const char* value) { SetState(value); return *this;}
111 private:
112
113 Aws::String m_organizationId;
114 bool m_organizationIdHasBeenSet = false;
115
116 Aws::String m_alias;
117 bool m_aliasHasBeenSet = false;
118
119 Aws::String m_defaultMailDomain;
120 bool m_defaultMailDomainHasBeenSet = false;
121
122 Aws::String m_errorMessage;
123 bool m_errorMessageHasBeenSet = false;
124
125 Aws::String m_state;
126 bool m_stateHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace WorkMail
131} // namespace Aws
void SetAlias(const Aws::String &value)
const Aws::String & GetOrganizationId() const
void SetErrorMessage(const Aws::String &value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationSummary & WithDefaultMailDomain(Aws::String &&value)
OrganizationSummary & WithState(Aws::String &&value)
OrganizationSummary & WithOrganizationId(const char *value)
OrganizationSummary & WithAlias(const Aws::String &value)
AWS_WORKMAIL_API OrganizationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationSummary & WithDefaultMailDomain(const char *value)
OrganizationSummary & WithState(const char *value)
OrganizationSummary & WithOrganizationId(Aws::String &&value)
const Aws::String & GetDefaultMailDomain() const
OrganizationSummary & WithState(const Aws::String &value)
OrganizationSummary & WithErrorMessage(Aws::String &&value)
OrganizationSummary & WithAlias(Aws::String &&value)
OrganizationSummary & WithErrorMessage(const char *value)
OrganizationSummary & WithOrganizationId(const Aws::String &value)
OrganizationSummary & WithErrorMessage(const Aws::String &value)
OrganizationSummary & WithDefaultMailDomain(const Aws::String &value)
void SetDefaultMailDomain(const Aws::String &value)
OrganizationSummary & WithAlias(const char *value)
AWS_WORKMAIL_API OrganizationSummary(Aws::Utils::Json::JsonView jsonValue)
void SetOrganizationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue