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>
49 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
112 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
147 bool m_serviceNameHasBeenSet =
false;
150 bool m_metricNameHasBeenSet =
false;
153 bool m_startTimeHasBeenSet =
false;
156 bool m_endTimeHasBeenSet =
false;
159 bool m_periodHasBeenSet =
false;
162 bool m_statisticsHasBeenSet =
false;
const Aws::Utils::DateTime & GetStartTime() const
GetContainerServiceMetricDataRequest & WithMetricName(ContainerServiceMetricName &&value)
GetContainerServiceMetricDataRequest & WithServiceName(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
bool ServiceNameHasBeenSet() const
void SetStatistics(Aws::Vector< MetricStatistic > &&value)
GetContainerServiceMetricDataRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetContainerServiceMetricDataRequest & WithEndTime(Aws::Utils::DateTime &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
GetContainerServiceMetricDataRequest & WithEndTime(const Aws::Utils::DateTime &value)
const ContainerServiceMetricName & GetMetricName() const
AWS_LIGHTSAIL_API GetContainerServiceMetricDataRequest()
const Aws::Utils::DateTime & GetEndTime() const
bool MetricNameHasBeenSet() const
void SetPeriod(int value)
GetContainerServiceMetricDataRequest & WithServiceName(const char *value)
GetContainerServiceMetricDataRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetContainerServiceMetricDataRequest & AddStatistics(MetricStatistic &&value)
const Aws::Vector< MetricStatistic > & GetStatistics() const
void SetEndTime(const Aws::Utils::DateTime &value)
GetContainerServiceMetricDataRequest & AddStatistics(const MetricStatistic &value)
void SetEndTime(Aws::Utils::DateTime &&value)
const Aws::String & GetServiceName() const
void SetServiceName(Aws::String &&value)
void SetServiceName(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetStatistics(const Aws::Vector< MetricStatistic > &value)
GetContainerServiceMetricDataRequest & WithPeriod(int value)
void SetMetricName(ContainerServiceMetricName &&value)
bool StatisticsHasBeenSet() const
void SetMetricName(const ContainerServiceMetricName &value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool StartTimeHasBeenSet() const
GetContainerServiceMetricDataRequest & WithStatistics(Aws::Vector< MetricStatistic > &&value)
bool PeriodHasBeenSet() const
GetContainerServiceMetricDataRequest & WithMetricName(const ContainerServiceMetricName &value)
GetContainerServiceMetricDataRequest & WithServiceName(Aws::String &&value)
GetContainerServiceMetricDataRequest & WithStatistics(const Aws::Vector< MetricStatistic > &value)
virtual const char * GetServiceRequestName() const override
void SetServiceName(const Aws::String &value)
bool EndTimeHasBeenSet() const
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