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>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/iot/model/Tag.h>
45 template<
typename MetricNameT = Aws::String>
46 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
47 template<
typename MetricNameT = Aws::String>
57 template<
typename QueryStringT = Aws::String>
58 void SetQueryString(QueryStringT&& value) { m_queryStringHasBeenSet =
true; m_queryString = std::forward<QueryStringT>(value); }
59 template<
typename QueryStringT = Aws::String>
69 template<
typename AggregationTypeT = AggregationType>
70 void SetAggregationType(AggregationTypeT&& value) { m_aggregationTypeHasBeenSet =
true; m_aggregationType = std::forward<AggregationTypeT>(value); }
71 template<
typename AggregationTypeT = AggregationType>
82 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
92 template<
typename AggregationFieldT = Aws::String>
93 void SetAggregationField(AggregationFieldT&& value) { m_aggregationFieldHasBeenSet =
true; m_aggregationField = std::forward<AggregationFieldT>(value); }
94 template<
typename AggregationFieldT = Aws::String>
104 template<
typename DescriptionT = Aws::String>
105 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
106 template<
typename DescriptionT = Aws::String>
116 template<
typename QueryVersionT = Aws::String>
117 void SetQueryVersion(QueryVersionT&& value) { m_queryVersionHasBeenSet =
true; m_queryVersion = std::forward<QueryVersionT>(value); }
118 template<
typename QueryVersionT = Aws::String>
128 template<
typename IndexNameT = Aws::String>
129 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
130 template<
typename IndexNameT = Aws::String>
153 template<
typename TagsT = Aws::Vector<Tag>>
154 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
155 template<
typename TagsT = Aws::Vector<Tag>>
157 template<
typename TagsT = Tag>
163 bool m_metricNameHasBeenSet =
false;
166 bool m_queryStringHasBeenSet =
false;
169 bool m_aggregationTypeHasBeenSet =
false;
172 bool m_periodHasBeenSet =
false;
175 bool m_aggregationFieldHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
181 bool m_queryVersionHasBeenSet =
false;
184 bool m_indexNameHasBeenSet =
false;
187 bool m_unitHasBeenSet =
false;
190 bool m_tagsHasBeenSet =
false;
void SetQueryString(QueryStringT &&value)
CreateFleetMetricRequest & WithIndexName(IndexNameT &&value)
CreateFleetMetricRequest & WithMetricName(MetricNameT &&value)
void SetMetricName(MetricNameT &&value)
bool MetricNameHasBeenSet() const
bool DescriptionHasBeenSet() const
AWS_IOT_API CreateFleetMetricRequest()=default
CreateFleetMetricRequest & AddTags(TagsT &&value)
CreateFleetMetricRequest & WithQueryString(QueryStringT &&value)
const Aws::String & GetDescription() const
void SetAggregationField(AggregationFieldT &&value)
const Aws::String & GetAggregationField() const
CreateFleetMetricRequest & WithPeriod(int value)
bool AggregationFieldHasBeenSet() const
void SetIndexName(IndexNameT &&value)
bool QueryVersionHasBeenSet() const
bool PeriodHasBeenSet() const
CreateFleetMetricRequest & WithQueryVersion(QueryVersionT &&value)
const Aws::String & GetMetricName() const
void SetPeriod(int value)
bool TagsHasBeenSet() const
const Aws::String & GetQueryString() const
CreateFleetMetricRequest & WithTags(TagsT &&value)
const Aws::String & GetQueryVersion() const
bool AggregationTypeHasBeenSet() const
CreateFleetMetricRequest & WithDescription(DescriptionT &&value)
bool QueryStringHasBeenSet() const
void SetAggregationType(AggregationTypeT &&value)
CreateFleetMetricRequest & WithAggregationField(AggregationFieldT &&value)
const AggregationType & GetAggregationType() const
void SetUnit(FleetMetricUnit value)
void SetTags(TagsT &&value)
void SetQueryVersion(QueryVersionT &&value)
FleetMetricUnit GetUnit() const
bool IndexNameHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool UnitHasBeenSet() const
AWS_IOT_API Aws::String SerializePayload() const override
CreateFleetMetricRequest & WithUnit(FleetMetricUnit value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetIndexName() const
const Aws::Vector< Tag > & GetTags() const
CreateFleetMetricRequest & WithAggregationType(AggregationTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector