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/AttributeBooleanValue.h>
12#include <aws/ec2/model/AttributeValue.h>
13#include <aws/ec2/model/EnclaveOptions.h>
14#include <aws/ec2/model/GroupIdentifier.h>
15#include <aws/ec2/model/InstanceBlockDeviceMapping.h>
16#include <aws/ec2/model/ProductCode.h>
17#include <aws/ec2/model/ResponseMetadata.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
48 template <
typename BlockDeviceMappingsT = Aws::Vector<InstanceBlockDeviceMapping>>
50 m_blockDeviceMappingsHasBeenSet =
true;
51 m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value);
53 template <
typename BlockDeviceMappingsT = Aws::Vector<InstanceBlockDeviceMapping>>
58 template <
typename BlockDeviceMappingsT = InstanceBlockDeviceMapping>
60 m_blockDeviceMappingsHasBeenSet =
true;
61 m_blockDeviceMappings.emplace_back(std::forward<BlockDeviceMappingsT>(value));
73 template <
typename DisableApiTerminationT = AttributeBooleanValue>
75 m_disableApiTerminationHasBeenSet =
true;
76 m_disableApiTermination = std::forward<DisableApiTerminationT>(value);
78 template <
typename DisableApiTerminationT = AttributeBooleanValue>
90 template <
typename EnaSupportT = AttributeBooleanValue>
92 m_enaSupportHasBeenSet =
true;
93 m_enaSupport = std::forward<EnaSupportT>(value);
95 template <
typename EnaSupportT = AttributeBooleanValue>
108 template <
typename EnclaveOptionsT = EnclaveOptions>
110 m_enclaveOptionsHasBeenSet =
true;
111 m_enclaveOptions = std::forward<EnclaveOptionsT>(value);
113 template <
typename EnclaveOptionsT = EnclaveOptions>
125 template <
typename EbsOptimizedT = AttributeBooleanValue>
127 m_ebsOptimizedHasBeenSet =
true;
128 m_ebsOptimized = std::forward<EbsOptimizedT>(value);
130 template <
typename EbsOptimizedT = AttributeBooleanValue>
142 template <
typename InstanceIdT = Aws::String>
144 m_instanceIdHasBeenSet =
true;
145 m_instanceId = std::forward<InstanceIdT>(value);
147 template <
typename InstanceIdT = Aws::String>
160 template <
typename InstanceInitiatedShutdownBehaviorT = AttributeValue>
162 m_instanceInitiatedShutdownBehaviorHasBeenSet =
true;
163 m_instanceInitiatedShutdownBehavior = std::forward<InstanceInitiatedShutdownBehaviorT>(value);
165 template <
typename InstanceInitiatedShutdownBehaviorT = AttributeValue>
177 template <
typename InstanceTypeT = AttributeValue>
179 m_instanceTypeHasBeenSet =
true;
180 m_instanceType = std::forward<InstanceTypeT>(value);
182 template <
typename InstanceTypeT = AttributeValue>
194 template <
typename KernelIdT = AttributeValue>
196 m_kernelIdHasBeenSet =
true;
197 m_kernelId = std::forward<KernelIdT>(value);
199 template <
typename KernelIdT = AttributeValue>
211 template <
typename ProductCodesT = Aws::Vector<ProductCode>>
213 m_productCodesHasBeenSet =
true;
214 m_productCodes = std::forward<ProductCodesT>(value);
216 template <
typename ProductCodesT = Aws::Vector<ProductCode>>
221 template <
typename ProductCodesT = ProductCode>
223 m_productCodesHasBeenSet =
true;
224 m_productCodes.emplace_back(std::forward<ProductCodesT>(value));
234 template <
typename RamdiskIdT = AttributeValue>
236 m_ramdiskIdHasBeenSet =
true;
237 m_ramdiskId = std::forward<RamdiskIdT>(value);
239 template <
typename RamdiskIdT = AttributeValue>
252 template <
typename RootDeviceNameT = AttributeValue>
254 m_rootDeviceNameHasBeenSet =
true;
255 m_rootDeviceName = std::forward<RootDeviceNameT>(value);
257 template <
typename RootDeviceNameT = AttributeValue>
269 template <
typename SourceDestCheckT = AttributeBooleanValue>
271 m_sourceDestCheckHasBeenSet =
true;
272 m_sourceDestCheck = std::forward<SourceDestCheckT>(value);
274 template <
typename SourceDestCheckT = AttributeBooleanValue>
287 template <
typename SriovNetSupportT = AttributeValue>
289 m_sriovNetSupportHasBeenSet =
true;
290 m_sriovNetSupport = std::forward<SriovNetSupportT>(value);
292 template <
typename SriovNetSupportT = AttributeValue>
304 template <
typename UserDataT = AttributeValue>
306 m_userDataHasBeenSet =
true;
307 m_userData = std::forward<UserDataT>(value);
309 template <
typename UserDataT = AttributeValue>
321 template <
typename DisableApiStopT = AttributeBooleanValue>
323 m_disableApiStopHasBeenSet =
true;
324 m_disableApiStop = std::forward<DisableApiStopT>(value);
326 template <
typename DisableApiStopT = AttributeBooleanValue>
338 template <
typename GroupsT = Aws::Vector<GroupIdentifier>>
340 m_groupsHasBeenSet =
true;
341 m_groups = std::forward<GroupsT>(value);
343 template <
typename GroupsT = Aws::Vector<GroupIdentifier>>
348 template <
typename GroupsT = GroupIdentifier>
350 m_groupsHasBeenSet =
true;
351 m_groups.emplace_back(std::forward<GroupsT>(value));
359 template <
typename ResponseMetadataT = ResponseMetadata>
361 m_responseMetadataHasBeenSet =
true;
362 m_responseMetadata = std::forward<ResponseMetadataT>(value);
364 template <
typename ResponseMetadataT = ResponseMetadata>
409 bool m_blockDeviceMappingsHasBeenSet =
false;
410 bool m_disableApiTerminationHasBeenSet =
false;
411 bool m_enaSupportHasBeenSet =
false;
412 bool m_enclaveOptionsHasBeenSet =
false;
413 bool m_ebsOptimizedHasBeenSet =
false;
414 bool m_instanceIdHasBeenSet =
false;
415 bool m_instanceInitiatedShutdownBehaviorHasBeenSet =
false;
416 bool m_instanceTypeHasBeenSet =
false;
417 bool m_kernelIdHasBeenSet =
false;
418 bool m_productCodesHasBeenSet =
false;
419 bool m_ramdiskIdHasBeenSet =
false;
420 bool m_rootDeviceNameHasBeenSet =
false;
421 bool m_sourceDestCheckHasBeenSet =
false;
422 bool m_sriovNetSupportHasBeenSet =
false;
423 bool m_userDataHasBeenSet =
false;
424 bool m_disableApiStopHasBeenSet =
false;
425 bool m_groupsHasBeenSet =
false;
426 bool m_responseMetadataHasBeenSet =
false;
DescribeInstanceAttributeResponse & WithRamdiskId(RamdiskIdT &&value)
DescribeInstanceAttributeResponse & WithDisableApiStop(DisableApiStopT &&value)
DescribeInstanceAttributeResponse & WithDisableApiTermination(DisableApiTerminationT &&value)
DescribeInstanceAttributeResponse & WithInstanceInitiatedShutdownBehavior(InstanceInitiatedShutdownBehaviorT &&value)
void SetInstanceInitiatedShutdownBehavior(InstanceInitiatedShutdownBehaviorT &&value)
const AttributeValue & GetInstanceInitiatedShutdownBehavior() const
DescribeInstanceAttributeResponse & AddProductCodes(ProductCodesT &&value)
DescribeInstanceAttributeResponse & WithEnclaveOptions(EnclaveOptionsT &&value)
void SetSriovNetSupport(SriovNetSupportT &&value)
DescribeInstanceAttributeResponse & AddBlockDeviceMappings(BlockDeviceMappingsT &&value)
const AttributeBooleanValue & GetEbsOptimized() const
void SetResponseMetadata(ResponseMetadataT &&value)
void SetGroups(GroupsT &&value)
DescribeInstanceAttributeResponse & WithBlockDeviceMappings(BlockDeviceMappingsT &&value)
void SetRamdiskId(RamdiskIdT &&value)
void SetKernelId(KernelIdT &&value)
DescribeInstanceAttributeResponse & WithProductCodes(ProductCodesT &&value)
void SetUserData(UserDataT &&value)
const Aws::Vector< GroupIdentifier > & GetGroups() const
const AttributeBooleanValue & GetDisableApiStop() const
const Aws::String & GetInstanceId() const
const AttributeValue & GetRamdiskId() const
const Aws::Vector< InstanceBlockDeviceMapping > & GetBlockDeviceMappings() const
DescribeInstanceAttributeResponse & WithSourceDestCheck(SourceDestCheckT &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetInstanceId(InstanceIdT &&value)
AWS_EC2_API DescribeInstanceAttributeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const AttributeBooleanValue & GetDisableApiTermination() const
DescribeInstanceAttributeResponse & WithInstanceType(InstanceTypeT &&value)
const EnclaveOptions & GetEnclaveOptions() const
const AttributeValue & GetUserData() const
const AttributeValue & GetRootDeviceName() const
void SetBlockDeviceMappings(BlockDeviceMappingsT &&value)
void SetRootDeviceName(RootDeviceNameT &&value)
DescribeInstanceAttributeResponse & WithRootDeviceName(RootDeviceNameT &&value)
DescribeInstanceAttributeResponse & WithEbsOptimized(EbsOptimizedT &&value)
const AttributeBooleanValue & GetEnaSupport() const
void SetDisableApiTermination(DisableApiTerminationT &&value)
void SetInstanceType(InstanceTypeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< ProductCode > & GetProductCodes() const
DescribeInstanceAttributeResponse & WithSriovNetSupport(SriovNetSupportT &&value)
const AttributeValue & GetKernelId() const
const AttributeValue & GetInstanceType() const
void SetEbsOptimized(EbsOptimizedT &&value)
const AttributeValue & GetSriovNetSupport() const
void SetSourceDestCheck(SourceDestCheckT &&value)
DescribeInstanceAttributeResponse & AddGroups(GroupsT &&value)
DescribeInstanceAttributeResponse & WithGroups(GroupsT &&value)
AWS_EC2_API DescribeInstanceAttributeResponse()=default
void SetEnclaveOptions(EnclaveOptionsT &&value)
DescribeInstanceAttributeResponse & WithEnaSupport(EnaSupportT &&value)
const AttributeBooleanValue & GetSourceDestCheck() const
AWS_EC2_API DescribeInstanceAttributeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetDisableApiStop(DisableApiStopT &&value)
DescribeInstanceAttributeResponse & WithResponseMetadata(ResponseMetadataT &&value)
DescribeInstanceAttributeResponse & WithKernelId(KernelIdT &&value)
DescribeInstanceAttributeResponse & WithInstanceId(InstanceIdT &&value)
void SetProductCodes(ProductCodesT &&value)
void SetEnaSupport(EnaSupportT &&value)
DescribeInstanceAttributeResponse & WithUserData(UserDataT &&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