AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PriceWithCurrency.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_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 Route53Domains
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ROUTE53DOMAINS_API PriceWithCurrency();
35 AWS_ROUTE53DOMAINS_API PriceWithCurrency(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ROUTE53DOMAINS_API PriceWithCurrency& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline double GetPrice() const{ return m_price; }
45 inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; }
46 inline void SetPrice(double value) { m_priceHasBeenSet = true; m_price = value; }
47 inline PriceWithCurrency& WithPrice(double value) { SetPrice(value); return *this;}
49
51
54 inline const Aws::String& GetCurrency() const{ return m_currency; }
55 inline bool CurrencyHasBeenSet() const { return m_currencyHasBeenSet; }
56 inline void SetCurrency(const Aws::String& value) { m_currencyHasBeenSet = true; m_currency = value; }
57 inline void SetCurrency(Aws::String&& value) { m_currencyHasBeenSet = true; m_currency = std::move(value); }
58 inline void SetCurrency(const char* value) { m_currencyHasBeenSet = true; m_currency.assign(value); }
59 inline PriceWithCurrency& WithCurrency(const Aws::String& value) { SetCurrency(value); return *this;}
60 inline PriceWithCurrency& WithCurrency(Aws::String&& value) { SetCurrency(std::move(value)); return *this;}
61 inline PriceWithCurrency& WithCurrency(const char* value) { SetCurrency(value); return *this;}
63 private:
64
65 double m_price;
66 bool m_priceHasBeenSet = false;
67
68 Aws::String m_currency;
69 bool m_currencyHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Route53Domains
74} // namespace Aws
PriceWithCurrency & WithPrice(double value)
AWS_ROUTE53DOMAINS_API PriceWithCurrency & operator=(Aws::Utils::Json::JsonView jsonValue)
PriceWithCurrency & WithCurrency(Aws::String &&value)
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
PriceWithCurrency & WithCurrency(const Aws::String &value)
PriceWithCurrency & WithCurrency(const char *value)
AWS_ROUTE53DOMAINS_API PriceWithCurrency(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue