AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename DomainNameT = Aws::String>
48 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
49 template<typename DomainNameT = Aws::String>
50 DomainSummary& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
52
54
57 inline bool GetAutoRenew() const { return m_autoRenew; }
58 inline bool AutoRenewHasBeenSet() const { return m_autoRenewHasBeenSet; }
59 inline void SetAutoRenew(bool value) { m_autoRenewHasBeenSet = true; m_autoRenew = value; }
60 inline DomainSummary& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;}
62
64
68 inline bool GetTransferLock() const { return m_transferLock; }
69 inline bool TransferLockHasBeenSet() const { return m_transferLockHasBeenSet; }
70 inline void SetTransferLock(bool value) { m_transferLockHasBeenSet = true; m_transferLock = value; }
71 inline DomainSummary& WithTransferLock(bool value) { SetTransferLock(value); return *this;}
73
75
79 inline const Aws::Utils::DateTime& GetExpiry() const { return m_expiry; }
80 inline bool ExpiryHasBeenSet() const { return m_expiryHasBeenSet; }
81 template<typename ExpiryT = Aws::Utils::DateTime>
82 void SetExpiry(ExpiryT&& value) { m_expiryHasBeenSet = true; m_expiry = std::forward<ExpiryT>(value); }
83 template<typename ExpiryT = Aws::Utils::DateTime>
84 DomainSummary& WithExpiry(ExpiryT&& value) { SetExpiry(std::forward<ExpiryT>(value)); return *this;}
86 private:
87
88 Aws::String m_domainName;
89 bool m_domainNameHasBeenSet = false;
90
91 bool m_autoRenew{false};
92 bool m_autoRenewHasBeenSet = false;
93
94 bool m_transferLock{false};
95 bool m_transferLockHasBeenSet = false;
96
97 Aws::Utils::DateTime m_expiry{};
98 bool m_expiryHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Route53Domains
103} // namespace Aws
const Aws::Utils::DateTime & GetExpiry() const
const Aws::String & GetDomainName() const
DomainSummary & WithAutoRenew(bool value)
AWS_ROUTE53DOMAINS_API DomainSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDomainName(DomainNameT &&value)
AWS_ROUTE53DOMAINS_API DomainSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainSummary & WithTransferLock(bool value)
DomainSummary & WithExpiry(ExpiryT &&value)
DomainSummary & WithDomainName(DomainNameT &&value)
AWS_ROUTE53DOMAINS_API DomainSummary()=default
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue