7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/AttributeBooleanValue.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/InstanceAttributeName.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/AttributeValue.h>
14#include <aws/ec2/model/BlobAttributeValue.h>
15#include <aws/ec2/model/InstanceBlockDeviceMappingSpecification.h>
86 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
98 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
133 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
315 bool m_sourceDestCheckHasBeenSet =
false;
318 bool m_disableApiStopHasBeenSet =
false;
321 bool m_dryRunHasBeenSet =
false;
324 bool m_instanceIdHasBeenSet =
false;
327 bool m_attributeHasBeenSet =
false;
330 bool m_valueHasBeenSet =
false;
333 bool m_blockDeviceMappingsHasBeenSet =
false;
336 bool m_disableApiTerminationHasBeenSet =
false;
339 bool m_instanceTypeHasBeenSet =
false;
342 bool m_kernelHasBeenSet =
false;
345 bool m_ramdiskHasBeenSet =
false;
348 bool m_userDataHasBeenSet =
false;
351 bool m_instanceInitiatedShutdownBehaviorHasBeenSet =
false;
354 bool m_groupsHasBeenSet =
false;
357 bool m_ebsOptimizedHasBeenSet =
false;
360 bool m_sriovNetSupportHasBeenSet =
false;
363 bool m_enaSupportHasBeenSet =
false;
void SetKernel(AttributeValue &&value)
void SetInstanceInitiatedShutdownBehavior(const AttributeValue &value)
ModifyInstanceAttributeRequest & WithDisableApiTermination(const AttributeBooleanValue &value)
const Aws::Vector< Aws::String > & GetGroups() const
void SetSourceDestCheck(const AttributeBooleanValue &value)
ModifyInstanceAttributeRequest & AddBlockDeviceMappings(InstanceBlockDeviceMappingSpecification &&value)
bool DryRunHasBeenSet() const
ModifyInstanceAttributeRequest & WithSourceDestCheck(const AttributeBooleanValue &value)
ModifyInstanceAttributeRequest & WithSriovNetSupport(AttributeValue &&value)
ModifyInstanceAttributeRequest & WithGroups(const Aws::Vector< Aws::String > &value)
ModifyInstanceAttributeRequest & WithEnaSupport(AttributeBooleanValue &&value)
bool EnaSupportHasBeenSet() const
void SetInstanceId(Aws::String &&value)
void SetAttribute(const InstanceAttributeName &value)
void SetEbsOptimized(const AttributeBooleanValue &value)
ModifyInstanceAttributeRequest & WithEnaSupport(const AttributeBooleanValue &value)
AWS_EC2_API ModifyInstanceAttributeRequest()
ModifyInstanceAttributeRequest & WithDisableApiStop(const AttributeBooleanValue &value)
void SetValue(Aws::String &&value)
bool UserDataHasBeenSet() const
ModifyInstanceAttributeRequest & WithSourceDestCheck(AttributeBooleanValue &&value)
ModifyInstanceAttributeRequest & WithValue(const Aws::String &value)
ModifyInstanceAttributeRequest & WithInstanceId(Aws::String &&value)
ModifyInstanceAttributeRequest & WithInstanceType(AttributeValue &&value)
void SetRamdisk(const AttributeValue &value)
void SetValue(const char *value)
bool KernelHasBeenSet() const
ModifyInstanceAttributeRequest & WithDisableApiTermination(AttributeBooleanValue &&value)
const InstanceAttributeName & GetAttribute() const
void SetKernel(const AttributeValue &value)
void SetUserData(const BlobAttributeValue &value)
ModifyInstanceAttributeRequest & WithValue(Aws::String &&value)
bool EbsOptimizedHasBeenSet() const
void SetDisableApiTermination(AttributeBooleanValue &&value)
bool ValueHasBeenSet() const
void SetGroups(Aws::Vector< Aws::String > &&value)
const AttributeValue & GetInstanceType() const
bool InstanceIdHasBeenSet() const
ModifyInstanceAttributeRequest & WithValue(const char *value)
bool BlockDeviceMappingsHasBeenSet() const
ModifyInstanceAttributeRequest & WithInstanceInitiatedShutdownBehavior(const AttributeValue &value)
bool DisableApiTerminationHasBeenSet() const
bool SriovNetSupportHasBeenSet() const
bool AttributeHasBeenSet() const
ModifyInstanceAttributeRequest & WithEbsOptimized(const AttributeBooleanValue &value)
ModifyInstanceAttributeRequest & WithEbsOptimized(AttributeBooleanValue &&value)
void SetBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMappingSpecification > &value)
ModifyInstanceAttributeRequest & AddGroups(const char *value)
ModifyInstanceAttributeRequest & WithGroups(Aws::Vector< Aws::String > &&value)
ModifyInstanceAttributeRequest & WithSriovNetSupport(const AttributeValue &value)
virtual const char * GetServiceRequestName() const override
void SetAttribute(InstanceAttributeName &&value)
const AttributeBooleanValue & GetEbsOptimized() const
ModifyInstanceAttributeRequest & WithRamdisk(AttributeValue &&value)
void SetBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMappingSpecification > &&value)
ModifyInstanceAttributeRequest & AddGroups(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyInstanceAttributeRequest & WithBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMappingSpecification > &value)
ModifyInstanceAttributeRequest & WithDisableApiStop(AttributeBooleanValue &&value)
const AttributeValue & GetKernel() const
const AttributeBooleanValue & GetDisableApiStop() const
void SetInstanceType(AttributeValue &&value)
ModifyInstanceAttributeRequest & WithBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMappingSpecification > &&value)
const AttributeBooleanValue & GetEnaSupport() const
void SetDisableApiStop(const AttributeBooleanValue &value)
void SetEnaSupport(AttributeBooleanValue &&value)
const AttributeValue & GetInstanceInitiatedShutdownBehavior() const
void SetInstanceType(const AttributeValue &value)
const BlobAttributeValue & GetUserData() const
ModifyInstanceAttributeRequest & WithAttribute(InstanceAttributeName &&value)
void SetRamdisk(AttributeValue &&value)
void SetInstanceInitiatedShutdownBehavior(AttributeValue &&value)
const Aws::String & GetInstanceId() const
void SetGroups(const Aws::Vector< Aws::String > &value)
bool GroupsHasBeenSet() const
const AttributeValue & GetSriovNetSupport() const
void SetDisableApiStop(AttributeBooleanValue &&value)
ModifyInstanceAttributeRequest & AddBlockDeviceMappings(const InstanceBlockDeviceMappingSpecification &value)
ModifyInstanceAttributeRequest & AddGroups(const Aws::String &value)
bool RamdiskHasBeenSet() const
void SetDryRun(bool value)
const AttributeValue & GetRamdisk() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetEnaSupport(const AttributeBooleanValue &value)
void SetInstanceId(const Aws::String &value)
ModifyInstanceAttributeRequest & WithInstanceId(const Aws::String &value)
ModifyInstanceAttributeRequest & WithKernel(AttributeValue &&value)
bool SourceDestCheckHasBeenSet() const
bool InstanceInitiatedShutdownBehaviorHasBeenSet() const
void SetEbsOptimized(AttributeBooleanValue &&value)
void SetValue(const Aws::String &value)
ModifyInstanceAttributeRequest & WithInstanceId(const char *value)
bool InstanceTypeHasBeenSet() const
ModifyInstanceAttributeRequest & WithInstanceType(const AttributeValue &value)
void SetSourceDestCheck(AttributeBooleanValue &&value)
ModifyInstanceAttributeRequest & WithDryRun(bool value)
const Aws::String & GetValue() const
ModifyInstanceAttributeRequest & WithUserData(const BlobAttributeValue &value)
ModifyInstanceAttributeRequest & WithKernel(const AttributeValue &value)
void SetDisableApiTermination(const AttributeBooleanValue &value)
const Aws::Vector< InstanceBlockDeviceMappingSpecification > & GetBlockDeviceMappings() const
ModifyInstanceAttributeRequest & WithUserData(BlobAttributeValue &&value)
ModifyInstanceAttributeRequest & WithInstanceInitiatedShutdownBehavior(AttributeValue &&value)
ModifyInstanceAttributeRequest & WithRamdisk(const AttributeValue &value)
void SetSriovNetSupport(AttributeValue &&value)
void SetSriovNetSupport(const AttributeValue &value)
ModifyInstanceAttributeRequest & WithAttribute(const InstanceAttributeName &value)
bool DisableApiStopHasBeenSet() const
void SetInstanceId(const char *value)
const AttributeBooleanValue & GetSourceDestCheck() const
const AttributeBooleanValue & GetDisableApiTermination() const
void SetUserData(BlobAttributeValue &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector