AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RateCardItem.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
33 {
34 public:
35 AWS_AGREEMENTSERVICE_API RateCardItem() = default;
36 AWS_AGREEMENTSERVICE_API RateCardItem(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AGREEMENTSERVICE_API RateCardItem& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetDimensionKey() const { return m_dimensionKey; }
48 inline bool DimensionKeyHasBeenSet() const { return m_dimensionKeyHasBeenSet; }
49 template<typename DimensionKeyT = Aws::String>
50 void SetDimensionKey(DimensionKeyT&& value) { m_dimensionKeyHasBeenSet = true; m_dimensionKey = std::forward<DimensionKeyT>(value); }
51 template<typename DimensionKeyT = Aws::String>
52 RateCardItem& WithDimensionKey(DimensionKeyT&& value) { SetDimensionKey(std::forward<DimensionKeyT>(value)); return *this;}
54
56
60 inline const Aws::String& GetPrice() const { return m_price; }
61 inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; }
62 template<typename PriceT = Aws::String>
63 void SetPrice(PriceT&& value) { m_priceHasBeenSet = true; m_price = std::forward<PriceT>(value); }
64 template<typename PriceT = Aws::String>
65 RateCardItem& WithPrice(PriceT&& value) { SetPrice(std::forward<PriceT>(value)); return *this;}
67 private:
68
69 Aws::String m_dimensionKey;
70 bool m_dimensionKeyHasBeenSet = false;
71
72 Aws::String m_price;
73 bool m_priceHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AgreementService
78} // namespace Aws
const Aws::String & GetPrice() const
RateCardItem & WithDimensionKey(DimensionKeyT &&value)
AWS_AGREEMENTSERVICE_API RateCardItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDimensionKey() const
AWS_AGREEMENTSERVICE_API RateCardItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGREEMENTSERVICE_API RateCardItem()=default
void SetDimensionKey(DimensionKeyT &&value)
RateCardItem & WithPrice(PriceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue