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>
47 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
61 inline void SetQueryString(
const char* value) { m_queryStringHasBeenSet =
true; m_queryString.assign(value); }
86 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
98 inline void SetAggregationField(
const char* value) { m_aggregationFieldHasBeenSet =
true; m_aggregationField.assign(value); }
112 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
126 inline void SetQueryVersion(
const char* value) { m_queryVersionHasBeenSet =
true; m_queryVersion.assign(value); }
140 inline void SetIndexName(
const char* value) { m_indexNameHasBeenSet =
true; m_indexName.assign(value); }
177 bool m_metricNameHasBeenSet =
false;
180 bool m_queryStringHasBeenSet =
false;
183 bool m_aggregationTypeHasBeenSet =
false;
186 bool m_periodHasBeenSet =
false;
189 bool m_aggregationFieldHasBeenSet =
false;
192 bool m_descriptionHasBeenSet =
false;
195 bool m_queryVersionHasBeenSet =
false;
198 bool m_indexNameHasBeenSet =
false;
201 bool m_unitHasBeenSet =
false;
204 bool m_tagsHasBeenSet =
false;
void SetIndexName(const Aws::String &value)
bool MetricNameHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateFleetMetricRequest & WithUnit(const FleetMetricUnit &value)
CreateFleetMetricRequest & WithDescription(Aws::String &&value)
void SetAggregationField(const char *value)
void SetAggregationField(Aws::String &&value)
void SetAggregationField(const Aws::String &value)
CreateFleetMetricRequest & WithIndexName(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateFleetMetricRequest & WithAggregationField(const Aws::String &value)
void SetDescription(const char *value)
void SetMetricName(Aws::String &&value)
const Aws::String & GetDescription() const
CreateFleetMetricRequest & WithAggregationType(const AggregationType &value)
void SetAggregationType(AggregationType &&value)
CreateFleetMetricRequest & WithAggregationType(AggregationType &&value)
CreateFleetMetricRequest & WithQueryString(Aws::String &&value)
CreateFleetMetricRequest & WithDescription(const char *value)
void SetIndexName(Aws::String &&value)
const Aws::String & GetAggregationField() const
CreateFleetMetricRequest & WithPeriod(int value)
bool AggregationFieldHasBeenSet() const
AWS_IOT_API CreateFleetMetricRequest()
CreateFleetMetricRequest & WithQueryString(const char *value)
bool QueryVersionHasBeenSet() const
bool PeriodHasBeenSet() const
CreateFleetMetricRequest & WithAggregationField(const char *value)
void SetAggregationType(const AggregationType &value)
const Aws::String & GetMetricName() const
void SetPeriod(int value)
bool TagsHasBeenSet() const
void SetQueryString(const Aws::String &value)
const Aws::String & GetQueryString() const
CreateFleetMetricRequest & WithQueryVersion(const char *value)
const Aws::String & GetQueryVersion() const
CreateFleetMetricRequest & WithTags(Aws::Vector< Tag > &&value)
void SetMetricName(const Aws::String &value)
bool AggregationTypeHasBeenSet() const
CreateFleetMetricRequest & WithQueryString(const Aws::String &value)
void SetQueryVersion(Aws::String &&value)
bool QueryStringHasBeenSet() const
const AggregationType & GetAggregationType() const
void SetDescription(const Aws::String &value)
CreateFleetMetricRequest & WithQueryVersion(Aws::String &&value)
const FleetMetricUnit & GetUnit() const
CreateFleetMetricRequest & WithDescription(const Aws::String &value)
void SetQueryVersion(const char *value)
CreateFleetMetricRequest & AddTags(const Tag &value)
bool IndexNameHasBeenSet() const
CreateFleetMetricRequest & WithQueryVersion(const Aws::String &value)
CreateFleetMetricRequest & AddTags(Tag &&value)
void SetMetricName(const char *value)
CreateFleetMetricRequest & WithMetricName(const char *value)
CreateFleetMetricRequest & WithAggregationField(Aws::String &&value)
CreateFleetMetricRequest & WithIndexName(const Aws::String &value)
void SetQueryString(Aws::String &&value)
void SetQueryVersion(const Aws::String &value)
bool UnitHasBeenSet() const
void SetDescription(Aws::String &&value)
void SetQueryString(const char *value)
CreateFleetMetricRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_IOT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateFleetMetricRequest & WithUnit(FleetMetricUnit &&value)
CreateFleetMetricRequest & WithMetricName(Aws::String &&value)
void SetUnit(FleetMetricUnit &&value)
CreateFleetMetricRequest & WithIndexName(Aws::String &&value)
const Aws::String & GetIndexName() const
const Aws::Vector< Tag > & GetTags() const
void SetIndexName(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetUnit(const FleetMetricUnit &value)
CreateFleetMetricRequest & WithMetricName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector