7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/BucketsAggregationType.h>
38 template <
typename IndexNameT = Aws::String>
40 m_indexNameHasBeenSet =
true;
41 m_indexName = std::forward<IndexNameT>(value);
43 template <
typename IndexNameT = Aws::String>
56 template <
typename QueryStringT = Aws::String>
58 m_queryStringHasBeenSet =
true;
59 m_queryString = std::forward<QueryStringT>(value);
61 template <
typename QueryStringT = Aws::String>
74 template <
typename AggregationFieldT = Aws::String>
76 m_aggregationFieldHasBeenSet =
true;
77 m_aggregationField = std::forward<AggregationFieldT>(value);
79 template <
typename AggregationFieldT = Aws::String>
92 template <
typename QueryVersionT = Aws::String>
94 m_queryVersionHasBeenSet =
true;
95 m_queryVersion = std::forward<QueryVersionT>(value);
97 template <
typename QueryVersionT = Aws::String>
111 template <
typename BucketsAggregationTypeT = BucketsAggregationType>
113 m_bucketsAggregationTypeHasBeenSet =
true;
114 m_bucketsAggregationType = std::forward<BucketsAggregationTypeT>(value);
116 template <
typename BucketsAggregationTypeT = BucketsAggregationType>
124 bool m_indexNameHasBeenSet =
false;
127 bool m_queryStringHasBeenSet =
false;
130 bool m_aggregationFieldHasBeenSet =
false;
133 bool m_queryVersionHasBeenSet =
false;
136 bool m_bucketsAggregationTypeHasBeenSet =
false;
GetBucketsAggregationRequest & WithQueryVersion(QueryVersionT &&value)
GetBucketsAggregationRequest & WithIndexName(IndexNameT &&value)
bool QueryStringHasBeenSet() const
const BucketsAggregationType & GetBucketsAggregationType() const
const Aws::String & GetQueryVersion() const
void SetIndexName(IndexNameT &&value)
void SetAggregationField(AggregationFieldT &&value)
bool BucketsAggregationTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool IndexNameHasBeenSet() const
void SetQueryString(QueryStringT &&value)
GetBucketsAggregationRequest & WithBucketsAggregationType(BucketsAggregationTypeT &&value)
void SetQueryVersion(QueryVersionT &&value)
const Aws::String & GetQueryString() const
GetBucketsAggregationRequest & WithAggregationField(AggregationFieldT &&value)
const Aws::String & GetAggregationField() const
AWS_IOT_API GetBucketsAggregationRequest()=default
bool AggregationFieldHasBeenSet() const
void SetBucketsAggregationType(BucketsAggregationTypeT &&value)
GetBucketsAggregationRequest & WithQueryString(QueryStringT &&value)
bool QueryVersionHasBeenSet() const
AWS_IOT_API Aws::String SerializePayload() const override
const Aws::String & GetIndexName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String