7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lightsail/model/ContainerServiceMetricName.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lightsail/model/MetricStatistic.h>
47 template<
typename ServiceNameT = Aws::String>
48 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
49 template<
typename ServiceNameT = Aws::String>
82 template<
typename StartTimeT = Aws::Utils::DateTime>
83 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
84 template<
typename StartTimeT = Aws::Utils::DateTime>
94 template<
typename EndTimeT = Aws::Utils::DateTime>
95 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
96 template<
typename EndTimeT = Aws::Utils::DateTime>
108 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
133 template<
typename StatisticsT = Aws::Vector<MetricStatistic>>
134 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet =
true; m_statistics = std::forward<StatisticsT>(value); }
135 template<
typename StatisticsT = Aws::Vector<MetricStatistic>>
142 bool m_serviceNameHasBeenSet =
false;
145 bool m_metricNameHasBeenSet =
false;
148 bool m_startTimeHasBeenSet =
false;
151 bool m_endTimeHasBeenSet =
false;
154 bool m_periodHasBeenSet =
false;
157 bool m_statisticsHasBeenSet =
false;
const Aws::Utils::DateTime & GetStartTime() const
GetContainerServiceMetricDataRequest & WithEndTime(EndTimeT &&value)
GetContainerServiceMetricDataRequest & AddStatistics(MetricStatistic value)
bool ServiceNameHasBeenSet() const
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
void SetStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
bool MetricNameHasBeenSet() const
GetContainerServiceMetricDataRequest & WithStatistics(StatisticsT &&value)
void SetPeriod(int value)
const Aws::Vector< MetricStatistic > & GetStatistics() const
ContainerServiceMetricName GetMetricName() const
const Aws::String & GetServiceName() const
GetContainerServiceMetricDataRequest & WithMetricName(ContainerServiceMetricName value)
void SetStatistics(StatisticsT &&value)
void SetServiceName(ServiceNameT &&value)
GetContainerServiceMetricDataRequest & WithPeriod(int value)
void SetMetricName(ContainerServiceMetricName value)
bool StatisticsHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LIGHTSAIL_API GetContainerServiceMetricDataRequest()=default
bool StartTimeHasBeenSet() const
bool PeriodHasBeenSet() const
GetContainerServiceMetricDataRequest & WithStartTime(StartTimeT &&value)
GetContainerServiceMetricDataRequest & WithServiceName(ServiceNameT &&value)
virtual const char * GetServiceRequestName() const override
bool EndTimeHasBeenSet() const
void SetEndTime(EndTimeT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
ContainerServiceMetricName
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector