AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EbsInfo.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/EbsOptimizedSupport.h>
10#include <aws/ec2/model/EbsEncryptionSupport.h>
11#include <aws/ec2/model/EbsOptimizedInfo.h>
12#include <aws/ec2/model/EbsNvmeSupport.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
28
35 class EbsInfo
36 {
37 public:
38 AWS_EC2_API EbsInfo() = default;
39 AWS_EC2_API EbsInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_EC2_API EbsInfo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
53 inline EbsOptimizedSupport GetEbsOptimizedSupport() const { return m_ebsOptimizedSupport; }
54 inline bool EbsOptimizedSupportHasBeenSet() const { return m_ebsOptimizedSupportHasBeenSet; }
55 inline void SetEbsOptimizedSupport(EbsOptimizedSupport value) { m_ebsOptimizedSupportHasBeenSet = true; m_ebsOptimizedSupport = value; }
58
60
63 inline EbsEncryptionSupport GetEncryptionSupport() const { return m_encryptionSupport; }
64 inline bool EncryptionSupportHasBeenSet() const { return m_encryptionSupportHasBeenSet; }
65 inline void SetEncryptionSupport(EbsEncryptionSupport value) { m_encryptionSupportHasBeenSet = true; m_encryptionSupport = value; }
68
70
73 inline const EbsOptimizedInfo& GetEbsOptimizedInfo() const { return m_ebsOptimizedInfo; }
74 inline bool EbsOptimizedInfoHasBeenSet() const { return m_ebsOptimizedInfoHasBeenSet; }
75 template<typename EbsOptimizedInfoT = EbsOptimizedInfo>
76 void SetEbsOptimizedInfo(EbsOptimizedInfoT&& value) { m_ebsOptimizedInfoHasBeenSet = true; m_ebsOptimizedInfo = std::forward<EbsOptimizedInfoT>(value); }
77 template<typename EbsOptimizedInfoT = EbsOptimizedInfo>
78 EbsInfo& WithEbsOptimizedInfo(EbsOptimizedInfoT&& value) { SetEbsOptimizedInfo(std::forward<EbsOptimizedInfoT>(value)); return *this;}
80
82
85 inline EbsNvmeSupport GetNvmeSupport() const { return m_nvmeSupport; }
86 inline bool NvmeSupportHasBeenSet() const { return m_nvmeSupportHasBeenSet; }
87 inline void SetNvmeSupport(EbsNvmeSupport value) { m_nvmeSupportHasBeenSet = true; m_nvmeSupport = value; }
88 inline EbsInfo& WithNvmeSupport(EbsNvmeSupport value) { SetNvmeSupport(value); return *this;}
90 private:
91
93 bool m_ebsOptimizedSupportHasBeenSet = false;
94
96 bool m_encryptionSupportHasBeenSet = false;
97
98 EbsOptimizedInfo m_ebsOptimizedInfo;
99 bool m_ebsOptimizedInfoHasBeenSet = false;
100
102 bool m_nvmeSupportHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace EC2
107} // namespace Aws
EbsNvmeSupport GetNvmeSupport() const
Definition EbsInfo.h:85
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool EbsOptimizedInfoHasBeenSet() const
Definition EbsInfo.h:74
bool NvmeSupportHasBeenSet() const
Definition EbsInfo.h:86
EbsInfo & WithEncryptionSupport(EbsEncryptionSupport value)
Definition EbsInfo.h:66
bool EbsOptimizedSupportHasBeenSet() const
Definition EbsInfo.h:54
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetEbsOptimizedInfo(EbsOptimizedInfoT &&value)
Definition EbsInfo.h:76
AWS_EC2_API EbsInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EbsInfo & WithEbsOptimizedInfo(EbsOptimizedInfoT &&value)
Definition EbsInfo.h:78
bool EncryptionSupportHasBeenSet() const
Definition EbsInfo.h:64
void SetEncryptionSupport(EbsEncryptionSupport value)
Definition EbsInfo.h:65
AWS_EC2_API EbsInfo()=default
void SetEbsOptimizedSupport(EbsOptimizedSupport value)
Definition EbsInfo.h:55
EbsOptimizedSupport GetEbsOptimizedSupport() const
Definition EbsInfo.h:53
EbsInfo & WithNvmeSupport(EbsNvmeSupport value)
Definition EbsInfo.h:88
void SetNvmeSupport(EbsNvmeSupport value)
Definition EbsInfo.h:87
EbsInfo & WithEbsOptimizedSupport(EbsOptimizedSupport value)
Definition EbsInfo.h:56
AWS_EC2_API EbsInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
const EbsOptimizedInfo & GetEbsOptimizedInfo() const
Definition EbsInfo.h:73
EbsEncryptionSupport GetEncryptionSupport() const
Definition EbsInfo.h:63
std::basic_ostream< char, std::char_traits< char > > OStream