/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace mgn { namespace Model { /** *

Launch template disk configuration.

See Also:

AWS * API Reference

*/ class LaunchTemplateDiskConf { public: AWS_MGN_API LaunchTemplateDiskConf(); AWS_MGN_API LaunchTemplateDiskConf(Aws::Utils::Json::JsonView jsonValue); AWS_MGN_API LaunchTemplateDiskConf& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Launch template disk iops configuration.

*/ inline long long GetIops() const{ return m_iops; } /** *

Launch template disk iops configuration.

*/ inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } /** *

Launch template disk iops configuration.

*/ inline void SetIops(long long value) { m_iopsHasBeenSet = true; m_iops = value; } /** *

Launch template disk iops configuration.

*/ inline LaunchTemplateDiskConf& WithIops(long long value) { SetIops(value); return *this;} /** *

Launch template disk throughput configuration.

*/ inline long long GetThroughput() const{ return m_throughput; } /** *

Launch template disk throughput configuration.

*/ inline bool ThroughputHasBeenSet() const { return m_throughputHasBeenSet; } /** *

Launch template disk throughput configuration.

*/ inline void SetThroughput(long long value) { m_throughputHasBeenSet = true; m_throughput = value; } /** *

Launch template disk throughput configuration.

*/ inline LaunchTemplateDiskConf& WithThroughput(long long value) { SetThroughput(value); return *this;} /** *

Launch template disk volume type configuration.

*/ inline const VolumeType& GetVolumeType() const{ return m_volumeType; } /** *

Launch template disk volume type configuration.

*/ inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; } /** *

Launch template disk volume type configuration.

*/ inline void SetVolumeType(const VolumeType& value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; } /** *

Launch template disk volume type configuration.

*/ inline void SetVolumeType(VolumeType&& value) { m_volumeTypeHasBeenSet = true; m_volumeType = std::move(value); } /** *

Launch template disk volume type configuration.

*/ inline LaunchTemplateDiskConf& WithVolumeType(const VolumeType& value) { SetVolumeType(value); return *this;} /** *

Launch template disk volume type configuration.

*/ inline LaunchTemplateDiskConf& WithVolumeType(VolumeType&& value) { SetVolumeType(std::move(value)); return *this;} private: long long m_iops; bool m_iopsHasBeenSet = false; long long m_throughput; bool m_throughputHasBeenSet = false; VolumeType m_volumeType; bool m_volumeTypeHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws