AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Domain.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
37 class Domain
38 {
39 public:
40 AWS_WORKMAIL_API Domain();
41 AWS_WORKMAIL_API Domain(Aws::Utils::Json::JsonView jsonValue);
42 AWS_WORKMAIL_API Domain& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetDomainName() const{ return m_domainName; }
51 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
52 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
53 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
54 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
55 inline Domain& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
56 inline Domain& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
57 inline Domain& WithDomainName(const char* value) { SetDomainName(value); return *this;}
59
61
65 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
66 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
67 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
68 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
69 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
70 inline Domain& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
71 inline Domain& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
72 inline Domain& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
74 private:
75
76 Aws::String m_domainName;
77 bool m_domainNameHasBeenSet = false;
78
79 Aws::String m_hostedZoneId;
80 bool m_hostedZoneIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace WorkMail
85} // namespace Aws
void SetDomainName(const Aws::String &value)
Definition Domain.h:52
Domain & WithHostedZoneId(const Aws::String &value)
Definition Domain.h:70
void SetDomainName(Aws::String &&value)
Definition Domain.h:53
void SetHostedZoneId(Aws::String &&value)
Definition Domain.h:68
const Aws::String & GetHostedZoneId() const
Definition Domain.h:65
Domain & WithDomainName(Aws::String &&value)
Definition Domain.h:56
Domain & WithHostedZoneId(const char *value)
Definition Domain.h:72
void SetDomainName(const char *value)
Definition Domain.h:54
Domain & WithDomainName(const Aws::String &value)
Definition Domain.h:55
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool DomainNameHasBeenSet() const
Definition Domain.h:51
void SetHostedZoneId(const Aws::String &value)
Definition Domain.h:67
AWS_WORKMAIL_API Domain()
Domain & WithHostedZoneId(Aws::String &&value)
Definition Domain.h:71
Domain & WithDomainName(const char *value)
Definition Domain.h:57
void SetHostedZoneId(const char *value)
Definition Domain.h:69
const Aws::String & GetDomainName() const
Definition Domain.h:50
AWS_WORKMAIL_API Domain & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HostedZoneIdHasBeenSet() const
Definition Domain.h:66
AWS_WORKMAIL_API Domain(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue