AWS SDK for C++  1.9.68
AWS SDK for C++
EbsInfo.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlNode;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
28 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
52  inline const EbsOptimizedSupport& GetEbsOptimizedSupport() const{ return m_ebsOptimizedSupport; }
53 
60  inline bool EbsOptimizedSupportHasBeenSet() const { return m_ebsOptimizedSupportHasBeenSet; }
61 
68  inline void SetEbsOptimizedSupport(const EbsOptimizedSupport& value) { m_ebsOptimizedSupportHasBeenSet = true; m_ebsOptimizedSupport = value; }
69 
76  inline void SetEbsOptimizedSupport(EbsOptimizedSupport&& value) { m_ebsOptimizedSupportHasBeenSet = true; m_ebsOptimizedSupport = std::move(value); }
77 
84  inline EbsInfo& WithEbsOptimizedSupport(const EbsOptimizedSupport& value) { SetEbsOptimizedSupport(value); return *this;}
85 
92  inline EbsInfo& WithEbsOptimizedSupport(EbsOptimizedSupport&& value) { SetEbsOptimizedSupport(std::move(value)); return *this;}
93 
94 
98  inline const EbsEncryptionSupport& GetEncryptionSupport() const{ return m_encryptionSupport; }
99 
103  inline bool EncryptionSupportHasBeenSet() const { return m_encryptionSupportHasBeenSet; }
104 
108  inline void SetEncryptionSupport(const EbsEncryptionSupport& value) { m_encryptionSupportHasBeenSet = true; m_encryptionSupport = value; }
109 
113  inline void SetEncryptionSupport(EbsEncryptionSupport&& value) { m_encryptionSupportHasBeenSet = true; m_encryptionSupport = std::move(value); }
114 
118  inline EbsInfo& WithEncryptionSupport(const EbsEncryptionSupport& value) { SetEncryptionSupport(value); return *this;}
119 
123  inline EbsInfo& WithEncryptionSupport(EbsEncryptionSupport&& value) { SetEncryptionSupport(std::move(value)); return *this;}
124 
125 
129  inline const EbsOptimizedInfo& GetEbsOptimizedInfo() const{ return m_ebsOptimizedInfo; }
130 
134  inline bool EbsOptimizedInfoHasBeenSet() const { return m_ebsOptimizedInfoHasBeenSet; }
135 
139  inline void SetEbsOptimizedInfo(const EbsOptimizedInfo& value) { m_ebsOptimizedInfoHasBeenSet = true; m_ebsOptimizedInfo = value; }
140 
144  inline void SetEbsOptimizedInfo(EbsOptimizedInfo&& value) { m_ebsOptimizedInfoHasBeenSet = true; m_ebsOptimizedInfo = std::move(value); }
145 
149  inline EbsInfo& WithEbsOptimizedInfo(const EbsOptimizedInfo& value) { SetEbsOptimizedInfo(value); return *this;}
150 
154  inline EbsInfo& WithEbsOptimizedInfo(EbsOptimizedInfo&& value) { SetEbsOptimizedInfo(std::move(value)); return *this;}
155 
156 
160  inline const EbsNvmeSupport& GetNvmeSupport() const{ return m_nvmeSupport; }
161 
165  inline bool NvmeSupportHasBeenSet() const { return m_nvmeSupportHasBeenSet; }
166 
170  inline void SetNvmeSupport(const EbsNvmeSupport& value) { m_nvmeSupportHasBeenSet = true; m_nvmeSupport = value; }
171 
175  inline void SetNvmeSupport(EbsNvmeSupport&& value) { m_nvmeSupportHasBeenSet = true; m_nvmeSupport = std::move(value); }
176 
180  inline EbsInfo& WithNvmeSupport(const EbsNvmeSupport& value) { SetNvmeSupport(value); return *this;}
181 
185  inline EbsInfo& WithNvmeSupport(EbsNvmeSupport&& value) { SetNvmeSupport(std::move(value)); return *this;}
186 
187  private:
188 
189  EbsOptimizedSupport m_ebsOptimizedSupport;
190  bool m_ebsOptimizedSupportHasBeenSet;
191 
192  EbsEncryptionSupport m_encryptionSupport;
193  bool m_encryptionSupportHasBeenSet;
194 
195  EbsOptimizedInfo m_ebsOptimizedInfo;
196  bool m_ebsOptimizedInfoHasBeenSet;
197 
198  EbsNvmeSupport m_nvmeSupport;
199  bool m_nvmeSupportHasBeenSet;
200  };
201 
202 } // namespace Model
203 } // namespace EC2
204 } // namespace Aws
Aws::EC2::Model::EbsOptimizedInfo
Definition: EbsOptimizedInfo.h:31
Aws::EC2::Model::EbsInfo
Definition: EbsInfo.h:36
Aws::EC2::Model::EbsInfo::NvmeSupportHasBeenSet
bool NvmeSupportHasBeenSet() const
Definition: EbsInfo.h:165
Aws::EC2::Model::EbsInfo::EbsInfo
EbsInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::EbsInfo::GetNvmeSupport
const EbsNvmeSupport & GetNvmeSupport() const
Definition: EbsInfo.h:160
Aws::EC2::Model::EbsInfo::SetNvmeSupport
void SetNvmeSupport(EbsNvmeSupport &&value)
Definition: EbsInfo.h:175
Aws::EC2::Model::EbsInfo::SetEncryptionSupport
void SetEncryptionSupport(EbsEncryptionSupport &&value)
Definition: EbsInfo.h:113
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::EbsInfo::WithEbsOptimizedSupport
EbsInfo & WithEbsOptimizedSupport(const EbsOptimizedSupport &value)
Definition: EbsInfo.h:84
Aws::EC2::Model::EbsOptimizedSupport
EbsOptimizedSupport
Definition: EbsOptimizedSupport.h:17
Aws::EC2::Model::EbsEncryptionSupport
EbsEncryptionSupport
Definition: EbsEncryptionSupport.h:17
AWSStreamFwd.h
Aws::EC2::Model::EbsInfo::WithEbsOptimizedSupport
EbsInfo & WithEbsOptimizedSupport(EbsOptimizedSupport &&value)
Definition: EbsInfo.h:92
Aws::EC2::Model::EbsInfo::SetEbsOptimizedInfo
void SetEbsOptimizedInfo(EbsOptimizedInfo &&value)
Definition: EbsInfo.h:144
Aws::EC2::Model::EbsInfo::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::EbsInfo::operator=
EbsInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EbsOptimizedInfo.h
EbsOptimizedSupport.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::EbsInfo::SetNvmeSupport
void SetNvmeSupport(const EbsNvmeSupport &value)
Definition: EbsInfo.h:170
Aws::EC2::Model::EbsInfo::EbsOptimizedSupportHasBeenSet
bool EbsOptimizedSupportHasBeenSet() const
Definition: EbsInfo.h:60
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::EbsInfo::EbsOptimizedInfoHasBeenSet
bool EbsOptimizedInfoHasBeenSet() const
Definition: EbsInfo.h:134
Aws::EC2::Model::EbsInfo::WithEncryptionSupport
EbsInfo & WithEncryptionSupport(EbsEncryptionSupport &&value)
Definition: EbsInfo.h:123
Aws::EC2::Model::EbsNvmeSupport
EbsNvmeSupport
Definition: EbsNvmeSupport.h:17
Aws::EC2::Model::EbsInfo::WithNvmeSupport
EbsInfo & WithNvmeSupport(const EbsNvmeSupport &value)
Definition: EbsInfo.h:180
Aws::EC2::Model::EbsInfo::EncryptionSupportHasBeenSet
bool EncryptionSupportHasBeenSet() const
Definition: EbsInfo.h:103
Aws::EC2::Model::EbsInfo::WithNvmeSupport
EbsInfo & WithNvmeSupport(EbsNvmeSupport &&value)
Definition: EbsInfo.h:185
Aws::EC2::Model::EbsInfo::EbsInfo
EbsInfo()
Aws::EC2::Model::EbsInfo::SetEbsOptimizedInfo
void SetEbsOptimizedInfo(const EbsOptimizedInfo &value)
Definition: EbsInfo.h:139
EbsNvmeSupport.h
Aws::EC2::Model::EbsInfo::WithEbsOptimizedInfo
EbsInfo & WithEbsOptimizedInfo(const EbsOptimizedInfo &value)
Definition: EbsInfo.h:149
Aws::EC2::Model::EbsInfo::SetEncryptionSupport
void SetEncryptionSupport(const EbsEncryptionSupport &value)
Definition: EbsInfo.h:108
Aws::EC2::Model::EbsInfo::SetEbsOptimizedSupport
void SetEbsOptimizedSupport(EbsOptimizedSupport &&value)
Definition: EbsInfo.h:76
Aws::EC2::Model::EbsInfo::WithEncryptionSupport
EbsInfo & WithEncryptionSupport(const EbsEncryptionSupport &value)
Definition: EbsInfo.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::EbsInfo::SetEbsOptimizedSupport
void SetEbsOptimizedSupport(const EbsOptimizedSupport &value)
Definition: EbsInfo.h:68
Aws::EC2::Model::EbsInfo::GetEbsOptimizedSupport
const EbsOptimizedSupport & GetEbsOptimizedSupport() const
Definition: EbsInfo.h:52
Aws::EC2::Model::EbsInfo::GetEncryptionSupport
const EbsEncryptionSupport & GetEncryptionSupport() const
Definition: EbsInfo.h:98
Aws::EC2::Model::EbsInfo::GetEbsOptimizedInfo
const EbsOptimizedInfo & GetEbsOptimizedInfo() const
Definition: EbsInfo.h:129
index
int index
Definition: cJSON.h:181
EbsEncryptionSupport.h
EC2_EXPORTS.h
Aws::EC2::Model::EbsInfo::WithEbsOptimizedInfo
EbsInfo & WithEbsOptimizedInfo(EbsOptimizedInfo &&value)
Definition: EbsInfo.h:154
Aws::EC2::Model::EbsInfo::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const