/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* Customer's consent for the owner change request.
See Also:
* AWS
* API Reference
*/
class Consent
{
public:
AWS_ROUTE53DOMAINS_API Consent();
AWS_ROUTE53DOMAINS_API Consent(Aws::Utils::Json::JsonView jsonValue);
AWS_ROUTE53DOMAINS_API Consent& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Maximum amount the customer agreed to accept.
*/
inline double GetMaxPrice() const{ return m_maxPrice; }
/**
* Maximum amount the customer agreed to accept.
*/
inline bool MaxPriceHasBeenSet() const { return m_maxPriceHasBeenSet; }
/**
* Maximum amount the customer agreed to accept.
*/
inline void SetMaxPrice(double value) { m_maxPriceHasBeenSet = true; m_maxPrice = value; }
/**
* Maximum amount the customer agreed to accept.
*/
inline Consent& WithMaxPrice(double value) { SetMaxPrice(value); return *this;}
/**
* Currency for the MaxPrice
.
*/
inline const Aws::String& GetCurrency() const{ return m_currency; }
/**
* Currency for the MaxPrice
.
*/
inline bool CurrencyHasBeenSet() const { return m_currencyHasBeenSet; }
/**
* Currency for the MaxPrice
.
*/
inline void SetCurrency(const Aws::String& value) { m_currencyHasBeenSet = true; m_currency = value; }
/**
* Currency for the MaxPrice
.
*/
inline void SetCurrency(Aws::String&& value) { m_currencyHasBeenSet = true; m_currency = std::move(value); }
/**
* Currency for the MaxPrice
.
*/
inline void SetCurrency(const char* value) { m_currencyHasBeenSet = true; m_currency.assign(value); }
/**
* Currency for the MaxPrice
.
*/
inline Consent& WithCurrency(const Aws::String& value) { SetCurrency(value); return *this;}
/**
* Currency for the MaxPrice
.
*/
inline Consent& WithCurrency(Aws::String&& value) { SetCurrency(std::move(value)); return *this;}
/**
* Currency for the MaxPrice
.
*/
inline Consent& WithCurrency(const char* value) { SetCurrency(value); return *this;}
private:
double m_maxPrice;
bool m_maxPriceHasBeenSet = false;
Aws::String m_currency;
bool m_currencyHasBeenSet = false;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws