7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/MetricSourceProvider.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ComputeOptimizer
62 inline void SetProviderArn(
const char* value) { m_providerArnHasBeenSet =
true; m_providerArn.assign(value); }
70 bool m_providerHasBeenSet =
false;
73 bool m_providerArnHasBeenSet =
false;
MetricSource & WithProviderArn(const char *value)
AWS_COMPUTEOPTIMIZER_API MetricSource()
bool ProviderArnHasBeenSet() const
void SetProvider(const MetricSourceProvider &value)
AWS_COMPUTEOPTIMIZER_API MetricSource & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricSource & WithProvider(MetricSourceProvider &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProvider(MetricSourceProvider &&value)
MetricSource & WithProvider(const MetricSourceProvider &value)
void SetProviderArn(Aws::String &&value)
bool ProviderHasBeenSet() const
void SetProviderArn(const Aws::String &value)
void SetProviderArn(const char *value)
const Aws::String & GetProviderArn() const
const MetricSourceProvider & GetProvider() const
AWS_COMPUTEOPTIMIZER_API MetricSource(Aws::Utils::Json::JsonView jsonValue)
MetricSource & WithProviderArn(Aws::String &&value)
MetricSource & WithProviderArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue