AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Consent.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 class Consent
33 {
34 public:
35 AWS_ROUTE53DOMAINS_API Consent() = default;
36 AWS_ROUTE53DOMAINS_API Consent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROUTE53DOMAINS_API Consent& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline double GetMaxPrice() const { return m_maxPrice; }
46 inline bool MaxPriceHasBeenSet() const { return m_maxPriceHasBeenSet; }
47 inline void SetMaxPrice(double value) { m_maxPriceHasBeenSet = true; m_maxPrice = value; }
48 inline Consent& WithMaxPrice(double value) { SetMaxPrice(value); return *this;}
50
52
55 inline const Aws::String& GetCurrency() const { return m_currency; }
56 inline bool CurrencyHasBeenSet() const { return m_currencyHasBeenSet; }
57 template<typename CurrencyT = Aws::String>
58 void SetCurrency(CurrencyT&& value) { m_currencyHasBeenSet = true; m_currency = std::forward<CurrencyT>(value); }
59 template<typename CurrencyT = Aws::String>
60 Consent& WithCurrency(CurrencyT&& value) { SetCurrency(std::forward<CurrencyT>(value)); return *this;}
62 private:
63
64 double m_maxPrice{0.0};
65 bool m_maxPriceHasBeenSet = false;
66
67 Aws::String m_currency;
68 bool m_currencyHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Route53Domains
73} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue