7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/QueryDataPoint.h>
11#include <aws/resiliencehubv2/model/QueryGranularity.h>
22namespace resiliencehubv2 {
43 template <
typename StartTimeT = Aws::Utils::DateTime>
45 m_startTimeHasBeenSet =
true;
46 m_startTime = std::forward<StartTimeT>(value);
48 template <
typename StartTimeT = Aws::Utils::DateTime>
61 template <
typename EndTimeT = Aws::Utils::DateTime>
63 m_endTimeHasBeenSet =
true;
64 m_endTime = std::forward<EndTimeT>(value);
66 template <
typename EndTimeT = Aws::Utils::DateTime>
80 m_granularityHasBeenSet =
true;
81 m_granularity = value;
95 template <
typename DataPo
intsT = Aws::Vector<QueryDataPo
int>>
97 m_dataPointsHasBeenSet =
true;
98 m_dataPoints = std::forward<DataPointsT>(value);
100 template <
typename DataPo
intsT = Aws::Vector<QueryDataPo
int>>
105 template <
typename DataPo
intsT = QueryDataPo
int>
107 m_dataPointsHasBeenSet =
true;
108 m_dataPoints.emplace_back(std::forward<DataPointsT>(value));
120 bool m_startTimeHasBeenSet =
false;
121 bool m_endTimeHasBeenSet =
false;
122 bool m_granularityHasBeenSet =
false;
123 bool m_dataPointsHasBeenSet =
false;
const Aws::Utils::DateTime & GetStartTime() const
bool DataPointsHasBeenSet() const
QueryRange & WithStartTime(StartTimeT &&value)
void SetEndTime(EndTimeT &&value)
QueryRange & WithDataPoints(DataPointsT &&value)
bool StartTimeHasBeenSet() const
AWS_RESILIENCEHUBV2_API QueryRange & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< QueryDataPoint > & GetDataPoints() const
void SetGranularity(QueryGranularity value)
QueryRange & WithEndTime(EndTimeT &&value)
QueryRange & WithGranularity(QueryGranularity value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
QueryRange & AddDataPoints(DataPointsT &&value)
bool GranularityHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
AWS_RESILIENCEHUBV2_API QueryRange()=default
void SetDataPoints(DataPointsT &&value)
bool EndTimeHasBeenSet() const
AWS_RESILIENCEHUBV2_API QueryRange(Aws::Utils::Json::JsonView jsonValue)
QueryGranularity GetGranularity() const
void SetStartTime(StartTimeT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue