7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/AttributeValue.h>
12#include <aws/ec2/model/BlockDeviceMapping.h>
13#include <aws/ec2/model/LaunchPermission.h>
14#include <aws/ec2/model/ProductCode.h>
15#include <aws/ec2/model/ResponseMetadata.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
46 template <
typename DescriptionT = AttributeValue>
48 m_descriptionHasBeenSet =
true;
49 m_description = std::forward<DescriptionT>(value);
51 template <
typename DescriptionT = AttributeValue>
63 template <
typename KernelIdT = AttributeValue>
65 m_kernelIdHasBeenSet =
true;
66 m_kernelId = std::forward<KernelIdT>(value);
68 template <
typename KernelIdT = AttributeValue>
80 template <
typename RamdiskIdT = AttributeValue>
82 m_ramdiskIdHasBeenSet =
true;
83 m_ramdiskId = std::forward<RamdiskIdT>(value);
85 template <
typename RamdiskIdT = AttributeValue>
98 template <
typename SriovNetSupportT = AttributeValue>
100 m_sriovNetSupportHasBeenSet =
true;
101 m_sriovNetSupport = std::forward<SriovNetSupportT>(value);
103 template <
typename SriovNetSupportT = AttributeValue>
115 template <
typename BootModeT = AttributeValue>
117 m_bootModeHasBeenSet =
true;
118 m_bootMode = std::forward<BootModeT>(value);
120 template <
typename BootModeT = AttributeValue>
133 template <
typename TpmSupportT = AttributeValue>
135 m_tpmSupportHasBeenSet =
true;
136 m_tpmSupport = std::forward<TpmSupportT>(value);
138 template <
typename TpmSupportT = AttributeValue>
158 template <
typename UefiDataT = AttributeValue>
160 m_uefiDataHasBeenSet =
true;
161 m_uefiData = std::forward<UefiDataT>(value);
163 template <
typename UefiDataT = AttributeValue>
179 template <
typename LastLaunchedTimeT = AttributeValue>
181 m_lastLaunchedTimeHasBeenSet =
true;
182 m_lastLaunchedTime = std::forward<LastLaunchedTimeT>(value);
184 template <
typename LastLaunchedTimeT = AttributeValue>
203 template <
typename ImdsSupportT = AttributeValue>
205 m_imdsSupportHasBeenSet =
true;
206 m_imdsSupport = std::forward<ImdsSupportT>(value);
208 template <
typename ImdsSupportT = AttributeValue>
220 template <
typename DeregistrationProtectionT = AttributeValue>
222 m_deregistrationProtectionHasBeenSet =
true;
223 m_deregistrationProtection = std::forward<DeregistrationProtectionT>(value);
225 template <
typename DeregistrationProtectionT = AttributeValue>
237 template <
typename ImageIdT = Aws::String>
239 m_imageIdHasBeenSet =
true;
240 m_imageId = std::forward<ImageIdT>(value);
242 template <
typename ImageIdT = Aws::String>
254 template <
typename LaunchPermissionsT = Aws::Vector<LaunchPermission>>
256 m_launchPermissionsHasBeenSet =
true;
257 m_launchPermissions = std::forward<LaunchPermissionsT>(value);
259 template <
typename LaunchPermissionsT = Aws::Vector<LaunchPermission>>
264 template <
typename LaunchPermissionsT = LaunchPermission>
266 m_launchPermissionsHasBeenSet =
true;
267 m_launchPermissions.emplace_back(std::forward<LaunchPermissionsT>(value));
277 template <
typename ProductCodesT = Aws::Vector<ProductCode>>
279 m_productCodesHasBeenSet =
true;
280 m_productCodes = std::forward<ProductCodesT>(value);
282 template <
typename ProductCodesT = Aws::Vector<ProductCode>>
287 template <
typename ProductCodesT = ProductCode>
289 m_productCodesHasBeenSet =
true;
290 m_productCodes.emplace_back(std::forward<ProductCodesT>(value));
300 template <
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
302 m_blockDeviceMappingsHasBeenSet =
true;
303 m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value);
305 template <
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
310 template <
typename BlockDeviceMappingsT = BlockDeviceMapping>
312 m_blockDeviceMappingsHasBeenSet =
true;
313 m_blockDeviceMappings.emplace_back(std::forward<BlockDeviceMappingsT>(value));
321 template <
typename ResponseMetadataT = ResponseMetadata>
323 m_responseMetadataHasBeenSet =
true;
324 m_responseMetadata = std::forward<ResponseMetadataT>(value);
326 template <
typename ResponseMetadataT = ResponseMetadata>
365 bool m_descriptionHasBeenSet =
false;
366 bool m_kernelIdHasBeenSet =
false;
367 bool m_ramdiskIdHasBeenSet =
false;
368 bool m_sriovNetSupportHasBeenSet =
false;
369 bool m_bootModeHasBeenSet =
false;
370 bool m_tpmSupportHasBeenSet =
false;
371 bool m_uefiDataHasBeenSet =
false;
372 bool m_lastLaunchedTimeHasBeenSet =
false;
373 bool m_imdsSupportHasBeenSet =
false;
374 bool m_deregistrationProtectionHasBeenSet =
false;
375 bool m_imageIdHasBeenSet =
false;
376 bool m_launchPermissionsHasBeenSet =
false;
377 bool m_productCodesHasBeenSet =
false;
378 bool m_blockDeviceMappingsHasBeenSet =
false;
379 bool m_responseMetadataHasBeenSet =
false;
const AttributeValue & GetDescription() const
DescribeImageAttributeResponse & WithKernelId(KernelIdT &&value)
DescribeImageAttributeResponse & WithLaunchPermissions(LaunchPermissionsT &&value)
void SetProductCodes(ProductCodesT &&value)
DescribeImageAttributeResponse & WithUefiData(UefiDataT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
void SetLastLaunchedTime(LastLaunchedTimeT &&value)
DescribeImageAttributeResponse & WithSriovNetSupport(SriovNetSupportT &&value)
void SetLaunchPermissions(LaunchPermissionsT &&value)
AWS_EC2_API DescribeImageAttributeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeImageAttributeResponse & AddProductCodes(ProductCodesT &&value)
const AttributeValue & GetSriovNetSupport() const
void SetBlockDeviceMappings(BlockDeviceMappingsT &&value)
const Aws::Vector< LaunchPermission > & GetLaunchPermissions() const
void SetImageId(ImageIdT &&value)
DescribeImageAttributeResponse & WithLastLaunchedTime(LastLaunchedTimeT &&value)
AWS_EC2_API DescribeImageAttributeResponse()=default
void SetDeregistrationProtection(DeregistrationProtectionT &&value)
const AttributeValue & GetKernelId() const
void SetBootMode(BootModeT &&value)
DescribeImageAttributeResponse & WithProductCodes(ProductCodesT &&value)
DescribeImageAttributeResponse & WithTpmSupport(TpmSupportT &&value)
void SetKernelId(KernelIdT &&value)
DescribeImageAttributeResponse & WithDescription(DescriptionT &&value)
const ResponseMetadata & GetResponseMetadata() const
DescribeImageAttributeResponse & WithDeregistrationProtection(DeregistrationProtectionT &&value)
const AttributeValue & GetDeregistrationProtection() const
void SetTpmSupport(TpmSupportT &&value)
void SetSriovNetSupport(SriovNetSupportT &&value)
DescribeImageAttributeResponse & WithBootMode(BootModeT &&value)
DescribeImageAttributeResponse & AddLaunchPermissions(LaunchPermissionsT &&value)
const AttributeValue & GetUefiData() const
DescribeImageAttributeResponse & WithBlockDeviceMappings(BlockDeviceMappingsT &&value)
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
AWS_EC2_API DescribeImageAttributeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetDescription(DescriptionT &&value)
DescribeImageAttributeResponse & WithImageId(ImageIdT &&value)
DescribeImageAttributeResponse & WithResponseMetadata(ResponseMetadataT &&value)
const AttributeValue & GetRamdiskId() const
DescribeImageAttributeResponse & WithRamdiskId(RamdiskIdT &&value)
DescribeImageAttributeResponse & WithImdsSupport(ImdsSupportT &&value)
const AttributeValue & GetImdsSupport() const
void SetUefiData(UefiDataT &&value)
void SetImdsSupport(ImdsSupportT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< ProductCode > & GetProductCodes() const
const AttributeValue & GetLastLaunchedTime() const
DescribeImageAttributeResponse & AddBlockDeviceMappings(BlockDeviceMappingsT &&value)
const AttributeValue & GetTpmSupport() const
void SetRamdiskId(RamdiskIdT &&value)
const AttributeValue & GetBootMode() const
const Aws::String & GetImageId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument