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/BucketMetricName.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lightsail/model/MetricUnit.h>
14#include <aws/lightsail/model/MetricStatistic.h>
50 inline void SetBucketName(
const char* value) { m_bucketNameHasBeenSet =
true; m_bucketName.assign(value); }
115 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
164 bool m_bucketNameHasBeenSet =
false;
167 bool m_metricNameHasBeenSet =
false;
170 bool m_startTimeHasBeenSet =
false;
173 bool m_endTimeHasBeenSet =
false;
176 bool m_periodHasBeenSet =
false;
179 bool m_statisticsHasBeenSet =
false;
182 bool m_unitHasBeenSet =
false;
GetBucketMetricDataRequest & AddStatistics(MetricStatistic &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
bool PeriodHasBeenSet() const
GetBucketMetricDataRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetBucketMetricDataRequest & WithBucketName(const char *value)
GetBucketMetricDataRequest & WithBucketName(const Aws::String &value)
const Aws::String & GetBucketName() const
GetBucketMetricDataRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetBucketMetricDataRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetBucketMetricDataRequest & WithStatistics(Aws::Vector< MetricStatistic > &&value)
bool StartTimeHasBeenSet() const
void SetUnit(MetricUnit &&value)
void SetPeriod(int value)
bool UnitHasBeenSet() const
bool MetricNameHasBeenSet() const
bool StatisticsHasBeenSet() const
GetBucketMetricDataRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetBucketMetricDataRequest & WithUnit(MetricUnit &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool EndTimeHasBeenSet() const
void SetStartTime(const Aws::Utils::DateTime &value)
const BucketMetricName & GetMetricName() const
void SetUnit(const MetricUnit &value)
const Aws::Utils::DateTime & GetEndTime() const
void SetStatistics(Aws::Vector< MetricStatistic > &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetEndTime(const Aws::Utils::DateTime &value)
GetBucketMetricDataRequest & WithMetricName(BucketMetricName &&value)
void SetStatistics(const Aws::Vector< MetricStatistic > &value)
GetBucketMetricDataRequest & WithMetricName(const BucketMetricName &value)
GetBucketMetricDataRequest & WithStatistics(const Aws::Vector< MetricStatistic > &value)
void SetBucketName(const char *value)
GetBucketMetricDataRequest & WithPeriod(int value)
void SetBucketName(const Aws::String &value)
void SetMetricName(const BucketMetricName &value)
GetBucketMetricDataRequest & AddStatistics(const MetricStatistic &value)
virtual const char * GetServiceRequestName() const override
void SetBucketName(Aws::String &&value)
bool BucketNameHasBeenSet() const
GetBucketMetricDataRequest & WithBucketName(Aws::String &&value)
AWS_LIGHTSAIL_API GetBucketMetricDataRequest()
void SetMetricName(BucketMetricName &&value)
GetBucketMetricDataRequest & WithUnit(const MetricUnit &value)
const Aws::Vector< MetricStatistic > & GetStatistics() const
const MetricUnit & GetUnit() 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