AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PriceList.h
1
6#pragma once
7#include <aws/pricing/Pricing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Pricing
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_PRICING_API PriceList() = default;
41 AWS_PRICING_API PriceList(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PRICING_API PriceList& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PRICING_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const Aws::String& GetPriceListArn() const { return m_priceListArn; }
54 inline bool PriceListArnHasBeenSet() const { return m_priceListArnHasBeenSet; }
55 template<typename PriceListArnT = Aws::String>
56 void SetPriceListArn(PriceListArnT&& value) { m_priceListArnHasBeenSet = true; m_priceListArn = std::forward<PriceListArnT>(value); }
57 template<typename PriceListArnT = Aws::String>
58 PriceList& WithPriceListArn(PriceListArnT&& value) { SetPriceListArn(std::forward<PriceListArnT>(value)); return *this;}
60
62
71 inline const Aws::String& GetRegionCode() const { return m_regionCode; }
72 inline bool RegionCodeHasBeenSet() const { return m_regionCodeHasBeenSet; }
73 template<typename RegionCodeT = Aws::String>
74 void SetRegionCode(RegionCodeT&& value) { m_regionCodeHasBeenSet = true; m_regionCode = std::forward<RegionCodeT>(value); }
75 template<typename RegionCodeT = Aws::String>
76 PriceList& WithRegionCode(RegionCodeT&& value) { SetRegionCode(std::forward<RegionCodeT>(value)); return *this;}
78
80
84 inline const Aws::String& GetCurrencyCode() const { return m_currencyCode; }
85 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
86 template<typename CurrencyCodeT = Aws::String>
87 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
88 template<typename CurrencyCodeT = Aws::String>
89 PriceList& WithCurrencyCode(CurrencyCodeT&& value) { SetCurrencyCode(std::forward<CurrencyCodeT>(value)); return *this;}
91
93
99 inline const Aws::Vector<Aws::String>& GetFileFormats() const { return m_fileFormats; }
100 inline bool FileFormatsHasBeenSet() const { return m_fileFormatsHasBeenSet; }
101 template<typename FileFormatsT = Aws::Vector<Aws::String>>
102 void SetFileFormats(FileFormatsT&& value) { m_fileFormatsHasBeenSet = true; m_fileFormats = std::forward<FileFormatsT>(value); }
103 template<typename FileFormatsT = Aws::Vector<Aws::String>>
104 PriceList& WithFileFormats(FileFormatsT&& value) { SetFileFormats(std::forward<FileFormatsT>(value)); return *this;}
105 template<typename FileFormatsT = Aws::String>
106 PriceList& AddFileFormats(FileFormatsT&& value) { m_fileFormatsHasBeenSet = true; m_fileFormats.emplace_back(std::forward<FileFormatsT>(value)); return *this; }
108 private:
109
110 Aws::String m_priceListArn;
111 bool m_priceListArnHasBeenSet = false;
112
113 Aws::String m_regionCode;
114 bool m_regionCodeHasBeenSet = false;
115
116 Aws::String m_currencyCode;
117 bool m_currencyCodeHasBeenSet = false;
118
119 Aws::Vector<Aws::String> m_fileFormats;
120 bool m_fileFormatsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Pricing
125} // namespace Aws
const Aws::String & GetCurrencyCode() const
Definition PriceList.h:84
void SetFileFormats(FileFormatsT &&value)
Definition PriceList.h:102
bool RegionCodeHasBeenSet() const
Definition PriceList.h:72
void SetCurrencyCode(CurrencyCodeT &&value)
Definition PriceList.h:87
PriceList & WithFileFormats(FileFormatsT &&value)
Definition PriceList.h:104
AWS_PRICING_API PriceList & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PRICING_API PriceList()=default
const Aws::Vector< Aws::String > & GetFileFormats() const
Definition PriceList.h:99
PriceList & AddFileFormats(FileFormatsT &&value)
Definition PriceList.h:106
PriceList & WithRegionCode(RegionCodeT &&value)
Definition PriceList.h:76
bool PriceListArnHasBeenSet() const
Definition PriceList.h:54
const Aws::String & GetRegionCode() const
Definition PriceList.h:71
PriceList & WithCurrencyCode(CurrencyCodeT &&value)
Definition PriceList.h:89
PriceList & WithPriceListArn(PriceListArnT &&value)
Definition PriceList.h:58
void SetPriceListArn(PriceListArnT &&value)
Definition PriceList.h:56
const Aws::String & GetPriceListArn() const
Definition PriceList.h:53
void SetRegionCode(RegionCodeT &&value)
Definition PriceList.h:74
AWS_PRICING_API PriceList(Aws::Utils::Json::JsonView jsonValue)
bool CurrencyCodeHasBeenSet() const
Definition PriceList.h:85
AWS_PRICING_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue