7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/MetricQueryStatus.h>
10#include <aws/iotwireless/model/MetricName.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iotwireless/model/AggregationPeriod.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/iotwireless/model/Dimension.h>
15#include <aws/iotwireless/model/MetricQueryValue.h>
56 inline void SetQueryId(
const char* value) { m_queryIdHasBeenSet =
true; m_queryId.assign(value); }
82 inline void SetError(
const char* value) { m_errorHasBeenSet =
true; m_error.assign(value); }
187 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
195 bool m_queryIdHasBeenSet =
false;
198 bool m_queryStatusHasBeenSet =
false;
201 bool m_errorHasBeenSet =
false;
204 bool m_metricNameHasBeenSet =
false;
207 bool m_dimensionsHasBeenSet =
false;
210 bool m_aggregationPeriodHasBeenSet =
false;
213 bool m_startTimestampHasBeenSet =
false;
216 bool m_endTimestampHasBeenSet =
false;
219 bool m_timestampsHasBeenSet =
false;
222 bool m_valuesHasBeenSet =
false;
225 bool m_unitHasBeenSet =
false;
void SetValues(const Aws::Vector< MetricQueryValue > &value)
bool UnitHasBeenSet() const
bool DimensionsHasBeenSet() const
const Aws::Vector< MetricQueryValue > & GetValues() const
AWS_IOTWIRELESS_API SummaryMetricQueryResult(Aws::Utils::Json::JsonView jsonValue)
SummaryMetricQueryResult & WithQueryStatus(MetricQueryStatus &&value)
AWS_IOTWIRELESS_API SummaryMetricQueryResult()
const MetricName & GetMetricName() const
SummaryMetricQueryResult & WithTimestamps(Aws::Vector< Aws::Utils::DateTime > &&value)
SummaryMetricQueryResult & WithDimensions(const Aws::Vector< Dimension > &value)
SummaryMetricQueryResult & WithQueryId(const char *value)
SummaryMetricQueryResult & WithDimensions(Aws::Vector< Dimension > &&value)
SummaryMetricQueryResult & AddDimensions(const Dimension &value)
void SetStartTimestamp(const Aws::Utils::DateTime &value)
void SetUnit(Aws::String &&value)
void SetMetricName(const MetricName &value)
void SetTimestamps(Aws::Vector< Aws::Utils::DateTime > &&value)
SummaryMetricQueryResult & WithUnit(Aws::String &&value)
const MetricQueryStatus & GetQueryStatus() const
SummaryMetricQueryResult & WithValues(const Aws::Vector< MetricQueryValue > &value)
AWS_IOTWIRELESS_API SummaryMetricQueryResult & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TimestampsHasBeenSet() const
SummaryMetricQueryResult & WithValues(Aws::Vector< MetricQueryValue > &&value)
const Aws::String & GetUnit() const
void SetEndTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTimestamp() const
void SetQueryStatus(const MetricQueryStatus &value)
SummaryMetricQueryResult & AddTimestamps(Aws::Utils::DateTime &&value)
void SetQueryId(const char *value)
void SetStartTimestamp(Aws::Utils::DateTime &&value)
SummaryMetricQueryResult & WithError(Aws::String &&value)
void SetDimensions(Aws::Vector< Dimension > &&value)
void SetQueryStatus(MetricQueryStatus &&value)
SummaryMetricQueryResult & AddTimestamps(const Aws::Utils::DateTime &value)
SummaryMetricQueryResult & AddDimensions(Dimension &&value)
SummaryMetricQueryResult & WithStartTimestamp(const Aws::Utils::DateTime &value)
bool AggregationPeriodHasBeenSet() const
void SetAggregationPeriod(const AggregationPeriod &value)
bool QueryStatusHasBeenSet() const
const Aws::Vector< Aws::Utils::DateTime > & GetTimestamps() const
SummaryMetricQueryResult & WithMetricName(MetricName &&value)
SummaryMetricQueryResult & WithQueryId(Aws::String &&value)
const Aws::Vector< Dimension > & GetDimensions() const
SummaryMetricQueryResult & WithQueryStatus(const MetricQueryStatus &value)
void SetMetricName(MetricName &&value)
void SetQueryId(Aws::String &&value)
bool EndTimestampHasBeenSet() const
void SetError(const Aws::String &value)
void SetQueryId(const Aws::String &value)
SummaryMetricQueryResult & WithEndTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetError() const
void SetError(Aws::String &&value)
void SetEndTimestamp(Aws::Utils::DateTime &&value)
void SetDimensions(const Aws::Vector< Dimension > &value)
const AggregationPeriod & GetAggregationPeriod() const
bool ValuesHasBeenSet() const
void SetAggregationPeriod(AggregationPeriod &&value)
bool ErrorHasBeenSet() const
SummaryMetricQueryResult & WithAggregationPeriod(AggregationPeriod &&value)
SummaryMetricQueryResult & WithEndTimestamp(Aws::Utils::DateTime &&value)
SummaryMetricQueryResult & WithQueryId(const Aws::String &value)
SummaryMetricQueryResult & WithError(const char *value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetError(const char *value)
SummaryMetricQueryResult & AddValues(MetricQueryValue &&value)
SummaryMetricQueryResult & WithUnit(const Aws::String &value)
const Aws::String & GetQueryId() const
SummaryMetricQueryResult & WithStartTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTimestamp() const
bool StartTimestampHasBeenSet() const
bool QueryIdHasBeenSet() const
bool MetricNameHasBeenSet() const
void SetUnit(const char *value)
void SetTimestamps(const Aws::Vector< Aws::Utils::DateTime > &value)
SummaryMetricQueryResult & WithError(const Aws::String &value)
void SetValues(Aws::Vector< MetricQueryValue > &&value)
SummaryMetricQueryResult & WithTimestamps(const Aws::Vector< Aws::Utils::DateTime > &value)
SummaryMetricQueryResult & AddValues(const MetricQueryValue &value)
void SetUnit(const Aws::String &value)
SummaryMetricQueryResult & WithUnit(const char *value)
SummaryMetricQueryResult & WithAggregationPeriod(const AggregationPeriod &value)
SummaryMetricQueryResult & WithMetricName(const MetricName &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