7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/IoTRequest.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/AggregationType.h>
12#include <aws/iot/model/FleetMetricUnit.h>
13#include <aws/iot/model/Tag.h>
41 template <
typename MetricNameT = Aws::String>
43 m_metricNameHasBeenSet =
true;
44 m_metricName = std::forward<MetricNameT>(value);
46 template <
typename MetricNameT = Aws::String>
59 template <
typename QueryStringT = Aws::String>
61 m_queryStringHasBeenSet =
true;
62 m_queryString = std::forward<QueryStringT>(value);
64 template <
typename QueryStringT = Aws::String>
77 template <
typename AggregationTypeT = AggregationType>
79 m_aggregationTypeHasBeenSet =
true;
80 m_aggregationType = std::forward<AggregationTypeT>(value);
82 template <
typename AggregationTypeT = AggregationType>
97 m_periodHasBeenSet =
true;
112 template <
typename AggregationFieldT = Aws::String>
114 m_aggregationFieldHasBeenSet =
true;
115 m_aggregationField = std::forward<AggregationFieldT>(value);
117 template <
typename AggregationFieldT = Aws::String>
130 template <
typename DescriptionT = Aws::String>
132 m_descriptionHasBeenSet =
true;
133 m_description = std::forward<DescriptionT>(value);
135 template <
typename DescriptionT = Aws::String>
148 template <
typename QueryVersionT = Aws::String>
150 m_queryVersionHasBeenSet =
true;
151 m_queryVersion = std::forward<QueryVersionT>(value);
153 template <
typename QueryVersionT = Aws::String>
166 template <
typename IndexNameT = Aws::String>
168 m_indexNameHasBeenSet =
true;
169 m_indexName = std::forward<IndexNameT>(value);
171 template <
typename IndexNameT = Aws::String>
188 m_unitHasBeenSet =
true;
203 template <
typename TagsT = Aws::Vector<Tag>>
205 m_tagsHasBeenSet =
true;
206 m_tags = std::forward<TagsT>(value);
208 template <
typename TagsT = Aws::Vector<Tag>>
210 SetTags(std::forward<TagsT>(value));
213 template <
typename TagsT = Tag>
215 m_tagsHasBeenSet =
true;
216 m_tags.emplace_back(std::forward<TagsT>(value));
240 bool m_metricNameHasBeenSet =
false;
241 bool m_queryStringHasBeenSet =
false;
242 bool m_aggregationTypeHasBeenSet =
false;
243 bool m_periodHasBeenSet =
false;
244 bool m_aggregationFieldHasBeenSet =
false;
245 bool m_descriptionHasBeenSet =
false;
246 bool m_queryVersionHasBeenSet =
false;
247 bool m_indexNameHasBeenSet =
false;
248 bool m_unitHasBeenSet =
false;
249 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