AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EstimatedCharges.h
1
6#pragma once
7#include <aws/marketplace-agreement/AgreementService_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 AgreementService
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_AGREEMENTSERVICE_API EstimatedCharges() = default;
35 AWS_AGREEMENTSERVICE_API EstimatedCharges(Aws::Utils::Json::JsonView jsonValue);
36 AWS_AGREEMENTSERVICE_API EstimatedCharges& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
61 inline const Aws::String& GetAgreementValue() const { return m_agreementValue; }
62 inline bool AgreementValueHasBeenSet() const { return m_agreementValueHasBeenSet; }
63 template<typename AgreementValueT = Aws::String>
64 void SetAgreementValue(AgreementValueT&& value) { m_agreementValueHasBeenSet = true; m_agreementValue = std::forward<AgreementValueT>(value); }
65 template<typename AgreementValueT = Aws::String>
66 EstimatedCharges& WithAgreementValue(AgreementValueT&& value) { SetAgreementValue(std::forward<AgreementValueT>(value)); return *this;}
68
70
73 inline const Aws::String& GetCurrencyCode() const { return m_currencyCode; }
74 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
75 template<typename CurrencyCodeT = Aws::String>
76 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
77 template<typename CurrencyCodeT = Aws::String>
78 EstimatedCharges& WithCurrencyCode(CurrencyCodeT&& value) { SetCurrencyCode(std::forward<CurrencyCodeT>(value)); return *this;}
80 private:
81
82 Aws::String m_agreementValue;
83 bool m_agreementValueHasBeenSet = false;
84
85 Aws::String m_currencyCode;
86 bool m_currencyCodeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace AgreementService
91} // namespace Aws
EstimatedCharges & WithCurrencyCode(CurrencyCodeT &&value)
AWS_AGREEMENTSERVICE_API EstimatedCharges(Aws::Utils::Json::JsonView jsonValue)
void SetAgreementValue(AgreementValueT &&value)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGREEMENTSERVICE_API EstimatedCharges()=default
AWS_AGREEMENTSERVICE_API EstimatedCharges & operator=(Aws::Utils::Json::JsonView jsonValue)
EstimatedCharges & WithAgreementValue(AgreementValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue