AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ServiceCodeT = Aws::String>
53 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::forward<ServiceCodeT>(value); }
54 template<typename ServiceCodeT = Aws::String>
55 ListPriceListsRequest& WithServiceCode(ServiceCodeT&& value) { SetServiceCode(std::forward<ServiceCodeT>(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetEffectiveDate() const { return m_effectiveDate; }
63 inline bool EffectiveDateHasBeenSet() const { return m_effectiveDateHasBeenSet; }
64 template<typename EffectiveDateT = Aws::Utils::DateTime>
65 void SetEffectiveDate(EffectiveDateT&& value) { m_effectiveDateHasBeenSet = true; m_effectiveDate = std::forward<EffectiveDateT>(value); }
66 template<typename EffectiveDateT = Aws::Utils::DateTime>
67 ListPriceListsRequest& WithEffectiveDate(EffectiveDateT&& value) { SetEffectiveDate(std::forward<EffectiveDateT>(value)); return *this;}
69
71
80 inline const Aws::String& GetRegionCode() const { return m_regionCode; }
81 inline bool RegionCodeHasBeenSet() const { return m_regionCodeHasBeenSet; }
82 template<typename RegionCodeT = Aws::String>
83 void SetRegionCode(RegionCodeT&& value) { m_regionCodeHasBeenSet = true; m_regionCode = std::forward<RegionCodeT>(value); }
84 template<typename RegionCodeT = Aws::String>
85 ListPriceListsRequest& WithRegionCode(RegionCodeT&& value) { SetRegionCode(std::forward<RegionCodeT>(value)); return *this;}
87
89
93 inline const Aws::String& GetCurrencyCode() const { return m_currencyCode; }
94 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
95 template<typename CurrencyCodeT = Aws::String>
96 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
97 template<typename CurrencyCodeT = Aws::String>
98 ListPriceListsRequest& WithCurrencyCode(CurrencyCodeT&& value) { SetCurrencyCode(std::forward<CurrencyCodeT>(value)); return *this;}
100
102
106 inline const Aws::String& GetNextToken() const { return m_nextToken; }
107 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
108 template<typename NextTokenT = Aws::String>
109 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
110 template<typename NextTokenT = Aws::String>
111 ListPriceListsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
113
115
118 inline int GetMaxResults() const { return m_maxResults; }
119 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
120 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
121 inline ListPriceListsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
123 private:
124
125 Aws::String m_serviceCode;
126 bool m_serviceCodeHasBeenSet = false;
127
128 Aws::Utils::DateTime m_effectiveDate{};
129 bool m_effectiveDateHasBeenSet = false;
130
131 Aws::String m_regionCode;
132 bool m_regionCodeHasBeenSet = false;
133
134 Aws::String m_currencyCode;
135 bool m_currencyCodeHasBeenSet = false;
136
137 Aws::String m_nextToken;
138 bool m_nextTokenHasBeenSet = false;
139
140 int m_maxResults{0};
141 bool m_maxResultsHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Pricing
146} // namespace Aws
ListPriceListsRequest & WithNextToken(NextTokenT &&value)
AWS_PRICING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListPriceListsRequest & WithEffectiveDate(EffectiveDateT &&value)
ListPriceListsRequest & WithRegionCode(RegionCodeT &&value)
AWS_PRICING_API Aws::String SerializePayload() const override
AWS_PRICING_API ListPriceListsRequest()=default
ListPriceListsRequest & WithServiceCode(ServiceCodeT &&value)
const Aws::Utils::DateTime & GetEffectiveDate() const
ListPriceListsRequest & WithCurrencyCode(CurrencyCodeT &&value)
ListPriceListsRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String