AWS SDK for C++

AWS SDK for C++ Version 1.11.610

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#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 Bedrock
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_BEDROCK_API DimensionalPriceRate() = default;
37 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDimension() const { return m_dimension; }
45 inline bool DimensionHasBeenSet() const { return m_dimensionHasBeenSet; }
46 template<typename DimensionT = Aws::String>
47 void SetDimension(DimensionT&& value) { m_dimensionHasBeenSet = true; m_dimension = std::forward<DimensionT>(value); }
48 template<typename DimensionT = Aws::String>
49 DimensionalPriceRate& WithDimension(DimensionT&& value) { SetDimension(std::forward<DimensionT>(value)); return *this;}
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) { m_priceHasBeenSet = true; m_price = std::forward<PriceT>(value); }
60 template<typename PriceT = Aws::String>
61 DimensionalPriceRate& WithPrice(PriceT&& value) { SetPrice(std::forward<PriceT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 DimensionalPriceRate& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
80 inline const Aws::String& GetUnit() const { return m_unit; }
81 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
82 template<typename UnitT = Aws::String>
83 void SetUnit(UnitT&& value) { m_unitHasBeenSet = true; m_unit = std::forward<UnitT>(value); }
84 template<typename UnitT = Aws::String>
85 DimensionalPriceRate& WithUnit(UnitT&& value) { SetUnit(std::forward<UnitT>(value)); return *this;}
87 private:
88
89 Aws::String m_dimension;
90 bool m_dimensionHasBeenSet = false;
91
92 Aws::String m_price;
93 bool m_priceHasBeenSet = false;
94
95 Aws::String m_description;
96 bool m_descriptionHasBeenSet = false;
97
98 Aws::String m_unit;
99 bool m_unitHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Bedrock
104} // 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