7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
9#include <aws/cost-optimization-hub/model/BlockStoragePerformanceConfiguration.h>
10#include <aws/cost-optimization-hub/model/StorageConfiguration.h>
21namespace CostOptimizationHub {
43 template <
typename StorageT = StorageConfiguration>
45 m_storageHasBeenSet =
true;
46 m_storage = std::forward<StorageT>(value);
48 template <
typename StorageT = StorageConfiguration>
61 template <
typename PerformanceT = BlockStoragePerformanceConfiguration>
63 m_performanceHasBeenSet =
true;
64 m_performance = std::forward<PerformanceT>(value);
66 template <
typename PerformanceT = BlockStoragePerformanceConfiguration>
79 template <
typename AttachmentStateT = Aws::String>
81 m_attachmentStateHasBeenSet =
true;
82 m_attachmentState = std::forward<AttachmentStateT>(value);
84 template <
typename AttachmentStateT = Aws::String>
96 bool m_storageHasBeenSet =
false;
97 bool m_performanceHasBeenSet =
false;
98 bool m_attachmentStateHasBeenSet =
false;
bool StorageHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
EbsVolumeConfiguration & WithAttachmentState(AttachmentStateT &&value)
void SetPerformance(PerformanceT &&value)
void SetAttachmentState(AttachmentStateT &&value)
AWS_COSTOPTIMIZATIONHUB_API EbsVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API EbsVolumeConfiguration()=default
EbsVolumeConfiguration & WithStorage(StorageT &&value)
EbsVolumeConfiguration & WithPerformance(PerformanceT &&value)
void SetStorage(StorageT &&value)
const StorageConfiguration & GetStorage() const
bool AttachmentStateHasBeenSet() const
bool PerformanceHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API EbsVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAttachmentState() const
const BlockStoragePerformanceConfiguration & GetPerformance() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue