7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sustainability/SustainabilityRequest.h>
10#include <aws/sustainability/Sustainability_EXPORTS.h>
11#include <aws/sustainability/model/Dimension.h>
12#include <aws/sustainability/model/FilterExpression.h>
13#include <aws/sustainability/model/TimeGranularity.h>
14#include <aws/sustainability/model/TimePeriod.h>
15#include <aws/sustainability/model/WaterAllocationType.h>
20namespace Sustainability {
45 template <
typename TimePeriodT = TimePeriod>
47 m_timePeriodHasBeenSet =
true;
48 m_timePeriod = std::forward<TimePeriodT>(value);
50 template <
typename TimePeriodT = TimePeriod>
63 template <
typename GroupByT = Aws::Vector<Dimension>>
65 m_groupByHasBeenSet =
true;
66 m_groupBy = std::forward<GroupByT>(value);
68 template <
typename GroupByT = Aws::Vector<Dimension>>
74 m_groupByHasBeenSet =
true;
75 m_groupBy.push_back(value);
88 template <
typename FilterByT = FilterExpression>
90 m_filterByHasBeenSet =
true;
91 m_filterBy = std::forward<FilterByT>(value);
93 template <
typename FilterByT = FilterExpression>
107 template <
typename AllocationTypesT = Aws::Vector<WaterAllocationType>>
109 m_allocationTypesHasBeenSet =
true;
110 m_allocationTypes = std::forward<AllocationTypesT>(value);
112 template <
typename AllocationTypesT = Aws::Vector<WaterAllocationType>>
118 m_allocationTypesHasBeenSet =
true;
119 m_allocationTypes.push_back(value);
137 m_granularityHasBeenSet =
true;
138 m_granularity = value;
154 m_maxResultsHasBeenSet =
true;
155 m_maxResults = value;
170 template <
typename NextTokenT = Aws::String>
172 m_nextTokenHasBeenSet =
true;
173 m_nextToken = std::forward<NextTokenT>(value);
175 template <
typename NextTokenT = Aws::String>
195 bool m_timePeriodHasBeenSet =
false;
196 bool m_groupByHasBeenSet =
false;
197 bool m_filterByHasBeenSet =
false;
198 bool m_allocationTypesHasBeenSet =
false;
199 bool m_granularityHasBeenSet =
false;
200 bool m_maxResultsHasBeenSet =
false;
201 bool m_nextTokenHasBeenSet =
false;
GetEstimatedWaterAllocationRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
GetEstimatedWaterAllocationRequest & WithAllocationTypes(AllocationTypesT &&value)
GetEstimatedWaterAllocationRequest & AddGroupBy(Dimension value)
bool MaxResultsHasBeenSet() const
bool AllocationTypesHasBeenSet() const
GetEstimatedWaterAllocationRequest & AddAllocationTypes(WaterAllocationType value)
bool GranularityHasBeenSet() const
GetEstimatedWaterAllocationRequest & WithGroupBy(GroupByT &&value)
void SetAllocationTypes(AllocationTypesT &&value)
bool FilterByHasBeenSet() const
void SetNextToken(NextTokenT &&value)
void SetFilterBy(FilterByT &&value)
const Aws::String & GetNextToken() const
const FilterExpression & GetFilterBy() const
const Aws::Vector< Dimension > & GetGroupBy() const
bool NextTokenHasBeenSet() const
void SetMaxResults(int value)
TimeGranularity GetGranularity() const
GetEstimatedWaterAllocationRequest & WithMaxResults(int value)
GetEstimatedWaterAllocationRequest & WithTimePeriod(TimePeriodT &&value)
AWS_SUSTAINABILITY_API GetEstimatedWaterAllocationRequest()=default
int GetMaxResults() const
void SetGranularity(TimeGranularity value)
const TimePeriod & GetTimePeriod() const
AWS_SUSTAINABILITY_API Aws::String SerializePayload() const override
void SetGroupBy(GroupByT &&value)
bool GroupByHasBeenSet() const
void SetTimePeriod(TimePeriodT &&value)
bool TimePeriodHasBeenSet() const
GetEstimatedWaterAllocationRequest & WithGranularity(TimeGranularity value)
GetEstimatedWaterAllocationRequest & WithFilterBy(FilterByT &&value)
const Aws::Vector< WaterAllocationType > & GetAllocationTypes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector