7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/AggregationType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iot/model/FleetMetricUnit.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
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>
54 template<
typename QueryStringT = Aws::String>
55 void SetQueryString(QueryStringT&& value) { m_queryStringHasBeenSet =
true; m_queryString = std::forward<QueryStringT>(value); }
56 template<
typename QueryStringT = Aws::String>
65 template<
typename AggregationTypeT = AggregationType>
66 void SetAggregationType(AggregationTypeT&& value) { m_aggregationTypeHasBeenSet =
true; m_aggregationType = std::forward<AggregationTypeT>(value); }
67 template<
typename AggregationTypeT = AggregationType>
77 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
86 template<
typename AggregationFieldT = Aws::String>
87 void SetAggregationField(AggregationFieldT&& value) { m_aggregationFieldHasBeenSet =
true; m_aggregationField = std::forward<AggregationFieldT>(value); }
88 template<
typename AggregationFieldT = Aws::String>
97 template<
typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
99 template<
typename DescriptionT = Aws::String>
108 template<
typename QueryVersionT = Aws::String>
109 void SetQueryVersion(QueryVersionT&& value) { m_queryVersionHasBeenSet =
true; m_queryVersion = std::forward<QueryVersionT>(value); }
110 template<
typename QueryVersionT = Aws::String>
119 template<
typename IndexNameT = Aws::String>
120 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
121 template<
typename IndexNameT = Aws::String>
130 template<
typename CreationDateT = Aws::Utils::DateTime>
131 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
132 template<
typename CreationDateT = Aws::Utils::DateTime>
141 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
142 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
143 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
164 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
173 template<
typename MetricArnT = Aws::String>
174 void SetMetricArn(MetricArnT&& value) { m_metricArnHasBeenSet =
true; m_metricArn = std::forward<MetricArnT>(value); }
175 template<
typename MetricArnT = Aws::String>
182 template<
typename RequestIdT = Aws::String>
183 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
184 template<
typename RequestIdT = Aws::String>
190 bool m_metricNameHasBeenSet =
false;
193 bool m_queryStringHasBeenSet =
false;
196 bool m_aggregationTypeHasBeenSet =
false;
199 bool m_periodHasBeenSet =
false;
202 bool m_aggregationFieldHasBeenSet =
false;
205 bool m_descriptionHasBeenSet =
false;
208 bool m_queryVersionHasBeenSet =
false;
211 bool m_indexNameHasBeenSet =
false;
214 bool m_creationDateHasBeenSet =
false;
217 bool m_lastModifiedDateHasBeenSet =
false;
220 bool m_unitHasBeenSet =
false;
222 long long m_version{0};
223 bool m_versionHasBeenSet =
false;
226 bool m_metricArnHasBeenSet =
false;
229 bool m_requestIdHasBeenSet =
false;
void SetCreationDate(CreationDateT &&value)
DescribeFleetMetricResult & WithPeriod(int value)
const Aws::Utils::DateTime & GetCreationDate() const
AWS_IOT_API DescribeFleetMetricResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFleetMetricResult & WithQueryString(QueryStringT &&value)
long long GetVersion() const
DescribeFleetMetricResult & WithAggregationField(AggregationFieldT &&value)
const Aws::String & GetQueryVersion() const
const Aws::String & GetDescription() const
void SetAggregationType(AggregationTypeT &&value)
const Aws::String & GetMetricName() const
void SetVersion(long long value)
AWS_IOT_API DescribeFleetMetricResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetIndexName() const
void SetQueryString(QueryStringT &&value)
FleetMetricUnit GetUnit() const
void SetIndexName(IndexNameT &&value)
void SetMetricArn(MetricArnT &&value)
DescribeFleetMetricResult & WithLastModifiedDate(LastModifiedDateT &&value)
void SetUnit(FleetMetricUnit value)
void SetMetricName(MetricNameT &&value)
const Aws::String & GetQueryString() const
DescribeFleetMetricResult & WithAggregationType(AggregationTypeT &&value)
void SetPeriod(int value)
DescribeFleetMetricResult & WithIndexName(IndexNameT &&value)
DescribeFleetMetricResult & WithQueryVersion(QueryVersionT &&value)
DescribeFleetMetricResult & WithDescription(DescriptionT &&value)
const Aws::String & GetAggregationField() const
DescribeFleetMetricResult & WithVersion(long long value)
DescribeFleetMetricResult & WithMetricArn(MetricArnT &&value)
DescribeFleetMetricResult & WithRequestId(RequestIdT &&value)
void SetQueryVersion(QueryVersionT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
const AggregationType & GetAggregationType() const
const Aws::String & GetRequestId() const
DescribeFleetMetricResult & WithCreationDate(CreationDateT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
const Aws::String & GetMetricArn() const
DescribeFleetMetricResult & WithMetricName(MetricNameT &&value)
DescribeFleetMetricResult & WithUnit(FleetMetricUnit value)
void SetRequestId(RequestIdT &&value)
void SetAggregationField(AggregationFieldT &&value)
AWS_IOT_API DescribeFleetMetricResult()=default
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue