AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
DimensionalPriceRate.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
28 public:
29 AWS_BEDROCK_API DimensionalPriceRate() = default;
32 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetDimension() const { return m_dimension; }
39 inline bool DimensionHasBeenSet() const { return m_dimensionHasBeenSet; }
40 template <typename DimensionT = Aws::String>
41 void SetDimension(DimensionT&& value) {
42 m_dimensionHasBeenSet = true;
43 m_dimension = std::forward<DimensionT>(value);
44 }
45 template <typename DimensionT = Aws::String>
46 DimensionalPriceRate& WithDimension(DimensionT&& value) {
47 SetDimension(std::forward<DimensionT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPrice() const { return m_price; }
57 inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; }
58 template <typename PriceT = Aws::String>
59 void SetPrice(PriceT&& value) {
60 m_priceHasBeenSet = true;
61 m_price = std::forward<PriceT>(value);
62 }
63 template <typename PriceT = Aws::String>
65 SetPrice(std::forward<PriceT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
82 DimensionalPriceRate& WithDescription(DescriptionT&& value) {
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetUnit() const { return m_unit; }
93 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
94 template <typename UnitT = Aws::String>
95 void SetUnit(UnitT&& value) {
96 m_unitHasBeenSet = true;
97 m_unit = std::forward<UnitT>(value);
98 }
99 template <typename UnitT = Aws::String>
101 SetUnit(std::forward<UnitT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_dimension;
107 bool m_dimensionHasBeenSet = false;
108
109 Aws::String m_price;
110 bool m_priceHasBeenSet = false;
111
112 Aws::String m_description;
113 bool m_descriptionHasBeenSet = false;
114
115 Aws::String m_unit;
116 bool m_unitHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace Bedrock
121} // namespace Aws
DimensionalPriceRate & WithDescription(DescriptionT &&value)
AWS_BEDROCK_API DimensionalPriceRate()=default
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API DimensionalPriceRate & operator=(Aws::Utils::Json::JsonView jsonValue)
DimensionalPriceRate & WithPrice(PriceT &&value)
DimensionalPriceRate & WithUnit(UnitT &&value)
DimensionalPriceRate & WithDimension(DimensionT &&value)
AWS_BEDROCK_API DimensionalPriceRate(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue