7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/AttributeValue.h>
11#include <aws/ec2/model/BlockDeviceMapping.h>
12#include <aws/ec2/model/LaunchPermission.h>
13#include <aws/ec2/model/ProductCode.h>
14#include <aws/ec2/model/ResponseMetadata.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
45 template <
typename DescriptionT = AttributeValue>
47 m_descriptionHasBeenSet =
true;
48 m_description = std::forward<DescriptionT>(value);
50 template <
typename DescriptionT = AttributeValue>
62 template <
typename KernelIdT = AttributeValue>
64 m_kernelIdHasBeenSet =
true;
65 m_kernelId = std::forward<KernelIdT>(value);
67 template <
typename KernelIdT = AttributeValue>
79 template <
typename RamdiskIdT = AttributeValue>
81 m_ramdiskIdHasBeenSet =
true;
82 m_ramdiskId = std::forward<RamdiskIdT>(value);
84 template <
typename RamdiskIdT = AttributeValue>
97 template <
typename SriovNetSupportT = AttributeValue>
99 m_sriovNetSupportHasBeenSet =
true;
100 m_sriovNetSupport = std::forward<SriovNetSupportT>(value);
102 template <
typename SriovNetSupportT = AttributeValue>
114 template <
typename BootModeT = AttributeValue>
116 m_bootModeHasBeenSet =
true;
117 m_bootMode = std::forward<BootModeT>(value);
119 template <
typename BootModeT = AttributeValue>
132 template <
typename TpmSupportT = AttributeValue>
134 m_tpmSupportHasBeenSet =
true;
135 m_tpmSupport = std::forward<TpmSupportT>(value);
137 template <
typename TpmSupportT = AttributeValue>
157 template <
typename UefiDataT = AttributeValue>
159 m_uefiDataHasBeenSet =
true;
160 m_uefiData = std::forward<UefiDataT>(value);
162 template <
typename UefiDataT = AttributeValue>
178 template <
typename LastLaunchedTimeT = AttributeValue>
180 m_lastLaunchedTimeHasBeenSet =
true;
181 m_lastLaunchedTime = std::forward<LastLaunchedTimeT>(value);
183 template <
typename LastLaunchedTimeT = AttributeValue>
202 template <
typename ImdsSupportT = AttributeValue>
204 m_imdsSupportHasBeenSet =
true;
205 m_imdsSupport = std::forward<ImdsSupportT>(value);
207 template <
typename ImdsSupportT = AttributeValue>
219 template <
typename DeregistrationProtectionT = AttributeValue>
221 m_deregistrationProtectionHasBeenSet =
true;
222 m_deregistrationProtection = std::forward<DeregistrationProtectionT>(value);
224 template <
typename DeregistrationProtectionT = AttributeValue>
236 template <
typename ImageIdT = Aws::String>
238 m_imageIdHasBeenSet =
true;
239 m_imageId = std::forward<ImageIdT>(value);
241 template <
typename ImageIdT = Aws::String>
253 template <
typename LaunchPermissionsT = Aws::Vector<LaunchPermission>>
255 m_launchPermissionsHasBeenSet =
true;
256 m_launchPermissions = std::forward<LaunchPermissionsT>(value);
258 template <
typename LaunchPermissionsT = Aws::Vector<LaunchPermission>>
263 template <
typename LaunchPermissionsT = LaunchPermission>
265 m_launchPermissionsHasBeenSet =
true;
266 m_launchPermissions.emplace_back(std::forward<LaunchPermissionsT>(value));
276 template <
typename ProductCodesT = Aws::Vector<ProductCode>>
278 m_productCodesHasBeenSet =
true;
279 m_productCodes = std::forward<ProductCodesT>(value);
281 template <
typename ProductCodesT = Aws::Vector<ProductCode>>
286 template <
typename ProductCodesT = ProductCode>
288 m_productCodesHasBeenSet =
true;
289 m_productCodes.emplace_back(std::forward<ProductCodesT>(value));
299 template <
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
301 m_blockDeviceMappingsHasBeenSet =
true;
302 m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value);
304 template <
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
309 template <
typename BlockDeviceMappingsT = BlockDeviceMapping>
311 m_blockDeviceMappingsHasBeenSet =
true;
312 m_blockDeviceMappings.emplace_back(std::forward<BlockDeviceMappingsT>(value));
320 template <
typename ResponseMetadataT = ResponseMetadata>
322 m_responseMetadataHasBeenSet =
true;
323 m_responseMetadata = std::forward<ResponseMetadataT>(value);
325 template <
typename ResponseMetadataT = ResponseMetadata>
361 bool m_descriptionHasBeenSet =
false;
362 bool m_kernelIdHasBeenSet =
false;
363 bool m_ramdiskIdHasBeenSet =
false;
364 bool m_sriovNetSupportHasBeenSet =
false;
365 bool m_bootModeHasBeenSet =
false;
366 bool m_tpmSupportHasBeenSet =
false;
367 bool m_uefiDataHasBeenSet =
false;
368 bool m_lastLaunchedTimeHasBeenSet =
false;
369 bool m_imdsSupportHasBeenSet =
false;
370 bool m_deregistrationProtectionHasBeenSet =
false;
371 bool m_imageIdHasBeenSet =
false;
372 bool m_launchPermissionsHasBeenSet =
false;
373 bool m_productCodesHasBeenSet =
false;
374 bool m_blockDeviceMappingsHasBeenSet =
false;
375 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)
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