7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CostOptimizationHub
47 template<
typename TypeT = Aws::String>
48 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
49 template<
typename TypeT = Aws::String>
59 inline void SetSizeInGb(
double value) { m_sizeInGbHasBeenSet =
true; m_sizeInGb = value; }
65 bool m_typeHasBeenSet =
false;
67 double m_sizeInGb{0.0};
68 bool m_sizeInGbHasBeenSet =
false;
AWS_COSTOPTIMIZATIONHUB_API StorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
void SetSizeInGb(double value)
double GetSizeInGb() const
const Aws::String & GetType() const
void SetType(TypeT &&value)
StorageConfiguration & WithSizeInGb(double value)
bool SizeInGbHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
StorageConfiguration & WithType(TypeT &&value)
AWS_COSTOPTIMIZATIONHUB_API StorageConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue