7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/AggregationType.h>
12#include <aws/iot/model/FleetMetricUnit.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename MetricNameT = Aws::String>
40 m_metricNameHasBeenSet =
true;
41 m_metricName = std::forward<MetricNameT>(value);
43 template <
typename MetricNameT = Aws::String>
55 template <
typename QueryStringT = Aws::String>
57 m_queryStringHasBeenSet =
true;
58 m_queryString = std::forward<QueryStringT>(value);
60 template <
typename QueryStringT = Aws::String>
72 template <
typename AggregationTypeT = AggregationType>
74 m_aggregationTypeHasBeenSet =
true;
75 m_aggregationType = std::forward<AggregationTypeT>(value);
77 template <
typename AggregationTypeT = AggregationType>
91 m_periodHasBeenSet =
true;
105 template <
typename AggregationFieldT = Aws::String>
107 m_aggregationFieldHasBeenSet =
true;
108 m_aggregationField = std::forward<AggregationFieldT>(value);
110 template <
typename AggregationFieldT = Aws::String>
122 template <
typename DescriptionT = Aws::String>
124 m_descriptionHasBeenSet =
true;
125 m_description = std::forward<DescriptionT>(value);
127 template <
typename DescriptionT = Aws::String>
139 template <
typename QueryVersionT = Aws::String>
141 m_queryVersionHasBeenSet =
true;
142 m_queryVersion = std::forward<QueryVersionT>(value);
144 template <
typename QueryVersionT = Aws::String>
156 template <
typename IndexNameT = Aws::String>
158 m_indexNameHasBeenSet =
true;
159 m_indexName = std::forward<IndexNameT>(value);
161 template <
typename IndexNameT = Aws::String>
173 template <
typename CreationDateT = Aws::Utils::DateTime>
175 m_creationDateHasBeenSet =
true;
176 m_creationDate = std::forward<CreationDateT>(value);
178 template <
typename CreationDateT = Aws::Utils::DateTime>
190 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
192 m_lastModifiedDateHasBeenSet =
true;
193 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
195 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
211 m_unitHasBeenSet =
true;
226 m_versionHasBeenSet =
true;
240 template <
typename MetricArnT = Aws::String>
242 m_metricArnHasBeenSet =
true;
243 m_metricArn = std::forward<MetricArnT>(value);
245 template <
typename MetricArnT = Aws::String>
255 template <
typename RequestIdT = Aws::String>
257 m_requestIdHasBeenSet =
true;
258 m_requestId = std::forward<RequestIdT>(value);
260 template <
typename RequestIdT = Aws::String>
291 long long m_version{0};
297 bool m_metricNameHasBeenSet =
false;
298 bool m_queryStringHasBeenSet =
false;
299 bool m_aggregationTypeHasBeenSet =
false;
300 bool m_periodHasBeenSet =
false;
301 bool m_aggregationFieldHasBeenSet =
false;
302 bool m_descriptionHasBeenSet =
false;
303 bool m_queryVersionHasBeenSet =
false;
304 bool m_indexNameHasBeenSet =
false;
305 bool m_creationDateHasBeenSet =
false;
306 bool m_lastModifiedDateHasBeenSet =
false;
307 bool m_unitHasBeenSet =
false;
308 bool m_versionHasBeenSet =
false;
309 bool m_metricArnHasBeenSet =
false;
310 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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