AWS SDK for C++

AWS SDK for C++ Version 1.11.773

Loading...
Searching...
No Matches
EbsVolume.h
1
6#pragma once
7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/compute-optimizer-automation/model/EbsVolumeConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ComputeOptimizerAutomation {
20namespace Model {
21
28class EbsVolume {
29 public:
30 AWS_COMPUTEOPTIMIZERAUTOMATION_API EbsVolume() = default;
31 AWS_COMPUTEOPTIMIZERAUTOMATION_API EbsVolume(Aws::Utils::Json::JsonView jsonValue);
32 AWS_COMPUTEOPTIMIZERAUTOMATION_API EbsVolume& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COMPUTEOPTIMIZERAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const EbsVolumeConfiguration& GetConfiguration() const { return m_configuration; }
41 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
42 template <typename ConfigurationT = EbsVolumeConfiguration>
43 void SetConfiguration(ConfigurationT&& value) {
44 m_configurationHasBeenSet = true;
45 m_configuration = std::forward<ConfigurationT>(value);
46 }
47 template <typename ConfigurationT = EbsVolumeConfiguration>
48 EbsVolume& WithConfiguration(ConfigurationT&& value) {
49 SetConfiguration(std::forward<ConfigurationT>(value));
50 return *this;
51 }
53 private:
54 EbsVolumeConfiguration m_configuration;
55 bool m_configurationHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace ComputeOptimizerAutomation
60} // namespace Aws
const EbsVolumeConfiguration & GetConfiguration() const
Definition EbsVolume.h:40
AWS_COMPUTEOPTIMIZERAUTOMATION_API EbsVolume & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZERAUTOMATION_API EbsVolume()=default
AWS_COMPUTEOPTIMIZERAUTOMATION_API EbsVolume(Aws::Utils::Json::JsonView jsonValue)
void SetConfiguration(ConfigurationT &&value)
Definition EbsVolume.h:43
EbsVolume & WithConfiguration(ConfigurationT &&value)
Definition EbsVolume.h:48
AWS_COMPUTEOPTIMIZERAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue