AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const EbsOptimizedSupport& GetEbsOptimizedSupport() const{ return m_ebsOptimizedSupport; }
54 inline bool EbsOptimizedSupportHasBeenSet() const { return m_ebsOptimizedSupportHasBeenSet; }
55 inline void SetEbsOptimizedSupport(const EbsOptimizedSupport& value) { m_ebsOptimizedSupportHasBeenSet = true; m_ebsOptimizedSupport = value; }
56 inline void SetEbsOptimizedSupport(EbsOptimizedSupport&& value) { m_ebsOptimizedSupportHasBeenSet = true; m_ebsOptimizedSupport = std::move(value); }
57 inline EbsInfo& WithEbsOptimizedSupport(const EbsOptimizedSupport& value) { SetEbsOptimizedSupport(value); return *this;}
58 inline EbsInfo& WithEbsOptimizedSupport(EbsOptimizedSupport&& value) { SetEbsOptimizedSupport(std::move(value)); return *this;}
60
62
65 inline const EbsEncryptionSupport& GetEncryptionSupport() const{ return m_encryptionSupport; }
66 inline bool EncryptionSupportHasBeenSet() const { return m_encryptionSupportHasBeenSet; }
67 inline void SetEncryptionSupport(const EbsEncryptionSupport& value) { m_encryptionSupportHasBeenSet = true; m_encryptionSupport = value; }
68 inline void SetEncryptionSupport(EbsEncryptionSupport&& value) { m_encryptionSupportHasBeenSet = true; m_encryptionSupport = std::move(value); }
69 inline EbsInfo& WithEncryptionSupport(const EbsEncryptionSupport& value) { SetEncryptionSupport(value); return *this;}
70 inline EbsInfo& WithEncryptionSupport(EbsEncryptionSupport&& value) { SetEncryptionSupport(std::move(value)); return *this;}
72
74
77 inline const EbsOptimizedInfo& GetEbsOptimizedInfo() const{ return m_ebsOptimizedInfo; }
78 inline bool EbsOptimizedInfoHasBeenSet() const { return m_ebsOptimizedInfoHasBeenSet; }
79 inline void SetEbsOptimizedInfo(const EbsOptimizedInfo& value) { m_ebsOptimizedInfoHasBeenSet = true; m_ebsOptimizedInfo = value; }
80 inline void SetEbsOptimizedInfo(EbsOptimizedInfo&& value) { m_ebsOptimizedInfoHasBeenSet = true; m_ebsOptimizedInfo = std::move(value); }
81 inline EbsInfo& WithEbsOptimizedInfo(const EbsOptimizedInfo& value) { SetEbsOptimizedInfo(value); return *this;}
82 inline EbsInfo& WithEbsOptimizedInfo(EbsOptimizedInfo&& value) { SetEbsOptimizedInfo(std::move(value)); return *this;}
84
86
89 inline const EbsNvmeSupport& GetNvmeSupport() const{ return m_nvmeSupport; }
90 inline bool NvmeSupportHasBeenSet() const { return m_nvmeSupportHasBeenSet; }
91 inline void SetNvmeSupport(const EbsNvmeSupport& value) { m_nvmeSupportHasBeenSet = true; m_nvmeSupport = value; }
92 inline void SetNvmeSupport(EbsNvmeSupport&& value) { m_nvmeSupportHasBeenSet = true; m_nvmeSupport = std::move(value); }
93 inline EbsInfo& WithNvmeSupport(const EbsNvmeSupport& value) { SetNvmeSupport(value); return *this;}
94 inline EbsInfo& WithNvmeSupport(EbsNvmeSupport&& value) { SetNvmeSupport(std::move(value)); return *this;}
96 private:
97
98 EbsOptimizedSupport m_ebsOptimizedSupport;
99 bool m_ebsOptimizedSupportHasBeenSet = false;
100
101 EbsEncryptionSupport m_encryptionSupport;
102 bool m_encryptionSupportHasBeenSet = false;
103
104 EbsOptimizedInfo m_ebsOptimizedInfo;
105 bool m_ebsOptimizedInfoHasBeenSet = false;
106
107 EbsNvmeSupport m_nvmeSupport;
108 bool m_nvmeSupportHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace EC2
113} // namespace Aws
EbsInfo & WithEbsOptimizedSupport(const EbsOptimizedSupport &value)
Definition EbsInfo.h:57
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool EbsOptimizedInfoHasBeenSet() const
Definition EbsInfo.h:78
EbsInfo & WithNvmeSupport(EbsNvmeSupport &&value)
Definition EbsInfo.h:94
bool NvmeSupportHasBeenSet() const
Definition EbsInfo.h:90
EbsInfo & WithEncryptionSupport(EbsEncryptionSupport &&value)
Definition EbsInfo.h:70
void SetNvmeSupport(EbsNvmeSupport &&value)
Definition EbsInfo.h:92
bool EbsOptimizedSupportHasBeenSet() const
Definition EbsInfo.h:54
EbsInfo & WithEncryptionSupport(const EbsEncryptionSupport &value)
Definition EbsInfo.h:69
void SetNvmeSupport(const EbsNvmeSupport &value)
Definition EbsInfo.h:91
EbsInfo & WithNvmeSupport(const EbsNvmeSupport &value)
Definition EbsInfo.h:93
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API EbsInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool EncryptionSupportHasBeenSet() const
Definition EbsInfo.h:66
void SetEbsOptimizedInfo(EbsOptimizedInfo &&value)
Definition EbsInfo.h:80
void SetEncryptionSupport(EbsEncryptionSupport &&value)
Definition EbsInfo.h:68
void SetEbsOptimizedInfo(const EbsOptimizedInfo &value)
Definition EbsInfo.h:79
void SetEbsOptimizedSupport(const EbsOptimizedSupport &value)
Definition EbsInfo.h:55
EbsInfo & WithEbsOptimizedInfo(const EbsOptimizedInfo &value)
Definition EbsInfo.h:81
EbsInfo & WithEbsOptimizedSupport(EbsOptimizedSupport &&value)
Definition EbsInfo.h:58
const EbsNvmeSupport & GetNvmeSupport() const
Definition EbsInfo.h:89
void SetEncryptionSupport(const EbsEncryptionSupport &value)
Definition EbsInfo.h:67
AWS_EC2_API EbsInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
const EbsOptimizedInfo & GetEbsOptimizedInfo() const
Definition EbsInfo.h:77
const EbsEncryptionSupport & GetEncryptionSupport() const
Definition EbsInfo.h:65
EbsInfo & WithEbsOptimizedInfo(EbsOptimizedInfo &&value)
Definition EbsInfo.h:82
const EbsOptimizedSupport & GetEbsOptimizedSupport() const
Definition EbsInfo.h:53
void SetEbsOptimizedSupport(EbsOptimizedSupport &&value)
Definition EbsInfo.h:56
std::basic_ostream< char, std::char_traits< char > > OStream