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/AggregationType.h>
11#include <aws/iot/model/FleetMetricUnit.h>
39 template <
typename MetricNameT = Aws::String>
41 m_metricNameHasBeenSet =
true;
42 m_metricName = std::forward<MetricNameT>(value);
44 template <
typename MetricNameT = Aws::String>
57 template <
typename QueryStringT = Aws::String>
59 m_queryStringHasBeenSet =
true;
60 m_queryString = std::forward<QueryStringT>(value);
62 template <
typename QueryStringT = Aws::String>
75 template <
typename AggregationTypeT = AggregationType>
77 m_aggregationTypeHasBeenSet =
true;
78 m_aggregationType = std::forward<AggregationTypeT>(value);
80 template <
typename AggregationTypeT = AggregationType>
95 m_periodHasBeenSet =
true;
110 template <
typename AggregationFieldT = Aws::String>
112 m_aggregationFieldHasBeenSet =
true;
113 m_aggregationField = std::forward<AggregationFieldT>(value);
115 template <
typename AggregationFieldT = Aws::String>
128 template <
typename DescriptionT = Aws::String>
130 m_descriptionHasBeenSet =
true;
131 m_description = std::forward<DescriptionT>(value);
133 template <
typename DescriptionT = Aws::String>
146 template <
typename QueryVersionT = Aws::String>
148 m_queryVersionHasBeenSet =
true;
149 m_queryVersion = std::forward<QueryVersionT>(value);
151 template <
typename QueryVersionT = Aws::String>
164 template <
typename IndexNameT = Aws::String>
166 m_indexNameHasBeenSet =
true;
167 m_indexName = std::forward<IndexNameT>(value);
169 template <
typename IndexNameT = Aws::String>
186 m_unitHasBeenSet =
true;
202 m_expectedVersionHasBeenSet =
true;
203 m_expectedVersion = value;
229 long long m_expectedVersion{0};
230 bool m_metricNameHasBeenSet =
false;
231 bool m_queryStringHasBeenSet =
false;
232 bool m_aggregationTypeHasBeenSet =
false;
233 bool m_periodHasBeenSet =
false;
234 bool m_aggregationFieldHasBeenSet =
false;
235 bool m_descriptionHasBeenSet =
false;
236 bool m_queryVersionHasBeenSet =
false;
237 bool m_indexNameHasBeenSet =
false;
238 bool m_unitHasBeenSet =
false;
239 bool m_expectedVersionHasBeenSet =
false;
const Aws::String & GetQueryString() const
UpdateFleetMetricRequest & WithAggregationType(AggregationTypeT &&value)
UpdateFleetMetricRequest & WithAggregationField(AggregationFieldT &&value)
bool MetricNameHasBeenSet() const
UpdateFleetMetricRequest & WithExpectedVersion(long long value)
const Aws::String & GetIndexName() const
const Aws::String & GetAggregationField() const
const Aws::String & GetMetricName() const
void SetIndexName(IndexNameT &&value)
UpdateFleetMetricRequest & WithMetricName(MetricNameT &&value)
bool UnitHasBeenSet() const
UpdateFleetMetricRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
bool AggregationFieldHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool QueryVersionHasBeenSet() const
void SetQueryString(QueryStringT &&value)
bool ExpectedVersionHasBeenSet() const
UpdateFleetMetricRequest & WithQueryVersion(QueryVersionT &&value)
bool IndexNameHasBeenSet() const
void SetMetricName(MetricNameT &&value)
void SetQueryVersion(QueryVersionT &&value)
bool DescriptionHasBeenSet() const
UpdateFleetMetricRequest & WithIndexName(IndexNameT &&value)
UpdateFleetMetricRequest & WithQueryString(QueryStringT &&value)
void SetExpectedVersion(long long value)
UpdateFleetMetricRequest & WithUnit(FleetMetricUnit value)
const Aws::String & GetDescription() const
void SetAggregationType(AggregationTypeT &&value)
bool QueryStringHasBeenSet() const
void SetPeriod(int value)
bool PeriodHasBeenSet() const
void SetAggregationField(AggregationFieldT &&value)
long long GetExpectedVersion() const
UpdateFleetMetricRequest & WithPeriod(int value)
FleetMetricUnit GetUnit() const
AWS_IOT_API UpdateFleetMetricRequest()=default
AWS_IOT_API Aws::String SerializePayload() const override
void SetUnit(FleetMetricUnit value)
bool AggregationTypeHasBeenSet() const
const Aws::String & GetQueryVersion() const
const AggregationType & GetAggregationType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String