AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeImageAttributeResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/AttributeValue.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <aws/ec2/model/LaunchPermission.h>
13#include <aws/ec2/model/ProductCode.h>
14#include <aws/ec2/model/BlockDeviceMapping.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Xml
25{
26 class XmlDocument;
27} // namespace Xml
28} // namespace Utils
29namespace EC2
30{
31namespace Model
32{
39 {
40 public:
44
45
47
50 inline const AttributeValue& GetDescription() const{ return m_description; }
51 inline void SetDescription(const AttributeValue& value) { m_description = value; }
52 inline void SetDescription(AttributeValue&& value) { m_description = std::move(value); }
53 inline DescribeImageAttributeResponse& WithDescription(const AttributeValue& value) { SetDescription(value); return *this;}
54 inline DescribeImageAttributeResponse& WithDescription(AttributeValue&& value) { SetDescription(std::move(value)); return *this;}
56
58
61 inline const AttributeValue& GetKernelId() const{ return m_kernelId; }
62 inline void SetKernelId(const AttributeValue& value) { m_kernelId = value; }
63 inline void SetKernelId(AttributeValue&& value) { m_kernelId = std::move(value); }
64 inline DescribeImageAttributeResponse& WithKernelId(const AttributeValue& value) { SetKernelId(value); return *this;}
65 inline DescribeImageAttributeResponse& WithKernelId(AttributeValue&& value) { SetKernelId(std::move(value)); return *this;}
67
69
72 inline const AttributeValue& GetRamdiskId() const{ return m_ramdiskId; }
73 inline void SetRamdiskId(const AttributeValue& value) { m_ramdiskId = value; }
74 inline void SetRamdiskId(AttributeValue&& value) { m_ramdiskId = std::move(value); }
75 inline DescribeImageAttributeResponse& WithRamdiskId(const AttributeValue& value) { SetRamdiskId(value); return *this;}
76 inline DescribeImageAttributeResponse& WithRamdiskId(AttributeValue&& value) { SetRamdiskId(std::move(value)); return *this;}
78
80
84 inline const AttributeValue& GetSriovNetSupport() const{ return m_sriovNetSupport; }
85 inline void SetSriovNetSupport(const AttributeValue& value) { m_sriovNetSupport = value; }
86 inline void SetSriovNetSupport(AttributeValue&& value) { m_sriovNetSupport = std::move(value); }
88 inline DescribeImageAttributeResponse& WithSriovNetSupport(AttributeValue&& value) { SetSriovNetSupport(std::move(value)); return *this;}
90
92
95 inline const AttributeValue& GetBootMode() const{ return m_bootMode; }
96 inline void SetBootMode(const AttributeValue& value) { m_bootMode = value; }
97 inline void SetBootMode(AttributeValue&& value) { m_bootMode = std::move(value); }
98 inline DescribeImageAttributeResponse& WithBootMode(const AttributeValue& value) { SetBootMode(value); return *this;}
99 inline DescribeImageAttributeResponse& WithBootMode(AttributeValue&& value) { SetBootMode(std::move(value)); return *this;}
101
103
107 inline const AttributeValue& GetTpmSupport() const{ return m_tpmSupport; }
108 inline void SetTpmSupport(const AttributeValue& value) { m_tpmSupport = value; }
109 inline void SetTpmSupport(AttributeValue&& value) { m_tpmSupport = std::move(value); }
110 inline DescribeImageAttributeResponse& WithTpmSupport(const AttributeValue& value) { SetTpmSupport(value); return *this;}
111 inline DescribeImageAttributeResponse& WithTpmSupport(AttributeValue&& value) { SetTpmSupport(std::move(value)); return *this;}
113
115
125 inline const AttributeValue& GetUefiData() const{ return m_uefiData; }
126 inline void SetUefiData(const AttributeValue& value) { m_uefiData = value; }
127 inline void SetUefiData(AttributeValue&& value) { m_uefiData = std::move(value); }
128 inline DescribeImageAttributeResponse& WithUefiData(const AttributeValue& value) { SetUefiData(value); return *this;}
129 inline DescribeImageAttributeResponse& WithUefiData(AttributeValue&& value) { SetUefiData(std::move(value)); return *this;}
131
133
140 inline const AttributeValue& GetLastLaunchedTime() const{ return m_lastLaunchedTime; }
141 inline void SetLastLaunchedTime(const AttributeValue& value) { m_lastLaunchedTime = value; }
142 inline void SetLastLaunchedTime(AttributeValue&& value) { m_lastLaunchedTime = std::move(value); }
146
148
158 inline const AttributeValue& GetImdsSupport() const{ return m_imdsSupport; }
159 inline void SetImdsSupport(const AttributeValue& value) { m_imdsSupport = value; }
160 inline void SetImdsSupport(AttributeValue&& value) { m_imdsSupport = std::move(value); }
162 inline DescribeImageAttributeResponse& WithImdsSupport(AttributeValue&& value) { SetImdsSupport(std::move(value)); return *this;}
164
166
169 inline const AttributeValue& GetDeregistrationProtection() const{ return m_deregistrationProtection; }
170 inline void SetDeregistrationProtection(const AttributeValue& value) { m_deregistrationProtection = value; }
171 inline void SetDeregistrationProtection(AttributeValue&& value) { m_deregistrationProtection = std::move(value); }
175
177
180 inline const Aws::String& GetImageId() const{ return m_imageId; }
181 inline void SetImageId(const Aws::String& value) { m_imageId = value; }
182 inline void SetImageId(Aws::String&& value) { m_imageId = std::move(value); }
183 inline void SetImageId(const char* value) { m_imageId.assign(value); }
184 inline DescribeImageAttributeResponse& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
185 inline DescribeImageAttributeResponse& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
186 inline DescribeImageAttributeResponse& WithImageId(const char* value) { SetImageId(value); return *this;}
188
190
193 inline const Aws::Vector<LaunchPermission>& GetLaunchPermissions() const{ return m_launchPermissions; }
194 inline void SetLaunchPermissions(const Aws::Vector<LaunchPermission>& value) { m_launchPermissions = value; }
195 inline void SetLaunchPermissions(Aws::Vector<LaunchPermission>&& value) { m_launchPermissions = std::move(value); }
198 inline DescribeImageAttributeResponse& AddLaunchPermissions(const LaunchPermission& value) { m_launchPermissions.push_back(value); return *this; }
199 inline DescribeImageAttributeResponse& AddLaunchPermissions(LaunchPermission&& value) { m_launchPermissions.push_back(std::move(value)); return *this; }
201
203
206 inline const Aws::Vector<ProductCode>& GetProductCodes() const{ return m_productCodes; }
207 inline void SetProductCodes(const Aws::Vector<ProductCode>& value) { m_productCodes = value; }
208 inline void SetProductCodes(Aws::Vector<ProductCode>&& value) { m_productCodes = std::move(value); }
211 inline DescribeImageAttributeResponse& AddProductCodes(const ProductCode& value) { m_productCodes.push_back(value); return *this; }
212 inline DescribeImageAttributeResponse& AddProductCodes(ProductCode&& value) { m_productCodes.push_back(std::move(value)); return *this; }
214
216
219 inline const Aws::Vector<BlockDeviceMapping>& GetBlockDeviceMappings() const{ return m_blockDeviceMappings; }
220 inline void SetBlockDeviceMappings(const Aws::Vector<BlockDeviceMapping>& value) { m_blockDeviceMappings = value; }
221 inline void SetBlockDeviceMappings(Aws::Vector<BlockDeviceMapping>&& value) { m_blockDeviceMappings = std::move(value); }
224 inline DescribeImageAttributeResponse& AddBlockDeviceMappings(const BlockDeviceMapping& value) { m_blockDeviceMappings.push_back(value); return *this; }
225 inline DescribeImageAttributeResponse& AddBlockDeviceMappings(BlockDeviceMapping&& value) { m_blockDeviceMappings.push_back(std::move(value)); return *this; }
227
229
230 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
231 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
232 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
236 private:
237
238 AttributeValue m_description;
239
240 AttributeValue m_kernelId;
241
242 AttributeValue m_ramdiskId;
243
244 AttributeValue m_sriovNetSupport;
245
246 AttributeValue m_bootMode;
247
248 AttributeValue m_tpmSupport;
249
250 AttributeValue m_uefiData;
251
252 AttributeValue m_lastLaunchedTime;
253
254 AttributeValue m_imdsSupport;
255
256 AttributeValue m_deregistrationProtection;
257
258 Aws::String m_imageId;
259
260 Aws::Vector<LaunchPermission> m_launchPermissions;
261
262 Aws::Vector<ProductCode> m_productCodes;
263
264 Aws::Vector<BlockDeviceMapping> m_blockDeviceMappings;
265
266 ResponseMetadata m_responseMetadata;
267 };
268
269} // namespace Model
270} // namespace EC2
271} // namespace Aws
DescribeImageAttributeResponse & AddProductCodes(ProductCode &&value)
DescribeImageAttributeResponse & WithKernelId(const AttributeValue &value)
void SetBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
void SetLaunchPermissions(Aws::Vector< LaunchPermission > &&value)
void SetProductCodes(Aws::Vector< ProductCode > &&value)
DescribeImageAttributeResponse & WithImageId(const Aws::String &value)
DescribeImageAttributeResponse & WithDescription(AttributeValue &&value)
DescribeImageAttributeResponse & WithBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
DescribeImageAttributeResponse & WithLastLaunchedTime(AttributeValue &&value)
DescribeImageAttributeResponse & WithDeregistrationProtection(AttributeValue &&value)
AWS_EC2_API DescribeImageAttributeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeImageAttributeResponse & WithResponseMetadata(ResponseMetadata &&value)
DescribeImageAttributeResponse & WithKernelId(AttributeValue &&value)
DescribeImageAttributeResponse & WithProductCodes(const Aws::Vector< ProductCode > &value)
const Aws::Vector< LaunchPermission > & GetLaunchPermissions() const
DescribeImageAttributeResponse & WithImageId(Aws::String &&value)
DescribeImageAttributeResponse & WithImdsSupport(AttributeValue &&value)
DescribeImageAttributeResponse & WithTpmSupport(AttributeValue &&value)
void SetBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
DescribeImageAttributeResponse & WithSriovNetSupport(const AttributeValue &value)
DescribeImageAttributeResponse & WithLaunchPermissions(Aws::Vector< LaunchPermission > &&value)
DescribeImageAttributeResponse & WithLastLaunchedTime(const AttributeValue &value)
DescribeImageAttributeResponse & WithDescription(const AttributeValue &value)
DescribeImageAttributeResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetLaunchPermissions(const Aws::Vector< LaunchPermission > &value)
DescribeImageAttributeResponse & WithRamdiskId(AttributeValue &&value)
DescribeImageAttributeResponse & AddProductCodes(const ProductCode &value)
DescribeImageAttributeResponse & WithTpmSupport(const AttributeValue &value)
DescribeImageAttributeResponse & WithDeregistrationProtection(const AttributeValue &value)
DescribeImageAttributeResponse & WithBootMode(AttributeValue &&value)
DescribeImageAttributeResponse & AddLaunchPermissions(LaunchPermission &&value)
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
DescribeImageAttributeResponse & WithSriovNetSupport(AttributeValue &&value)
DescribeImageAttributeResponse & WithBootMode(const AttributeValue &value)
DescribeImageAttributeResponse & WithImdsSupport(const AttributeValue &value)
DescribeImageAttributeResponse & AddBlockDeviceMappings(const BlockDeviceMapping &value)
AWS_EC2_API DescribeImageAttributeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeImageAttributeResponse & WithLaunchPermissions(const Aws::Vector< LaunchPermission > &value)
DescribeImageAttributeResponse & AddBlockDeviceMappings(BlockDeviceMapping &&value)
DescribeImageAttributeResponse & WithUefiData(AttributeValue &&value)
DescribeImageAttributeResponse & WithRamdiskId(const AttributeValue &value)
DescribeImageAttributeResponse & WithProductCodes(Aws::Vector< ProductCode > &&value)
DescribeImageAttributeResponse & WithImageId(const char *value)
const Aws::Vector< ProductCode > & GetProductCodes() const
void SetProductCodes(const Aws::Vector< ProductCode > &value)
DescribeImageAttributeResponse & WithUefiData(const AttributeValue &value)
DescribeImageAttributeResponse & WithBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
DescribeImageAttributeResponse & AddLaunchPermissions(const LaunchPermission &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument