AWS SDK for C++  1.9.108
AWS SDK for C++
Domain.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 
38  {
39  public:
40  Domain();
44 
45 
49  inline const Aws::String& GetDomainName() const{ return m_domainName; }
50 
54  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
55 
59  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
60 
64  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
65 
69  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
70 
74  inline Domain& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
75 
79  inline Domain& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
80 
84  inline Domain& WithDomainName(const char* value) { SetDomainName(value); return *this;}
85 
86 
91  inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
92 
97  inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
98 
103  inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
104 
109  inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
110 
115  inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
116 
121  inline Domain& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
122 
127  inline Domain& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
128 
133  inline Domain& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
134 
135  private:
136 
137  Aws::String m_domainName;
138  bool m_domainNameHasBeenSet;
139 
140  Aws::String m_hostedZoneId;
141  bool m_hostedZoneIdHasBeenSet;
142  };
143 
144 } // namespace Model
145 } // namespace WorkMail
146 } // namespace Aws
Aws::WorkMail::Model::Domain
Definition: Domain.h:38
Aws::WorkMail::Model::Domain::SetHostedZoneId
void SetHostedZoneId(const Aws::String &value)
Definition: Domain.h:103
Aws::WorkMail::Model::Domain::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WorkMail::Model::Domain::WithHostedZoneId
Domain & WithHostedZoneId(Aws::String &&value)
Definition: Domain.h:127
Aws::WorkMail::Model::Domain::GetHostedZoneId
const Aws::String & GetHostedZoneId() const
Definition: Domain.h:91
Aws::WorkMail::Model::Domain::SetDomainName
void SetDomainName(const char *value)
Definition: Domain.h:69
WorkMail_EXPORTS.h
Aws::WorkMail::Model::Domain::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: Domain.h:59
Aws::WorkMail::Model::Domain::WithDomainName
Domain & WithDomainName(const char *value)
Definition: Domain.h:84
Aws::WorkMail::Model::Domain::WithDomainName
Domain & WithDomainName(Aws::String &&value)
Definition: Domain.h:79
Aws::WorkMail::Model::Domain::Domain
Domain(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::Domain::GetDomainName
const Aws::String & GetDomainName() const
Definition: Domain.h:49
Aws::WorkMail::Model::Domain::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: Domain.h:54
Aws::WorkMail::Model::Domain::Domain
Domain()
Aws::WorkMail::Model::Domain::operator=
Domain & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::WorkMail::Model::Domain::WithHostedZoneId
Domain & WithHostedZoneId(const char *value)
Definition: Domain.h:133
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WorkMail::Model::Domain::HostedZoneIdHasBeenSet
bool HostedZoneIdHasBeenSet() const
Definition: Domain.h:97
Aws::WorkMail::Model::Domain::WithHostedZoneId
Domain & WithHostedZoneId(const Aws::String &value)
Definition: Domain.h:121
Aws::WorkMail::Model::Domain::SetHostedZoneId
void SetHostedZoneId(const char *value)
Definition: Domain.h:115
Aws
Definition: AccessManagementClient.h:15
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::Domain::WithDomainName
Domain & WithDomainName(const Aws::String &value)
Definition: Domain.h:74
Aws::WorkMail::Model::Domain::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: Domain.h:64
Aws::WorkMail::Model::Domain::SetHostedZoneId
void SetHostedZoneId(Aws::String &&value)
Definition: Domain.h:109