7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/MetricName.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotwireless/model/AggregationPeriod.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/iotwireless/model/Dimension.h>
51 template<
typename QueryIdT = Aws::String>
52 void SetQueryId(QueryIdT&& value) { m_queryIdHasBeenSet =
true; m_queryId = std::forward<QueryIdT>(value); }
53 template<
typename QueryIdT = Aws::String>
73 template<
typename DimensionsT = Aws::Vector<Dimension>>
74 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions = std::forward<DimensionsT>(value); }
75 template<
typename DimensionsT = Aws::Vector<Dimension>>
77 template<
typename DimensionsT = Dimension>
78 SummaryMetricQuery&
AddDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions.emplace_back(std::forward<DimensionsT>(value));
return *
this; }
97 template<
typename StartTimestampT = Aws::Utils::DateTime>
98 void SetStartTimestamp(StartTimestampT&& value) { m_startTimestampHasBeenSet =
true; m_startTimestamp = std::forward<StartTimestampT>(value); }
99 template<
typename StartTimestampT = Aws::Utils::DateTime>
109 template<
typename EndTimestampT = Aws::Utils::DateTime>
110 void SetEndTimestamp(EndTimestampT&& value) { m_endTimestampHasBeenSet =
true; m_endTimestamp = std::forward<EndTimestampT>(value); }
111 template<
typename EndTimestampT = Aws::Utils::DateTime>
117 bool m_queryIdHasBeenSet =
false;
120 bool m_metricNameHasBeenSet =
false;
123 bool m_dimensionsHasBeenSet =
false;
126 bool m_aggregationPeriodHasBeenSet =
false;
129 bool m_startTimestampHasBeenSet =
false;
132 bool m_endTimestampHasBeenSet =
false;
bool EndTimestampHasBeenSet() const
bool DimensionsHasBeenSet() const
SummaryMetricQuery & WithMetricName(MetricName value)
const Aws::Vector< Dimension > & GetDimensions() const
bool QueryIdHasBeenSet() const
MetricName GetMetricName() const
void SetMetricName(MetricName value)
void SetAggregationPeriod(AggregationPeriod value)
const Aws::String & GetQueryId() const
SummaryMetricQuery & WithQueryId(QueryIdT &&value)
const Aws::Utils::DateTime & GetStartTimestamp() const
AggregationPeriod GetAggregationPeriod() const
AWS_IOTWIRELESS_API SummaryMetricQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
SummaryMetricQuery & WithDimensions(DimensionsT &&value)
SummaryMetricQuery & WithStartTimestamp(StartTimestampT &&value)
AWS_IOTWIRELESS_API SummaryMetricQuery(Aws::Utils::Json::JsonView jsonValue)
void SetEndTimestamp(EndTimestampT &&value)
AWS_IOTWIRELESS_API SummaryMetricQuery()=default
SummaryMetricQuery & WithAggregationPeriod(AggregationPeriod value)
bool MetricNameHasBeenSet() const
SummaryMetricQuery & WithEndTimestamp(EndTimestampT &&value)
void SetStartTimestamp(StartTimestampT &&value)
bool StartTimestampHasBeenSet() const
SummaryMetricQuery & AddDimensions(DimensionsT &&value)
bool AggregationPeriodHasBeenSet() const
const Aws::Utils::DateTime & GetEndTimestamp() const
void SetDimensions(DimensionsT &&value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQueryId(QueryIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue