AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListPriceListsRequest.h
1
6#pragma once
7#include <aws/pricing/Pricing_EXPORTS.h>
8#include <aws/pricing/PricingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Pricing
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PRICING_API ListPriceListsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListPriceLists"; }
32
33 AWS_PRICING_API Aws::String SerializePayload() const override;
34
36
37
39
50 inline const Aws::String& GetServiceCode() const{ return m_serviceCode; }
51 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
52 inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
53 inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
54 inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
55 inline ListPriceListsRequest& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
56 inline ListPriceListsRequest& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
57 inline ListPriceListsRequest& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetEffectiveDate() const{ return m_effectiveDate; }
65 inline bool EffectiveDateHasBeenSet() const { return m_effectiveDateHasBeenSet; }
66 inline void SetEffectiveDate(const Aws::Utils::DateTime& value) { m_effectiveDateHasBeenSet = true; m_effectiveDate = value; }
67 inline void SetEffectiveDate(Aws::Utils::DateTime&& value) { m_effectiveDateHasBeenSet = true; m_effectiveDate = std::move(value); }
69 inline ListPriceListsRequest& WithEffectiveDate(Aws::Utils::DateTime&& value) { SetEffectiveDate(std::move(value)); return *this;}
71
73
82 inline const Aws::String& GetRegionCode() const{ return m_regionCode; }
83 inline bool RegionCodeHasBeenSet() const { return m_regionCodeHasBeenSet; }
84 inline void SetRegionCode(const Aws::String& value) { m_regionCodeHasBeenSet = true; m_regionCode = value; }
85 inline void SetRegionCode(Aws::String&& value) { m_regionCodeHasBeenSet = true; m_regionCode = std::move(value); }
86 inline void SetRegionCode(const char* value) { m_regionCodeHasBeenSet = true; m_regionCode.assign(value); }
87 inline ListPriceListsRequest& WithRegionCode(const Aws::String& value) { SetRegionCode(value); return *this;}
88 inline ListPriceListsRequest& WithRegionCode(Aws::String&& value) { SetRegionCode(std::move(value)); return *this;}
89 inline ListPriceListsRequest& WithRegionCode(const char* value) { SetRegionCode(value); return *this;}
91
93
97 inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
98 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
99 inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
100 inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
101 inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
102 inline ListPriceListsRequest& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;}
103 inline ListPriceListsRequest& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
104 inline ListPriceListsRequest& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
106
108
112 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
113 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
114 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
115 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
116 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
117 inline ListPriceListsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
118 inline ListPriceListsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
119 inline ListPriceListsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121
123
126 inline int GetMaxResults() const{ return m_maxResults; }
127 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
128 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
129 inline ListPriceListsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
131 private:
132
133 Aws::String m_serviceCode;
134 bool m_serviceCodeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_effectiveDate;
137 bool m_effectiveDateHasBeenSet = false;
138
139 Aws::String m_regionCode;
140 bool m_regionCodeHasBeenSet = false;
141
142 Aws::String m_currencyCode;
143 bool m_currencyCodeHasBeenSet = false;
144
145 Aws::String m_nextToken;
146 bool m_nextTokenHasBeenSet = false;
147
148 int m_maxResults;
149 bool m_maxResultsHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Pricing
154} // namespace Aws
void SetEffectiveDate(const Aws::Utils::DateTime &value)
ListPriceListsRequest & WithServiceCode(const char *value)
ListPriceListsRequest & WithServiceCode(const Aws::String &value)
ListPriceListsRequest & WithServiceCode(Aws::String &&value)
AWS_PRICING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListPriceListsRequest & WithNextToken(const char *value)
ListPriceListsRequest & WithCurrencyCode(const char *value)
void SetCurrencyCode(const Aws::String &value)
AWS_PRICING_API Aws::String SerializePayload() const override
ListPriceListsRequest & WithRegionCode(Aws::String &&value)
ListPriceListsRequest & WithCurrencyCode(const Aws::String &value)
ListPriceListsRequest & WithEffectiveDate(Aws::Utils::DateTime &&value)
ListPriceListsRequest & WithNextToken(const Aws::String &value)
ListPriceListsRequest & WithRegionCode(const Aws::String &value)
ListPriceListsRequest & WithRegionCode(const char *value)
void SetServiceCode(const Aws::String &value)
const Aws::Utils::DateTime & GetEffectiveDate() const
ListPriceListsRequest & WithCurrencyCode(Aws::String &&value)
ListPriceListsRequest & WithEffectiveDate(const Aws::Utils::DateTime &value)
ListPriceListsRequest & WithNextToken(Aws::String &&value)
ListPriceListsRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
void SetEffectiveDate(Aws::Utils::DateTime &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String