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>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
51 template<
typename DescriptionT = AttributeValue>
52 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
53 template<
typename DescriptionT = AttributeValue>
62 template<
typename KernelIdT = AttributeValue>
63 void SetKernelId(KernelIdT&& value) { m_kernelIdHasBeenSet =
true; m_kernelId = std::forward<KernelIdT>(value); }
64 template<
typename KernelIdT = AttributeValue>
73 template<
typename RamdiskIdT = AttributeValue>
74 void SetRamdiskId(RamdiskIdT&& value) { m_ramdiskIdHasBeenSet =
true; m_ramdiskId = std::forward<RamdiskIdT>(value); }
75 template<
typename RamdiskIdT = AttributeValue>
85 template<
typename SriovNetSupportT = AttributeValue>
86 void SetSriovNetSupport(SriovNetSupportT&& value) { m_sriovNetSupportHasBeenSet =
true; m_sriovNetSupport = std::forward<SriovNetSupportT>(value); }
87 template<
typename SriovNetSupportT = AttributeValue>
96 template<
typename BootModeT = AttributeValue>
97 void SetBootMode(BootModeT&& value) { m_bootModeHasBeenSet =
true; m_bootMode = std::forward<BootModeT>(value); }
98 template<
typename BootModeT = AttributeValue>
108 template<
typename TpmSupportT = AttributeValue>
109 void SetTpmSupport(TpmSupportT&& value) { m_tpmSupportHasBeenSet =
true; m_tpmSupport = std::forward<TpmSupportT>(value); }
110 template<
typename TpmSupportT = AttributeValue>
127 template<
typename UefiDataT = AttributeValue>
128 void SetUefiData(UefiDataT&& value) { m_uefiDataHasBeenSet =
true; m_uefiData = std::forward<UefiDataT>(value); }
129 template<
typename UefiDataT = AttributeValue>
142 template<
typename LastLaunchedTimeT = AttributeValue>
143 void SetLastLaunchedTime(LastLaunchedTimeT&& value) { m_lastLaunchedTimeHasBeenSet =
true; m_lastLaunchedTime = std::forward<LastLaunchedTimeT>(value); }
144 template<
typename LastLaunchedTimeT = AttributeValue>
160 template<
typename ImdsSupportT = AttributeValue>
161 void SetImdsSupport(ImdsSupportT&& value) { m_imdsSupportHasBeenSet =
true; m_imdsSupport = std::forward<ImdsSupportT>(value); }
162 template<
typename ImdsSupportT = AttributeValue>
171 template<
typename DeregistrationProtectionT = AttributeValue>
172 void SetDeregistrationProtection(DeregistrationProtectionT&& value) { m_deregistrationProtectionHasBeenSet =
true; m_deregistrationProtection = std::forward<DeregistrationProtectionT>(value); }
173 template<
typename DeregistrationProtectionT = AttributeValue>
182 template<
typename ImageIdT = Aws::String>
183 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
184 template<
typename ImageIdT = Aws::String>
193 template<
typename LaunchPermissionsT = Aws::Vector<LaunchPermission>>
194 void SetLaunchPermissions(LaunchPermissionsT&& value) { m_launchPermissionsHasBeenSet =
true; m_launchPermissions = std::forward<LaunchPermissionsT>(value); }
195 template<
typename LaunchPermissionsT = Aws::Vector<LaunchPermission>>
197 template<
typename LaunchPermissionsT = LaunchPermission>
206 template<
typename ProductCodesT = Aws::Vector<ProductCode>>
207 void SetProductCodes(ProductCodesT&& value) { m_productCodesHasBeenSet =
true; m_productCodes = std::forward<ProductCodesT>(value); }
208 template<
typename ProductCodesT = Aws::Vector<ProductCode>>
210 template<
typename ProductCodesT = ProductCode>
219 template<
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
220 void SetBlockDeviceMappings(BlockDeviceMappingsT&& value) { m_blockDeviceMappingsHasBeenSet =
true; m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value); }
221 template<
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
223 template<
typename BlockDeviceMappingsT = BlockDeviceMapping>
230 template<
typename ResponseMetadataT = ResponseMetadata>
231 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
232 template<
typename ResponseMetadataT = ResponseMetadata>
238 bool m_descriptionHasBeenSet =
false;
241 bool m_kernelIdHasBeenSet =
false;
244 bool m_ramdiskIdHasBeenSet =
false;
247 bool m_sriovNetSupportHasBeenSet =
false;
250 bool m_bootModeHasBeenSet =
false;
253 bool m_tpmSupportHasBeenSet =
false;
256 bool m_uefiDataHasBeenSet =
false;
259 bool m_lastLaunchedTimeHasBeenSet =
false;
262 bool m_imdsSupportHasBeenSet =
false;
265 bool m_deregistrationProtectionHasBeenSet =
false;
268 bool m_imageIdHasBeenSet =
false;
271 bool m_launchPermissionsHasBeenSet =
false;
274 bool m_productCodesHasBeenSet =
false;
277 bool m_blockDeviceMappingsHasBeenSet =
false;
280 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