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/RelationalDatabaseMetricName.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 SetRelationalDatabaseName(
const char* value) { m_relationalDatabaseNameHasBeenSet =
true; m_relationalDatabaseName.assign(value); }
106 inline void SetPeriod(
int value) { m_periodHasBeenSet =
true; m_period = value; }
186 bool m_relationalDatabaseNameHasBeenSet =
false;
189 bool m_metricNameHasBeenSet =
false;
192 bool m_periodHasBeenSet =
false;
195 bool m_startTimeHasBeenSet =
false;
198 bool m_endTimeHasBeenSet =
false;
201 bool m_unitHasBeenSet =
false;
204 bool m_statisticsHasBeenSet =
false;
bool RelationalDatabaseNameHasBeenSet() const
GetRelationalDatabaseMetricDataRequest & AddStatistics(MetricStatistic &&value)
GetRelationalDatabaseMetricDataRequest & WithStatistics(Aws::Vector< MetricStatistic > &&value)
void SetUnit(MetricUnit &&value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Vector< MetricStatistic > & GetStatistics() const
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetRelationalDatabaseMetricDataRequest & WithPeriod(int value)
void SetStatistics(const Aws::Vector< MetricStatistic > &value)
const Aws::String & GetRelationalDatabaseName() const
void SetEndTime(Aws::Utils::DateTime &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
bool MetricNameHasBeenSet() const
GetRelationalDatabaseMetricDataRequest & AddStatistics(const MetricStatistic &value)
void SetStatistics(Aws::Vector< MetricStatistic > &&value)
GetRelationalDatabaseMetricDataRequest & WithRelationalDatabaseName(Aws::String &&value)
const MetricUnit & GetUnit() const
void SetStartTime(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
GetRelationalDatabaseMetricDataRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetRelationalDatabaseMetricDataRequest & WithStartTime(Aws::Utils::DateTime &&value)
bool StatisticsHasBeenSet() const
void SetStartTime(Aws::Utils::DateTime &&value)
GetRelationalDatabaseMetricDataRequest & WithEndTime(Aws::Utils::DateTime &&value)
AWS_LIGHTSAIL_API GetRelationalDatabaseMetricDataRequest()
void SetMetricName(RelationalDatabaseMetricName &&value)
GetRelationalDatabaseMetricDataRequest & WithRelationalDatabaseName(const Aws::String &value)
GetRelationalDatabaseMetricDataRequest & WithStatistics(const Aws::Vector< MetricStatistic > &value)
GetRelationalDatabaseMetricDataRequest & WithRelationalDatabaseName(const char *value)
GetRelationalDatabaseMetricDataRequest & WithUnit(MetricUnit &&value)
const Aws::Utils::DateTime & GetEndTime() const
void SetRelationalDatabaseName(const Aws::String &value)
GetRelationalDatabaseMetricDataRequest & WithMetricName(RelationalDatabaseMetricName &&value)
void SetPeriod(int value)
bool StartTimeHasBeenSet() const
const RelationalDatabaseMetricName & GetMetricName() const
bool UnitHasBeenSet() const
GetRelationalDatabaseMetricDataRequest & WithMetricName(const RelationalDatabaseMetricName &value)
void SetRelationalDatabaseName(const char *value)
void SetRelationalDatabaseName(Aws::String &&value)
bool EndTimeHasBeenSet() const
void SetUnit(const MetricUnit &value)
GetRelationalDatabaseMetricDataRequest & WithStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetMetricName(const RelationalDatabaseMetricName &value)
GetRelationalDatabaseMetricDataRequest & WithUnit(const MetricUnit &value)
bool PeriodHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
RelationalDatabaseMetricName
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector