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/LoadBalancerMetricName.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/lightsail/model/MetricUnit.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/lightsail/model/MetricStatistic.h>
50 inline void SetLoadBalancerName(
const char* value) { m_loadBalancerNameHasBeenSet =
true; m_loadBalancerName.assign(value); }
147 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
219 bool m_loadBalancerNameHasBeenSet =
false;
222 bool m_metricNameHasBeenSet =
false;
225 bool m_periodHasBeenSet =
false;
228 bool m_startTimeHasBeenSet =
false;
231 bool m_endTimeHasBeenSet =
false;
234 bool m_unitHasBeenSet =
false;
237 bool m_statisticsHasBeenSet =
false;
const Aws::Utils::DateTime & GetStartTime() const
void SetEndTime(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
bool UnitHasBeenSet() const
bool PeriodHasBeenSet() const
void SetStartTime(Aws::Utils::DateTime &&value)
GetLoadBalancerMetricDataRequest & WithMetricName(LoadBalancerMetricName &&value)
GetLoadBalancerMetricDataRequest & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Vector< MetricStatistic > & GetStatistics() const
GetLoadBalancerMetricDataRequest & WithMetricName(const LoadBalancerMetricName &value)
GetLoadBalancerMetricDataRequest & WithLoadBalancerName(Aws::String &&value)
void SetLoadBalancerName(Aws::String &&value)
GetLoadBalancerMetricDataRequest & WithStatistics(const Aws::Vector< MetricStatistic > &value)
GetLoadBalancerMetricDataRequest & WithUnit(MetricUnit &&value)
void SetUnit(const MetricUnit &value)
void SetMetricName(LoadBalancerMetricName &&value)
void SetLoadBalancerName(const Aws::String &value)
GetLoadBalancerMetricDataRequest & WithStatistics(Aws::Vector< MetricStatistic > &&value)
const LoadBalancerMetricName & GetMetricName() const
void SetPeriod(int value)
GetLoadBalancerMetricDataRequest & AddStatistics(const MetricStatistic &value)
GetLoadBalancerMetricDataRequest & WithLoadBalancerName(const Aws::String &value)
bool LoadBalancerNameHasBeenSet() const
const Aws::String & GetLoadBalancerName() const
GetLoadBalancerMetricDataRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetLoadBalancerName(const char *value)
void SetStatistics(Aws::Vector< MetricStatistic > &&value)
AWS_LIGHTSAIL_API GetLoadBalancerMetricDataRequest()
bool EndTimeHasBeenSet() const
GetLoadBalancerMetricDataRequest & WithPeriod(int value)
GetLoadBalancerMetricDataRequest & WithStartTime(Aws::Utils::DateTime &&value)
bool StartTimeHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetLoadBalancerMetricDataRequest & WithLoadBalancerName(const char *value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
void SetUnit(MetricUnit &&value)
void SetMetricName(const LoadBalancerMetricName &value)
GetLoadBalancerMetricDataRequest & WithStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetStatistics(const Aws::Vector< MetricStatistic > &value)
const MetricUnit & GetUnit() const
GetLoadBalancerMetricDataRequest & AddStatistics(MetricStatistic &&value)
GetLoadBalancerMetricDataRequest & WithUnit(const MetricUnit &value)
const Aws::Utils::DateTime & GetEndTime() const
bool StatisticsHasBeenSet() const
bool MetricNameHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector