7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/InstanceMetricName.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 SetRequestId(const char *value)
const InstanceMetricName & GetMetricName() const
void SetMetricName(InstanceMetricName &&value)
AWS_LIGHTSAIL_API GetInstanceMetricDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInstanceMetricDataResult & WithRequestId(Aws::String &&value)
void SetMetricData(const Aws::Vector< MetricDatapoint > &value)
GetInstanceMetricDataResult & AddMetricData(const MetricDatapoint &value)
const Aws::Vector< MetricDatapoint > & GetMetricData() const
GetInstanceMetricDataResult & WithRequestId(const char *value)
void SetRequestId(Aws::String &&value)
AWS_LIGHTSAIL_API GetInstanceMetricDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
GetInstanceMetricDataResult & WithMetricName(InstanceMetricName &&value)
GetInstanceMetricDataResult & WithMetricName(const InstanceMetricName &value)
void SetMetricData(Aws::Vector< MetricDatapoint > &&value)
GetInstanceMetricDataResult & AddMetricData(MetricDatapoint &&value)
GetInstanceMetricDataResult & WithMetricData(Aws::Vector< MetricDatapoint > &&value)
GetInstanceMetricDataResult & WithRequestId(const Aws::String &value)
AWS_LIGHTSAIL_API GetInstanceMetricDataResult()
const Aws::String & GetRequestId() const
void SetMetricName(const InstanceMetricName &value)
GetInstanceMetricDataResult & WithMetricData(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