7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/StorageConfiguration.h>
9#include <aws/cost-optimization-hub/model/BlockStoragePerformanceConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace CostOptimizationHub
49 template<
typename StorageT = StorageConfiguration>
50 void SetStorage(StorageT&& value) { m_storageHasBeenSet =
true; m_storage = std::forward<StorageT>(value); }
51 template<
typename StorageT = StorageConfiguration>
61 template<
typename PerformanceT = BlockStoragePerformanceConfiguration>
62 void SetPerformance(PerformanceT&& value) { m_performanceHasBeenSet =
true; m_performance = std::forward<PerformanceT>(value); }
63 template<
typename PerformanceT = BlockStoragePerformanceConfiguration>
73 template<
typename AttachmentStateT = Aws::String>
74 void SetAttachmentState(AttachmentStateT&& value) { m_attachmentStateHasBeenSet =
true; m_attachmentState = std::forward<AttachmentStateT>(value); }
75 template<
typename AttachmentStateT = Aws::String>
81 bool m_storageHasBeenSet =
false;
84 bool m_performanceHasBeenSet =
false;
87 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