AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetReservationPurchaseRecommendationRequest.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/CostExplorerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ce/model/Expression.h>
11#include <aws/ce/model/AccountScope.h>
12#include <aws/ce/model/LookbackPeriodInDays.h>
13#include <aws/ce/model/TermInYears.h>
14#include <aws/ce/model/PaymentOption.h>
15#include <aws/ce/model/ServiceSpecification.h>
16#include <utility>
17
18namespace Aws
19{
20namespace CostExplorer
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetReservationPurchaseRecommendation"; }
37
38 AWS_COSTEXPLORER_API Aws::String SerializePayload() const override;
39
40 AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
41
42
44
47 inline const Aws::String& GetAccountId() const{ return m_accountId; }
48 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
49 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
50 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
51 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline GetReservationPurchaseRecommendationRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
54 inline GetReservationPurchaseRecommendationRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
56
58
61 inline const Aws::String& GetService() const{ return m_service; }
62 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
63 inline void SetService(const Aws::String& value) { m_serviceHasBeenSet = true; m_service = value; }
64 inline void SetService(Aws::String&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
65 inline void SetService(const char* value) { m_serviceHasBeenSet = true; m_service.assign(value); }
67 inline GetReservationPurchaseRecommendationRequest& WithService(Aws::String&& value) { SetService(std::move(value)); return *this;}
68 inline GetReservationPurchaseRecommendationRequest& WithService(const char* value) { SetService(value); return *this;}
70
72
73 inline const Expression& GetFilter() const{ return m_filter; }
74 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
75 inline void SetFilter(const Expression& value) { m_filterHasBeenSet = true; m_filter = value; }
76 inline void SetFilter(Expression&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
77 inline GetReservationPurchaseRecommendationRequest& WithFilter(const Expression& value) { SetFilter(value); return *this;}
78 inline GetReservationPurchaseRecommendationRequest& WithFilter(Expression&& value) { SetFilter(std::move(value)); return *this;}
80
82
88 inline const AccountScope& GetAccountScope() const{ return m_accountScope; }
89 inline bool AccountScopeHasBeenSet() const { return m_accountScopeHasBeenSet; }
90 inline void SetAccountScope(const AccountScope& value) { m_accountScopeHasBeenSet = true; m_accountScope = value; }
91 inline void SetAccountScope(AccountScope&& value) { m_accountScopeHasBeenSet = true; m_accountScope = std::move(value); }
95
97
101 inline const LookbackPeriodInDays& GetLookbackPeriodInDays() const{ return m_lookbackPeriodInDays; }
102 inline bool LookbackPeriodInDaysHasBeenSet() const { return m_lookbackPeriodInDaysHasBeenSet; }
103 inline void SetLookbackPeriodInDays(const LookbackPeriodInDays& value) { m_lookbackPeriodInDaysHasBeenSet = true; m_lookbackPeriodInDays = value; }
104 inline void SetLookbackPeriodInDays(LookbackPeriodInDays&& value) { m_lookbackPeriodInDaysHasBeenSet = true; m_lookbackPeriodInDays = std::move(value); }
108
110
113 inline const TermInYears& GetTermInYears() const{ return m_termInYears; }
114 inline bool TermInYearsHasBeenSet() const { return m_termInYearsHasBeenSet; }
115 inline void SetTermInYears(const TermInYears& value) { m_termInYearsHasBeenSet = true; m_termInYears = value; }
116 inline void SetTermInYears(TermInYears&& value) { m_termInYearsHasBeenSet = true; m_termInYears = std::move(value); }
120
122
125 inline const PaymentOption& GetPaymentOption() const{ return m_paymentOption; }
126 inline bool PaymentOptionHasBeenSet() const { return m_paymentOptionHasBeenSet; }
127 inline void SetPaymentOption(const PaymentOption& value) { m_paymentOptionHasBeenSet = true; m_paymentOption = value; }
128 inline void SetPaymentOption(PaymentOption&& value) { m_paymentOptionHasBeenSet = true; m_paymentOption = std::move(value); }
132
134
138 inline const ServiceSpecification& GetServiceSpecification() const{ return m_serviceSpecification; }
139 inline bool ServiceSpecificationHasBeenSet() const { return m_serviceSpecificationHasBeenSet; }
140 inline void SetServiceSpecification(const ServiceSpecification& value) { m_serviceSpecificationHasBeenSet = true; m_serviceSpecification = value; }
141 inline void SetServiceSpecification(ServiceSpecification&& value) { m_serviceSpecificationHasBeenSet = true; m_serviceSpecification = std::move(value); }
145
147
151 inline int GetPageSize() const{ return m_pageSize; }
152 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
153 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
154 inline GetReservationPurchaseRecommendationRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
156
158
162 inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
163 inline bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; }
164 inline void SetNextPageToken(const Aws::String& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = value; }
165 inline void SetNextPageToken(Aws::String&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = std::move(value); }
166 inline void SetNextPageToken(const char* value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken.assign(value); }
169 inline GetReservationPurchaseRecommendationRequest& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
171 private:
172
173 Aws::String m_accountId;
174 bool m_accountIdHasBeenSet = false;
175
176 Aws::String m_service;
177 bool m_serviceHasBeenSet = false;
178
179 Expression m_filter;
180 bool m_filterHasBeenSet = false;
181
182 AccountScope m_accountScope;
183 bool m_accountScopeHasBeenSet = false;
184
185 LookbackPeriodInDays m_lookbackPeriodInDays;
186 bool m_lookbackPeriodInDaysHasBeenSet = false;
187
188 TermInYears m_termInYears;
189 bool m_termInYearsHasBeenSet = false;
190
191 PaymentOption m_paymentOption;
192 bool m_paymentOptionHasBeenSet = false;
193
194 ServiceSpecification m_serviceSpecification;
195 bool m_serviceSpecificationHasBeenSet = false;
196
197 int m_pageSize;
198 bool m_pageSizeHasBeenSet = false;
199
200 Aws::String m_nextPageToken;
201 bool m_nextPageTokenHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace CostExplorer
206} // namespace Aws
GetReservationPurchaseRecommendationRequest & WithAccountId(Aws::String &&value)
GetReservationPurchaseRecommendationRequest & WithNextPageToken(Aws::String &&value)
GetReservationPurchaseRecommendationRequest & WithPaymentOption(PaymentOption &&value)
GetReservationPurchaseRecommendationRequest & WithAccountId(const Aws::String &value)
GetReservationPurchaseRecommendationRequest & WithFilter(const Expression &value)
GetReservationPurchaseRecommendationRequest & WithServiceSpecification(const ServiceSpecification &value)
GetReservationPurchaseRecommendationRequest & WithNextPageToken(const Aws::String &value)
GetReservationPurchaseRecommendationRequest & WithAccountId(const char *value)
GetReservationPurchaseRecommendationRequest & WithAccountScope(const AccountScope &value)
GetReservationPurchaseRecommendationRequest & WithService(const Aws::String &value)
GetReservationPurchaseRecommendationRequest & WithTermInYears(const TermInYears &value)
GetReservationPurchaseRecommendationRequest & WithAccountScope(AccountScope &&value)
GetReservationPurchaseRecommendationRequest & WithNextPageToken(const char *value)
GetReservationPurchaseRecommendationRequest & WithService(Aws::String &&value)
GetReservationPurchaseRecommendationRequest & WithFilter(Expression &&value)
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
GetReservationPurchaseRecommendationRequest & WithServiceSpecification(ServiceSpecification &&value)
GetReservationPurchaseRecommendationRequest & WithLookbackPeriodInDays(const LookbackPeriodInDays &value)
GetReservationPurchaseRecommendationRequest & WithLookbackPeriodInDays(LookbackPeriodInDays &&value)
GetReservationPurchaseRecommendationRequest & WithService(const char *value)
GetReservationPurchaseRecommendationRequest & WithTermInYears(TermInYears &&value)
GetReservationPurchaseRecommendationRequest & WithPaymentOption(const PaymentOption &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String