AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainPrice.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53domains/model/PriceWithCurrency.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
34 {
35 public:
36 AWS_ROUTE53DOMAINS_API DomainPrice();
37 AWS_ROUTE53DOMAINS_API DomainPrice(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53DOMAINS_API DomainPrice& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline DomainPrice& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline DomainPrice& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline DomainPrice& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const PriceWithCurrency& GetRegistrationPrice() const{ return m_registrationPrice; }
61 inline bool RegistrationPriceHasBeenSet() const { return m_registrationPriceHasBeenSet; }
62 inline void SetRegistrationPrice(const PriceWithCurrency& value) { m_registrationPriceHasBeenSet = true; m_registrationPrice = value; }
63 inline void SetRegistrationPrice(PriceWithCurrency&& value) { m_registrationPriceHasBeenSet = true; m_registrationPrice = std::move(value); }
64 inline DomainPrice& WithRegistrationPrice(const PriceWithCurrency& value) { SetRegistrationPrice(value); return *this;}
65 inline DomainPrice& WithRegistrationPrice(PriceWithCurrency&& value) { SetRegistrationPrice(std::move(value)); return *this;}
67
69
72 inline const PriceWithCurrency& GetTransferPrice() const{ return m_transferPrice; }
73 inline bool TransferPriceHasBeenSet() const { return m_transferPriceHasBeenSet; }
74 inline void SetTransferPrice(const PriceWithCurrency& value) { m_transferPriceHasBeenSet = true; m_transferPrice = value; }
75 inline void SetTransferPrice(PriceWithCurrency&& value) { m_transferPriceHasBeenSet = true; m_transferPrice = std::move(value); }
76 inline DomainPrice& WithTransferPrice(const PriceWithCurrency& value) { SetTransferPrice(value); return *this;}
77 inline DomainPrice& WithTransferPrice(PriceWithCurrency&& value) { SetTransferPrice(std::move(value)); return *this;}
79
81
84 inline const PriceWithCurrency& GetRenewalPrice() const{ return m_renewalPrice; }
85 inline bool RenewalPriceHasBeenSet() const { return m_renewalPriceHasBeenSet; }
86 inline void SetRenewalPrice(const PriceWithCurrency& value) { m_renewalPriceHasBeenSet = true; m_renewalPrice = value; }
87 inline void SetRenewalPrice(PriceWithCurrency&& value) { m_renewalPriceHasBeenSet = true; m_renewalPrice = std::move(value); }
88 inline DomainPrice& WithRenewalPrice(const PriceWithCurrency& value) { SetRenewalPrice(value); return *this;}
89 inline DomainPrice& WithRenewalPrice(PriceWithCurrency&& value) { SetRenewalPrice(std::move(value)); return *this;}
91
93
96 inline const PriceWithCurrency& GetChangeOwnershipPrice() const{ return m_changeOwnershipPrice; }
97 inline bool ChangeOwnershipPriceHasBeenSet() const { return m_changeOwnershipPriceHasBeenSet; }
98 inline void SetChangeOwnershipPrice(const PriceWithCurrency& value) { m_changeOwnershipPriceHasBeenSet = true; m_changeOwnershipPrice = value; }
99 inline void SetChangeOwnershipPrice(PriceWithCurrency&& value) { m_changeOwnershipPriceHasBeenSet = true; m_changeOwnershipPrice = std::move(value); }
101 inline DomainPrice& WithChangeOwnershipPrice(PriceWithCurrency&& value) { SetChangeOwnershipPrice(std::move(value)); return *this;}
103
105
108 inline const PriceWithCurrency& GetRestorationPrice() const{ return m_restorationPrice; }
109 inline bool RestorationPriceHasBeenSet() const { return m_restorationPriceHasBeenSet; }
110 inline void SetRestorationPrice(const PriceWithCurrency& value) { m_restorationPriceHasBeenSet = true; m_restorationPrice = value; }
111 inline void SetRestorationPrice(PriceWithCurrency&& value) { m_restorationPriceHasBeenSet = true; m_restorationPrice = std::move(value); }
112 inline DomainPrice& WithRestorationPrice(const PriceWithCurrency& value) { SetRestorationPrice(value); return *this;}
113 inline DomainPrice& WithRestorationPrice(PriceWithCurrency&& value) { SetRestorationPrice(std::move(value)); return *this;}
115 private:
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 PriceWithCurrency m_registrationPrice;
121 bool m_registrationPriceHasBeenSet = false;
122
123 PriceWithCurrency m_transferPrice;
124 bool m_transferPriceHasBeenSet = false;
125
126 PriceWithCurrency m_renewalPrice;
127 bool m_renewalPriceHasBeenSet = false;
128
129 PriceWithCurrency m_changeOwnershipPrice;
130 bool m_changeOwnershipPriceHasBeenSet = false;
131
132 PriceWithCurrency m_restorationPrice;
133 bool m_restorationPriceHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Route53Domains
138} // namespace Aws
DomainPrice & WithTransferPrice(const PriceWithCurrency &value)
Definition DomainPrice.h:76
void SetTransferPrice(PriceWithCurrency &&value)
Definition DomainPrice.h:75
void SetRenewalPrice(const PriceWithCurrency &value)
Definition DomainPrice.h:86
DomainPrice & WithName(const char *value)
Definition DomainPrice.h:53
DomainPrice & WithRestorationPrice(const PriceWithCurrency &value)
DomainPrice & WithChangeOwnershipPrice(const PriceWithCurrency &value)
DomainPrice & WithRegistrationPrice(PriceWithCurrency &&value)
Definition DomainPrice.h:65
const PriceWithCurrency & GetChangeOwnershipPrice() const
Definition DomainPrice.h:96
void SetChangeOwnershipPrice(const PriceWithCurrency &value)
Definition DomainPrice.h:98
void SetRegistrationPrice(PriceWithCurrency &&value)
Definition DomainPrice.h:63
void SetRenewalPrice(PriceWithCurrency &&value)
Definition DomainPrice.h:87
AWS_ROUTE53DOMAINS_API DomainPrice(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53DOMAINS_API DomainPrice & operator=(Aws::Utils::Json::JsonView jsonValue)
const PriceWithCurrency & GetRestorationPrice() const
void SetName(Aws::String &&value)
Definition DomainPrice.h:49
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
DomainPrice & WithName(const Aws::String &value)
Definition DomainPrice.h:51
void SetChangeOwnershipPrice(PriceWithCurrency &&value)
Definition DomainPrice.h:99
DomainPrice & WithRegistrationPrice(const PriceWithCurrency &value)
Definition DomainPrice.h:64
DomainPrice & WithRenewalPrice(PriceWithCurrency &&value)
Definition DomainPrice.h:89
const Aws::String & GetName() const
Definition DomainPrice.h:46
void SetTransferPrice(const PriceWithCurrency &value)
Definition DomainPrice.h:74
DomainPrice & WithRestorationPrice(PriceWithCurrency &&value)
void SetRestorationPrice(const PriceWithCurrency &value)
DomainPrice & WithRenewalPrice(const PriceWithCurrency &value)
Definition DomainPrice.h:88
const PriceWithCurrency & GetTransferPrice() const
Definition DomainPrice.h:72
const PriceWithCurrency & GetRegistrationPrice() const
Definition DomainPrice.h:60
DomainPrice & WithChangeOwnershipPrice(PriceWithCurrency &&value)
void SetName(const Aws::String &value)
Definition DomainPrice.h:48
const PriceWithCurrency & GetRenewalPrice() const
Definition DomainPrice.h:84
AWS_ROUTE53DOMAINS_API DomainPrice()
void SetRegistrationPrice(const PriceWithCurrency &value)
Definition DomainPrice.h:62
void SetRestorationPrice(PriceWithCurrency &&value)
DomainPrice & WithTransferPrice(PriceWithCurrency &&value)
Definition DomainPrice.h:77
DomainPrice & WithName(Aws::String &&value)
Definition DomainPrice.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue