AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCurrency(const Aws::String& value) { m_currencyHasBeenSet = true; m_currency = value; }
58 inline void SetCurrency(Aws::String&& value) { m_currencyHasBeenSet = true; m_currency = std::move(value); }
59 inline void SetCurrency(const char* value) { m_currencyHasBeenSet = true; m_currency.assign(value); }
60 inline Consent& WithCurrency(const Aws::String& value) { SetCurrency(value); return *this;}
61 inline Consent& WithCurrency(Aws::String&& value) { SetCurrency(std::move(value)); return *this;}
62 inline Consent& WithCurrency(const char* value) { SetCurrency(value); return *this;}
64 private:
65
66 double m_maxPrice;
67 bool m_maxPriceHasBeenSet = false;
68
69 Aws::String m_currency;
70 bool m_currencyHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Route53Domains
75} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue