AWS SDK for C++  1.9.159
AWS SDK for C++
MailDomainSummary.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& GetDomainName() const{ return m_domainName; }
44 
48  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
49 
53  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
54 
58  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
59 
63  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
64 
68  inline MailDomainSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
69 
73  inline MailDomainSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
74 
78  inline MailDomainSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
79 
80 
84  inline bool GetDefaultDomain() const{ return m_defaultDomain; }
85 
89  inline bool DefaultDomainHasBeenSet() const { return m_defaultDomainHasBeenSet; }
90 
94  inline void SetDefaultDomain(bool value) { m_defaultDomainHasBeenSet = true; m_defaultDomain = value; }
95 
99  inline MailDomainSummary& WithDefaultDomain(bool value) { SetDefaultDomain(value); return *this;}
100 
101  private:
102 
103  Aws::String m_domainName;
104  bool m_domainNameHasBeenSet;
105 
106  bool m_defaultDomain;
107  bool m_defaultDomainHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace WorkMail
112 } // namespace Aws
Aws::WorkMail::Model::MailDomainSummary::DefaultDomainHasBeenSet
bool DefaultDomainHasBeenSet() const
Definition: MailDomainSummary.h:89
Aws::WorkMail::Model::MailDomainSummary::operator=
MailDomainSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::MailDomainSummary::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: MailDomainSummary.h:48
Aws::WorkMail::Model::MailDomainSummary::SetDefaultDomain
void SetDefaultDomain(bool value)
Definition: MailDomainSummary.h:94
WorkMail_EXPORTS.h
Aws::WorkMail::Model::MailDomainSummary::MailDomainSummary
MailDomainSummary()
Aws::WorkMail::Model::MailDomainSummary::GetDefaultDomain
bool GetDefaultDomain() const
Definition: MailDomainSummary.h:84
Aws::WorkMail::Model::MailDomainSummary::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: MailDomainSummary.h:58
Aws::WorkMail::Model::MailDomainSummary::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: MailDomainSummary.h:53
Aws::WorkMail::Model::MailDomainSummary::GetDomainName
const Aws::String & GetDomainName() const
Definition: MailDomainSummary.h:43
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::WorkMail::Model::MailDomainSummary::WithDomainName
MailDomainSummary & WithDomainName(Aws::String &&value)
Definition: MailDomainSummary.h:73
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WorkMail::Model::MailDomainSummary::SetDomainName
void SetDomainName(const char *value)
Definition: MailDomainSummary.h:63
Aws::WorkMail::Model::MailDomainSummary::MailDomainSummary
MailDomainSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::MailDomainSummary::WithDefaultDomain
MailDomainSummary & WithDefaultDomain(bool value)
Definition: MailDomainSummary.h:99
Aws::WorkMail::Model::MailDomainSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::MailDomainSummary
Definition: MailDomainSummary.h:32
Aws::WorkMail::Model::MailDomainSummary::WithDomainName
MailDomainSummary & WithDomainName(const char *value)
Definition: MailDomainSummary.h:78
Aws::WorkMail::Model::MailDomainSummary::WithDomainName
MailDomainSummary & WithDomainName(const Aws::String &value)
Definition: MailDomainSummary.h:68