AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainSummary.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Route53Domains
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ROUTE53DOMAINS_API DomainSummary();
36 AWS_ROUTE53DOMAINS_API DomainSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROUTE53DOMAINS_API DomainSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDomainName() const{ return m_domainName; }
46 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
47 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
48 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
49 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
50 inline DomainSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
51 inline DomainSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
52 inline DomainSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
54
56
59 inline bool GetAutoRenew() const{ return m_autoRenew; }
60 inline bool AutoRenewHasBeenSet() const { return m_autoRenewHasBeenSet; }
61 inline void SetAutoRenew(bool value) { m_autoRenewHasBeenSet = true; m_autoRenew = value; }
62 inline DomainSummary& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;}
64
66
70 inline bool GetTransferLock() const{ return m_transferLock; }
71 inline bool TransferLockHasBeenSet() const { return m_transferLockHasBeenSet; }
72 inline void SetTransferLock(bool value) { m_transferLockHasBeenSet = true; m_transferLock = value; }
73 inline DomainSummary& WithTransferLock(bool value) { SetTransferLock(value); return *this;}
75
77
81 inline const Aws::Utils::DateTime& GetExpiry() const{ return m_expiry; }
82 inline bool ExpiryHasBeenSet() const { return m_expiryHasBeenSet; }
83 inline void SetExpiry(const Aws::Utils::DateTime& value) { m_expiryHasBeenSet = true; m_expiry = value; }
84 inline void SetExpiry(Aws::Utils::DateTime&& value) { m_expiryHasBeenSet = true; m_expiry = std::move(value); }
85 inline DomainSummary& WithExpiry(const Aws::Utils::DateTime& value) { SetExpiry(value); return *this;}
86 inline DomainSummary& WithExpiry(Aws::Utils::DateTime&& value) { SetExpiry(std::move(value)); return *this;}
88 private:
89
90 Aws::String m_domainName;
91 bool m_domainNameHasBeenSet = false;
92
93 bool m_autoRenew;
94 bool m_autoRenewHasBeenSet = false;
95
96 bool m_transferLock;
97 bool m_transferLockHasBeenSet = false;
98
99 Aws::Utils::DateTime m_expiry;
100 bool m_expiryHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Route53Domains
105} // namespace Aws
const Aws::Utils::DateTime & GetExpiry() const
void SetDomainName(Aws::String &&value)
const Aws::String & GetDomainName() const
DomainSummary & WithAutoRenew(bool value)
DomainSummary & WithDomainName(const Aws::String &value)
AWS_ROUTE53DOMAINS_API DomainSummary(Aws::Utils::Json::JsonView jsonValue)
DomainSummary & WithDomainName(Aws::String &&value)
AWS_ROUTE53DOMAINS_API DomainSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainSummary & WithExpiry(const Aws::Utils::DateTime &value)
DomainSummary & WithExpiry(Aws::Utils::DateTime &&value)
DomainSummary & WithTransferLock(bool value)
void SetExpiry(const Aws::Utils::DateTime &value)
void SetExpiry(Aws::Utils::DateTime &&value)
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53DOMAINS_API DomainSummary()
DomainSummary & WithDomainName(const char *value)
void SetDomainName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue