7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/DistributionMetricName.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/lightsail/model/MetricDatapoint.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
67 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetMetricName(DistributionMetricName &&value)
void SetMetricName(const DistributionMetricName &value)
const Aws::String & GetRequestId() const
AWS_LIGHTSAIL_API GetDistributionMetricDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< MetricDatapoint > & GetMetricData() const
void SetRequestId(const char *value)
void SetRequestId(const Aws::String &value)
GetDistributionMetricDataResult & WithMetricData(const Aws::Vector< MetricDatapoint > &value)
GetDistributionMetricDataResult & WithMetricName(const DistributionMetricName &value)
AWS_LIGHTSAIL_API GetDistributionMetricDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDistributionMetricDataResult & AddMetricData(const MetricDatapoint &value)
GetDistributionMetricDataResult & WithRequestId(const Aws::String &value)
GetDistributionMetricDataResult & WithRequestId(Aws::String &&value)
GetDistributionMetricDataResult & WithRequestId(const char *value)
void SetMetricData(Aws::Vector< MetricDatapoint > &&value)
GetDistributionMetricDataResult & AddMetricData(MetricDatapoint &&value)
const DistributionMetricName & GetMetricName() const
GetDistributionMetricDataResult & WithMetricData(Aws::Vector< MetricDatapoint > &&value)
AWS_LIGHTSAIL_API GetDistributionMetricDataResult()
GetDistributionMetricDataResult & WithMetricName(DistributionMetricName &&value)
void SetRequestId(Aws::String &&value)
void SetMetricData(const Aws::Vector< MetricDatapoint > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue