AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPriceListArn(const Aws::String& value) { m_priceListArnHasBeenSet = true; m_priceListArn = value; }
56 inline void SetPriceListArn(Aws::String&& value) { m_priceListArnHasBeenSet = true; m_priceListArn = std::move(value); }
57 inline void SetPriceListArn(const char* value) { m_priceListArnHasBeenSet = true; m_priceListArn.assign(value); }
58 inline PriceList& WithPriceListArn(const Aws::String& value) { SetPriceListArn(value); return *this;}
59 inline PriceList& WithPriceListArn(Aws::String&& value) { SetPriceListArn(std::move(value)); return *this;}
60 inline PriceList& WithPriceListArn(const char* value) { SetPriceListArn(value); return *this;}
62
64
73 inline const Aws::String& GetRegionCode() const{ return m_regionCode; }
74 inline bool RegionCodeHasBeenSet() const { return m_regionCodeHasBeenSet; }
75 inline void SetRegionCode(const Aws::String& value) { m_regionCodeHasBeenSet = true; m_regionCode = value; }
76 inline void SetRegionCode(Aws::String&& value) { m_regionCodeHasBeenSet = true; m_regionCode = std::move(value); }
77 inline void SetRegionCode(const char* value) { m_regionCodeHasBeenSet = true; m_regionCode.assign(value); }
78 inline PriceList& WithRegionCode(const Aws::String& value) { SetRegionCode(value); return *this;}
79 inline PriceList& WithRegionCode(Aws::String&& value) { SetRegionCode(std::move(value)); return *this;}
80 inline PriceList& WithRegionCode(const char* value) { SetRegionCode(value); return *this;}
82
84
88 inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
89 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
90 inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
91 inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
92 inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
93 inline PriceList& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;}
94 inline PriceList& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
95 inline PriceList& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
97
99
105 inline const Aws::Vector<Aws::String>& GetFileFormats() const{ return m_fileFormats; }
106 inline bool FileFormatsHasBeenSet() const { return m_fileFormatsHasBeenSet; }
107 inline void SetFileFormats(const Aws::Vector<Aws::String>& value) { m_fileFormatsHasBeenSet = true; m_fileFormats = value; }
108 inline void SetFileFormats(Aws::Vector<Aws::String>&& value) { m_fileFormatsHasBeenSet = true; m_fileFormats = std::move(value); }
109 inline PriceList& WithFileFormats(const Aws::Vector<Aws::String>& value) { SetFileFormats(value); return *this;}
110 inline PriceList& WithFileFormats(Aws::Vector<Aws::String>&& value) { SetFileFormats(std::move(value)); return *this;}
111 inline PriceList& AddFileFormats(const Aws::String& value) { m_fileFormatsHasBeenSet = true; m_fileFormats.push_back(value); return *this; }
112 inline PriceList& AddFileFormats(Aws::String&& value) { m_fileFormatsHasBeenSet = true; m_fileFormats.push_back(std::move(value)); return *this; }
113 inline PriceList& AddFileFormats(const char* value) { m_fileFormatsHasBeenSet = true; m_fileFormats.push_back(value); return *this; }
115 private:
116
117 Aws::String m_priceListArn;
118 bool m_priceListArnHasBeenSet = false;
119
120 Aws::String m_regionCode;
121 bool m_regionCodeHasBeenSet = false;
122
123 Aws::String m_currencyCode;
124 bool m_currencyCodeHasBeenSet = false;
125
126 Aws::Vector<Aws::String> m_fileFormats;
127 bool m_fileFormatsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Pricing
132} // namespace Aws
PriceList & WithPriceListArn(const Aws::String &value)
Definition PriceList.h:58
void SetPriceListArn(const Aws::String &value)
Definition PriceList.h:55
const Aws::String & GetCurrencyCode() const
Definition PriceList.h:88
PriceList & WithCurrencyCode(const char *value)
Definition PriceList.h:95
PriceList & WithFileFormats(Aws::Vector< Aws::String > &&value)
Definition PriceList.h:110
bool RegionCodeHasBeenSet() const
Definition PriceList.h:74
PriceList & WithFileFormats(const Aws::Vector< Aws::String > &value)
Definition PriceList.h:109
PriceList & AddFileFormats(const char *value)
Definition PriceList.h:113
void SetPriceListArn(const char *value)
Definition PriceList.h:57
PriceList & WithPriceListArn(Aws::String &&value)
Definition PriceList.h:59
PriceList & WithRegionCode(const char *value)
Definition PriceList.h:80
void SetFileFormats(const Aws::Vector< Aws::String > &value)
Definition PriceList.h:107
AWS_PRICING_API PriceList & operator=(Aws::Utils::Json::JsonView jsonValue)
PriceList & WithRegionCode(const Aws::String &value)
Definition PriceList.h:78
const Aws::Vector< Aws::String > & GetFileFormats() const
Definition PriceList.h:105
void SetRegionCode(const char *value)
Definition PriceList.h:77
void SetRegionCode(const Aws::String &value)
Definition PriceList.h:75
bool PriceListArnHasBeenSet() const
Definition PriceList.h:54
PriceList & WithRegionCode(Aws::String &&value)
Definition PriceList.h:79
const Aws::String & GetRegionCode() const
Definition PriceList.h:73
void SetPriceListArn(Aws::String &&value)
Definition PriceList.h:56
const Aws::String & GetPriceListArn() const
Definition PriceList.h:53
PriceList & AddFileFormats(const Aws::String &value)
Definition PriceList.h:111
PriceList & AddFileFormats(Aws::String &&value)
Definition PriceList.h:112
void SetCurrencyCode(const char *value)
Definition PriceList.h:92
void SetRegionCode(Aws::String &&value)
Definition PriceList.h:76
PriceList & WithCurrencyCode(const Aws::String &value)
Definition PriceList.h:93
void SetFileFormats(Aws::Vector< Aws::String > &&value)
Definition PriceList.h:108
void SetCurrencyCode(Aws::String &&value)
Definition PriceList.h:91
AWS_PRICING_API PriceList(Aws::Utils::Json::JsonView jsonValue)
bool CurrencyCodeHasBeenSet() const
Definition PriceList.h:89
void SetCurrencyCode(const Aws::String &value)
Definition PriceList.h:90
AWS_PRICING_API Aws::Utils::Json::JsonValue Jsonize() const
PriceList & WithPriceListArn(const char *value)
Definition PriceList.h:60
PriceList & WithCurrencyCode(Aws::String &&value)
Definition PriceList.h:94
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue