7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/AggregationType.h>
11#include <aws/iot/model/FleetMetricUnit.h>
43 template<
typename MetricNameT = Aws::String>
44 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
45 template<
typename MetricNameT = Aws::String>
55 template<
typename QueryStringT = Aws::String>
56 void SetQueryString(QueryStringT&& value) { m_queryStringHasBeenSet =
true; m_queryString = std::forward<QueryStringT>(value); }
57 template<
typename QueryStringT = Aws::String>
67 template<
typename AggregationTypeT = AggregationType>
68 void SetAggregationType(AggregationTypeT&& value) { m_aggregationTypeHasBeenSet =
true; m_aggregationType = std::forward<AggregationTypeT>(value); }
69 template<
typename AggregationTypeT = AggregationType>
80 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
90 template<
typename AggregationFieldT = Aws::String>
91 void SetAggregationField(AggregationFieldT&& value) { m_aggregationFieldHasBeenSet =
true; m_aggregationField = std::forward<AggregationFieldT>(value); }
92 template<
typename AggregationFieldT = Aws::String>
102 template<
typename DescriptionT = Aws::String>
103 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
104 template<
typename DescriptionT = Aws::String>
114 template<
typename QueryVersionT = Aws::String>
115 void SetQueryVersion(QueryVersionT&& value) { m_queryVersionHasBeenSet =
true; m_queryVersion = std::forward<QueryVersionT>(value); }
116 template<
typename QueryVersionT = Aws::String>
126 template<
typename IndexNameT = Aws::String>
127 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
128 template<
typename IndexNameT = Aws::String>
151 inline void SetExpectedVersion(
long long value) { m_expectedVersionHasBeenSet =
true; m_expectedVersion = value; }
157 bool m_metricNameHasBeenSet =
false;
160 bool m_queryStringHasBeenSet =
false;
163 bool m_aggregationTypeHasBeenSet =
false;
166 bool m_periodHasBeenSet =
false;
169 bool m_aggregationFieldHasBeenSet =
false;
172 bool m_descriptionHasBeenSet =
false;
175 bool m_queryVersionHasBeenSet =
false;
178 bool m_indexNameHasBeenSet =
false;
181 bool m_unitHasBeenSet =
false;
183 long long m_expectedVersion{0};
184 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