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>
45 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
59 inline void SetQueryString(
const char* value) { m_queryStringHasBeenSet =
true; m_queryString.assign(value); }
84 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
96 inline void SetAggregationField(
const char* value) { m_aggregationFieldHasBeenSet =
true; m_aggregationField.assign(value); }
110 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
124 inline void SetQueryVersion(
const char* value) { m_queryVersionHasBeenSet =
true; m_queryVersion.assign(value); }
138 inline void SetIndexName(
const char* value) { m_indexNameHasBeenSet =
true; m_indexName.assign(value); }
165 inline void SetExpectedVersion(
long long value) { m_expectedVersionHasBeenSet =
true; m_expectedVersion = value; }
171 bool m_metricNameHasBeenSet =
false;
174 bool m_queryStringHasBeenSet =
false;
177 bool m_aggregationTypeHasBeenSet =
false;
180 bool m_periodHasBeenSet =
false;
183 bool m_aggregationFieldHasBeenSet =
false;
186 bool m_descriptionHasBeenSet =
false;
189 bool m_queryVersionHasBeenSet =
false;
192 bool m_indexNameHasBeenSet =
false;
195 bool m_unitHasBeenSet =
false;
197 long long m_expectedVersion;
198 bool m_expectedVersionHasBeenSet =
false;
const Aws::String & GetQueryString() const
UpdateFleetMetricRequest & WithMetricName(const Aws::String &value)
void SetAggregationType(AggregationType &&value)
void SetDescription(const char *value)
bool MetricNameHasBeenSet() const
UpdateFleetMetricRequest & WithAggregationField(const Aws::String &value)
UpdateFleetMetricRequest & WithExpectedVersion(long long value)
const Aws::String & GetIndexName() const
const Aws::String & GetAggregationField() const
const Aws::String & GetMetricName() const
UpdateFleetMetricRequest & WithQueryVersion(const char *value)
bool UnitHasBeenSet() const
UpdateFleetMetricRequest & WithQueryVersion(const Aws::String &value)
void SetMetricName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetQueryVersion(const char *value)
void SetQueryString(const char *value)
bool AggregationFieldHasBeenSet() const
bool QueryVersionHasBeenSet() const
void SetUnit(const FleetMetricUnit &value)
UpdateFleetMetricRequest & WithUnit(FleetMetricUnit &&value)
UpdateFleetMetricRequest & WithDescription(const Aws::String &value)
void SetQueryString(Aws::String &&value)
bool ExpectedVersionHasBeenSet() const
UpdateFleetMetricRequest & WithIndexName(const char *value)
bool IndexNameHasBeenSet() const
void SetQueryVersion(const Aws::String &value)
UpdateFleetMetricRequest & WithAggregationField(const char *value)
void SetAggregationType(const AggregationType &value)
void SetMetricName(const char *value)
bool DescriptionHasBeenSet() const
UpdateFleetMetricRequest & WithIndexName(const Aws::String &value)
void SetMetricName(Aws::String &&value)
void SetExpectedVersion(long long value)
const Aws::String & GetDescription() const
void SetQueryString(const Aws::String &value)
UpdateFleetMetricRequest & WithQueryVersion(Aws::String &&value)
AWS_IOT_API UpdateFleetMetricRequest()
void SetAggregationField(const char *value)
bool QueryStringHasBeenSet() const
void SetIndexName(const Aws::String &value)
UpdateFleetMetricRequest & WithIndexName(Aws::String &&value)
void SetPeriod(int value)
UpdateFleetMetricRequest & WithQueryString(const Aws::String &value)
void SetIndexName(Aws::String &&value)
void SetQueryVersion(Aws::String &&value)
bool PeriodHasBeenSet() const
UpdateFleetMetricRequest & WithQueryString(const char *value)
UpdateFleetMetricRequest & WithQueryString(Aws::String &&value)
UpdateFleetMetricRequest & WithAggregationType(AggregationType &&value)
UpdateFleetMetricRequest & WithMetricName(Aws::String &&value)
void SetAggregationField(const Aws::String &value)
UpdateFleetMetricRequest & WithAggregationField(Aws::String &&value)
long long GetExpectedVersion() const
UpdateFleetMetricRequest & WithAggregationType(const AggregationType &value)
UpdateFleetMetricRequest & WithDescription(const char *value)
UpdateFleetMetricRequest & WithUnit(const FleetMetricUnit &value)
void SetDescription(Aws::String &&value)
UpdateFleetMetricRequest & WithPeriod(int value)
void SetUnit(FleetMetricUnit &&value)
void SetAggregationField(Aws::String &&value)
AWS_IOT_API Aws::String SerializePayload() const override
bool AggregationTypeHasBeenSet() const
const Aws::String & GetQueryVersion() const
UpdateFleetMetricRequest & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
UpdateFleetMetricRequest & WithMetricName(const char *value)
const FleetMetricUnit & GetUnit() const
void SetIndexName(const char *value)
const AggregationType & GetAggregationType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String