7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/pi/PIRequest.h>
9#include <aws/pi/model/ServiceType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/pi/model/PeriodAlignment.h>
14#include <aws/pi/model/MetricQuery.h>
70 inline void SetIdentifier(
const char* value) { m_identifierHasBeenSet =
true; m_identifier.assign(value); }
144 inline void SetPeriodInSeconds(
int value) { m_periodInSecondsHasBeenSet =
true; m_periodInSeconds = value; }
156 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
170 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
191 bool m_serviceTypeHasBeenSet =
false;
194 bool m_identifierHasBeenSet =
false;
197 bool m_metricQueriesHasBeenSet =
false;
200 bool m_startTimeHasBeenSet =
false;
203 bool m_endTimeHasBeenSet =
false;
205 int m_periodInSeconds;
206 bool m_periodInSecondsHasBeenSet =
false;
209 bool m_maxResultsHasBeenSet =
false;
212 bool m_nextTokenHasBeenSet =
false;
215 bool m_periodAlignmentHasBeenSet =
false;
void SetEndTime(const Aws::Utils::DateTime &value)
void SetMaxResults(int value)
void SetNextToken(Aws::String &&value)
bool NextTokenHasBeenSet() const
int GetPeriodInSeconds() const
bool PeriodInSecondsHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_PI_API GetResourceMetricsRequest()
GetResourceMetricsRequest & AddMetricQueries(MetricQuery &&value)
void SetIdentifier(const Aws::String &value)
GetResourceMetricsRequest & WithIdentifier(Aws::String &&value)
bool EndTimeHasBeenSet() const
GetResourceMetricsRequest & WithPeriodAlignment(PeriodAlignment &&value)
void SetIdentifier(Aws::String &&value)
bool ServiceTypeHasBeenSet() const
AWS_PI_API Aws::String SerializePayload() const override
GetResourceMetricsRequest & WithEndTime(Aws::Utils::DateTime &&value)
bool MetricQueriesHasBeenSet() const
bool MaxResultsHasBeenSet() const
void SetNextToken(const Aws::String &value)
GetResourceMetricsRequest & AddMetricQueries(const MetricQuery &value)
GetResourceMetricsRequest & WithNextToken(const char *value)
GetResourceMetricsRequest & WithServiceType(const ServiceType &value)
void SetEndTime(Aws::Utils::DateTime &&value)
GetResourceMetricsRequest & WithNextToken(const Aws::String &value)
GetResourceMetricsRequest & WithMetricQueries(Aws::Vector< MetricQuery > &&value)
void SetPeriodInSeconds(int value)
const Aws::String & GetIdentifier() const
void SetPeriodAlignment(PeriodAlignment &&value)
void SetMetricQueries(const Aws::Vector< MetricQuery > &value)
bool StartTimeHasBeenSet() const
GetResourceMetricsRequest & WithIdentifier(const Aws::String &value)
GetResourceMetricsRequest & WithIdentifier(const char *value)
void SetServiceType(ServiceType &&value)
AWS_PI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetServiceType(const ServiceType &value)
virtual const char * GetServiceRequestName() const override
GetResourceMetricsRequest & WithEndTime(const Aws::Utils::DateTime &value)
const ServiceType & GetServiceType() const
GetResourceMetricsRequest & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTime() const
GetResourceMetricsRequest & WithStartTime(const Aws::Utils::DateTime &value)
int GetMaxResults() const
GetResourceMetricsRequest & WithPeriodInSeconds(int value)
bool PeriodAlignmentHasBeenSet() const
GetResourceMetricsRequest & WithPeriodAlignment(const PeriodAlignment &value)
const Aws::Vector< MetricQuery > & GetMetricQueries() const
bool IdentifierHasBeenSet() const
GetResourceMetricsRequest & WithNextToken(Aws::String &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
const PeriodAlignment & GetPeriodAlignment() const
const Aws::String & GetNextToken() const
GetResourceMetricsRequest & WithMaxResults(int value)
void SetPeriodAlignment(const PeriodAlignment &value)
GetResourceMetricsRequest & WithServiceType(ServiceType &&value)
void SetNextToken(const char *value)
void SetMetricQueries(Aws::Vector< MetricQuery > &&value)
void SetIdentifier(const char *value)
GetResourceMetricsRequest & WithMetricQueries(const Aws::Vector< MetricQuery > &value)
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