AWS SDK for C++  1.9.72
AWS SDK for C++
ModifyInstanceAttributeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace EC2
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ModifyInstanceAttribute"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
53  inline const AttributeBooleanValue& GetSourceDestCheck() const{ return m_sourceDestCheck; }
54 
63  inline bool SourceDestCheckHasBeenSet() const { return m_sourceDestCheckHasBeenSet; }
64 
73  inline void SetSourceDestCheck(const AttributeBooleanValue& value) { m_sourceDestCheckHasBeenSet = true; m_sourceDestCheck = value; }
74 
83  inline void SetSourceDestCheck(AttributeBooleanValue&& value) { m_sourceDestCheckHasBeenSet = true; m_sourceDestCheck = std::move(value); }
84 
93  inline ModifyInstanceAttributeRequest& WithSourceDestCheck(const AttributeBooleanValue& value) { SetSourceDestCheck(value); return *this;}
94 
103  inline ModifyInstanceAttributeRequest& WithSourceDestCheck(AttributeBooleanValue&& value) { SetSourceDestCheck(std::move(value)); return *this;}
104 
105 
109  inline const InstanceAttributeName& GetAttribute() const{ return m_attribute; }
110 
114  inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
115 
119  inline void SetAttribute(const InstanceAttributeName& value) { m_attributeHasBeenSet = true; m_attribute = value; }
120 
124  inline void SetAttribute(InstanceAttributeName&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
125 
129  inline ModifyInstanceAttributeRequest& WithAttribute(const InstanceAttributeName& value) { SetAttribute(value); return *this;}
130 
134  inline ModifyInstanceAttributeRequest& WithAttribute(InstanceAttributeName&& value) { SetAttribute(std::move(value)); return *this;}
135 
136 
148  inline const Aws::Vector<InstanceBlockDeviceMappingSpecification>& GetBlockDeviceMappings() const{ return m_blockDeviceMappings; }
149 
161  inline bool BlockDeviceMappingsHasBeenSet() const { return m_blockDeviceMappingsHasBeenSet; }
162 
174  inline void SetBlockDeviceMappings(const Aws::Vector<InstanceBlockDeviceMappingSpecification>& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = value; }
175 
187  inline void SetBlockDeviceMappings(Aws::Vector<InstanceBlockDeviceMappingSpecification>&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = std::move(value); }
188 
200  inline ModifyInstanceAttributeRequest& WithBlockDeviceMappings(const Aws::Vector<InstanceBlockDeviceMappingSpecification>& value) { SetBlockDeviceMappings(value); return *this;}
201 
213  inline ModifyInstanceAttributeRequest& WithBlockDeviceMappings(Aws::Vector<InstanceBlockDeviceMappingSpecification>&& value) { SetBlockDeviceMappings(std::move(value)); return *this;}
214 
226  inline ModifyInstanceAttributeRequest& AddBlockDeviceMappings(const InstanceBlockDeviceMappingSpecification& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(value); return *this; }
227 
239  inline ModifyInstanceAttributeRequest& AddBlockDeviceMappings(InstanceBlockDeviceMappingSpecification&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(std::move(value)); return *this; }
240 
241 
247  inline const AttributeBooleanValue& GetDisableApiTermination() const{ return m_disableApiTermination; }
248 
254  inline bool DisableApiTerminationHasBeenSet() const { return m_disableApiTerminationHasBeenSet; }
255 
261  inline void SetDisableApiTermination(const AttributeBooleanValue& value) { m_disableApiTerminationHasBeenSet = true; m_disableApiTermination = value; }
262 
268  inline void SetDisableApiTermination(AttributeBooleanValue&& value) { m_disableApiTerminationHasBeenSet = true; m_disableApiTermination = std::move(value); }
269 
275  inline ModifyInstanceAttributeRequest& WithDisableApiTermination(const AttributeBooleanValue& value) { SetDisableApiTermination(value); return *this;}
276 
282  inline ModifyInstanceAttributeRequest& WithDisableApiTermination(AttributeBooleanValue&& value) { SetDisableApiTermination(std::move(value)); return *this;}
283 
284 
291  inline bool GetDryRun() const{ return m_dryRun; }
292 
299  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
300 
307  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
308 
315  inline ModifyInstanceAttributeRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
316 
317 
325  inline const AttributeBooleanValue& GetEbsOptimized() const{ return m_ebsOptimized; }
326 
334  inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; }
335 
343  inline void SetEbsOptimized(const AttributeBooleanValue& value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; }
344 
352  inline void SetEbsOptimized(AttributeBooleanValue&& value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = std::move(value); }
353 
361  inline ModifyInstanceAttributeRequest& WithEbsOptimized(const AttributeBooleanValue& value) { SetEbsOptimized(value); return *this;}
362 
370  inline ModifyInstanceAttributeRequest& WithEbsOptimized(AttributeBooleanValue&& value) { SetEbsOptimized(std::move(value)); return *this;}
371 
372 
378  inline const AttributeBooleanValue& GetEnaSupport() const{ return m_enaSupport; }
379 
385  inline bool EnaSupportHasBeenSet() const { return m_enaSupportHasBeenSet; }
386 
392  inline void SetEnaSupport(const AttributeBooleanValue& value) { m_enaSupportHasBeenSet = true; m_enaSupport = value; }
393 
399  inline void SetEnaSupport(AttributeBooleanValue&& value) { m_enaSupportHasBeenSet = true; m_enaSupport = std::move(value); }
400 
406  inline ModifyInstanceAttributeRequest& WithEnaSupport(const AttributeBooleanValue& value) { SetEnaSupport(value); return *this;}
407 
413  inline ModifyInstanceAttributeRequest& WithEnaSupport(AttributeBooleanValue&& value) { SetEnaSupport(std::move(value)); return *this;}
414 
415 
422  inline const Aws::Vector<Aws::String>& GetGroups() const{ return m_groups; }
423 
430  inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
431 
438  inline void SetGroups(const Aws::Vector<Aws::String>& value) { m_groupsHasBeenSet = true; m_groups = value; }
439 
446  inline void SetGroups(Aws::Vector<Aws::String>&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
447 
454  inline ModifyInstanceAttributeRequest& WithGroups(const Aws::Vector<Aws::String>& value) { SetGroups(value); return *this;}
455 
462  inline ModifyInstanceAttributeRequest& WithGroups(Aws::Vector<Aws::String>&& value) { SetGroups(std::move(value)); return *this;}
463 
470  inline ModifyInstanceAttributeRequest& AddGroups(const Aws::String& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
471 
478  inline ModifyInstanceAttributeRequest& AddGroups(Aws::String&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; }
479 
486  inline ModifyInstanceAttributeRequest& AddGroups(const char* value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
487 
488 
492  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
493 
497  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
498 
502  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
503 
507  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
508 
512  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
513 
517  inline ModifyInstanceAttributeRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
518 
522  inline ModifyInstanceAttributeRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
523 
527  inline ModifyInstanceAttributeRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
528 
529 
534  inline const AttributeValue& GetInstanceInitiatedShutdownBehavior() const{ return m_instanceInitiatedShutdownBehavior; }
535 
540  inline bool InstanceInitiatedShutdownBehaviorHasBeenSet() const { return m_instanceInitiatedShutdownBehaviorHasBeenSet; }
541 
546  inline void SetInstanceInitiatedShutdownBehavior(const AttributeValue& value) { m_instanceInitiatedShutdownBehaviorHasBeenSet = true; m_instanceInitiatedShutdownBehavior = value; }
547 
552  inline void SetInstanceInitiatedShutdownBehavior(AttributeValue&& value) { m_instanceInitiatedShutdownBehaviorHasBeenSet = true; m_instanceInitiatedShutdownBehavior = std::move(value); }
553 
558  inline ModifyInstanceAttributeRequest& WithInstanceInitiatedShutdownBehavior(const AttributeValue& value) { SetInstanceInitiatedShutdownBehavior(value); return *this;}
559 
564  inline ModifyInstanceAttributeRequest& WithInstanceInitiatedShutdownBehavior(AttributeValue&& value) { SetInstanceInitiatedShutdownBehavior(std::move(value)); return *this;}
565 
566 
574  inline const AttributeValue& GetInstanceType() const{ return m_instanceType; }
575 
583  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
584 
592  inline void SetInstanceType(const AttributeValue& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
593 
601  inline void SetInstanceType(AttributeValue&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
602 
610  inline ModifyInstanceAttributeRequest& WithInstanceType(const AttributeValue& value) { SetInstanceType(value); return *this;}
611 
619  inline ModifyInstanceAttributeRequest& WithInstanceType(AttributeValue&& value) { SetInstanceType(std::move(value)); return *this;}
620 
621 
627  inline const AttributeValue& GetKernel() const{ return m_kernel; }
628 
634  inline bool KernelHasBeenSet() const { return m_kernelHasBeenSet; }
635 
641  inline void SetKernel(const AttributeValue& value) { m_kernelHasBeenSet = true; m_kernel = value; }
642 
648  inline void SetKernel(AttributeValue&& value) { m_kernelHasBeenSet = true; m_kernel = std::move(value); }
649 
655  inline ModifyInstanceAttributeRequest& WithKernel(const AttributeValue& value) { SetKernel(value); return *this;}
656 
662  inline ModifyInstanceAttributeRequest& WithKernel(AttributeValue&& value) { SetKernel(std::move(value)); return *this;}
663 
664 
670  inline const AttributeValue& GetRamdisk() const{ return m_ramdisk; }
671 
677  inline bool RamdiskHasBeenSet() const { return m_ramdiskHasBeenSet; }
678 
684  inline void SetRamdisk(const AttributeValue& value) { m_ramdiskHasBeenSet = true; m_ramdisk = value; }
685 
691  inline void SetRamdisk(AttributeValue&& value) { m_ramdiskHasBeenSet = true; m_ramdisk = std::move(value); }
692 
698  inline ModifyInstanceAttributeRequest& WithRamdisk(const AttributeValue& value) { SetRamdisk(value); return *this;}
699 
705  inline ModifyInstanceAttributeRequest& WithRamdisk(AttributeValue&& value) { SetRamdisk(std::move(value)); return *this;}
706 
707 
715  inline const AttributeValue& GetSriovNetSupport() const{ return m_sriovNetSupport; }
716 
724  inline bool SriovNetSupportHasBeenSet() const { return m_sriovNetSupportHasBeenSet; }
725 
733  inline void SetSriovNetSupport(const AttributeValue& value) { m_sriovNetSupportHasBeenSet = true; m_sriovNetSupport = value; }
734 
742  inline void SetSriovNetSupport(AttributeValue&& value) { m_sriovNetSupportHasBeenSet = true; m_sriovNetSupport = std::move(value); }
743 
751  inline ModifyInstanceAttributeRequest& WithSriovNetSupport(const AttributeValue& value) { SetSriovNetSupport(value); return *this;}
752 
760  inline ModifyInstanceAttributeRequest& WithSriovNetSupport(AttributeValue&& value) { SetSriovNetSupport(std::move(value)); return *this;}
761 
762 
769  inline const BlobAttributeValue& GetUserData() const{ return m_userData; }
770 
777  inline bool UserDataHasBeenSet() const { return m_userDataHasBeenSet; }
778 
785  inline void SetUserData(const BlobAttributeValue& value) { m_userDataHasBeenSet = true; m_userData = value; }
786 
793  inline void SetUserData(BlobAttributeValue&& value) { m_userDataHasBeenSet = true; m_userData = std::move(value); }
794 
801  inline ModifyInstanceAttributeRequest& WithUserData(const BlobAttributeValue& value) { SetUserData(value); return *this;}
802 
809  inline ModifyInstanceAttributeRequest& WithUserData(BlobAttributeValue&& value) { SetUserData(std::move(value)); return *this;}
810 
811 
817  inline const Aws::String& GetValue() const{ return m_value; }
818 
824  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
825 
831  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
832 
838  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
839 
845  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
846 
852  inline ModifyInstanceAttributeRequest& WithValue(const Aws::String& value) { SetValue(value); return *this;}
853 
859  inline ModifyInstanceAttributeRequest& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
860 
866  inline ModifyInstanceAttributeRequest& WithValue(const char* value) { SetValue(value); return *this;}
867 
868  private:
869 
870  AttributeBooleanValue m_sourceDestCheck;
871  bool m_sourceDestCheckHasBeenSet;
872 
873  InstanceAttributeName m_attribute;
874  bool m_attributeHasBeenSet;
875 
877  bool m_blockDeviceMappingsHasBeenSet;
878 
879  AttributeBooleanValue m_disableApiTermination;
880  bool m_disableApiTerminationHasBeenSet;
881 
882  bool m_dryRun;
883  bool m_dryRunHasBeenSet;
884 
885  AttributeBooleanValue m_ebsOptimized;
886  bool m_ebsOptimizedHasBeenSet;
887 
888  AttributeBooleanValue m_enaSupport;
889  bool m_enaSupportHasBeenSet;
890 
891  Aws::Vector<Aws::String> m_groups;
892  bool m_groupsHasBeenSet;
893 
894  Aws::String m_instanceId;
895  bool m_instanceIdHasBeenSet;
896 
897  AttributeValue m_instanceInitiatedShutdownBehavior;
898  bool m_instanceInitiatedShutdownBehaviorHasBeenSet;
899 
900  AttributeValue m_instanceType;
901  bool m_instanceTypeHasBeenSet;
902 
903  AttributeValue m_kernel;
904  bool m_kernelHasBeenSet;
905 
906  AttributeValue m_ramdisk;
907  bool m_ramdiskHasBeenSet;
908 
909  AttributeValue m_sriovNetSupport;
910  bool m_sriovNetSupportHasBeenSet;
911 
912  BlobAttributeValue m_userData;
913  bool m_userDataHasBeenSet;
914 
915  Aws::String m_value;
916  bool m_valueHasBeenSet;
917  };
918 
919 } // namespace Model
920 } // namespace EC2
921 } // namespace Aws
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetBlockDeviceMappings
const Aws::Vector< InstanceBlockDeviceMappingSpecification > & GetBlockDeviceMappings() const
Definition: ModifyInstanceAttributeRequest.h:148
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetKernel
void SetKernel(const AttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:641
AttributeBooleanValue.h
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithAttribute
ModifyInstanceAttributeRequest & WithAttribute(InstanceAttributeName &&value)
Definition: ModifyInstanceAttributeRequest.h:134
Aws::EC2::Model::ModifyInstanceAttributeRequest::AddGroups
ModifyInstanceAttributeRequest & AddGroups(const char *value)
Definition: ModifyInstanceAttributeRequest.h:486
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetValue
void SetValue(const char *value)
Definition: ModifyInstanceAttributeRequest.h:845
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetSourceDestCheck
void SetSourceDestCheck(const AttributeBooleanValue &value)
Definition: ModifyInstanceAttributeRequest.h:73
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithRamdisk
ModifyInstanceAttributeRequest & WithRamdisk(AttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:705
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetBlockDeviceMappings
void SetBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMappingSpecification > &value)
Definition: ModifyInstanceAttributeRequest.h:174
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithInstanceType
ModifyInstanceAttributeRequest & WithInstanceType(AttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:619
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetDisableApiTermination
void SetDisableApiTermination(AttributeBooleanValue &&value)
Definition: ModifyInstanceAttributeRequest.h:268
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetDryRun
void SetDryRun(bool value)
Definition: ModifyInstanceAttributeRequest.h:307
Aws::EC2::Model::ModifyInstanceAttributeRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::ModifyInstanceAttributeRequest::EnaSupportHasBeenSet
bool EnaSupportHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:385
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetSriovNetSupport
const AttributeValue & GetSriovNetSupport() const
Definition: ModifyInstanceAttributeRequest.h:715
AttributeValue.h
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetBlockDeviceMappings
void SetBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMappingSpecification > &&value)
Definition: ModifyInstanceAttributeRequest.h:187
InstanceBlockDeviceMappingSpecification.h
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetGroups
void SetGroups(const Aws::Vector< Aws::String > &value)
Definition: ModifyInstanceAttributeRequest.h:438
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithKernel
ModifyInstanceAttributeRequest & WithKernel(AttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:662
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetSriovNetSupport
void SetSriovNetSupport(AttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:742
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetRamdisk
const AttributeValue & GetRamdisk() const
Definition: ModifyInstanceAttributeRequest.h:670
Aws::EC2::Model::ModifyInstanceAttributeRequest::InstanceInitiatedShutdownBehaviorHasBeenSet
bool InstanceInitiatedShutdownBehaviorHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:540
Aws::EC2::Model::ModifyInstanceAttributeRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:497
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithInstanceId
ModifyInstanceAttributeRequest & WithInstanceId(const Aws::String &value)
Definition: ModifyInstanceAttributeRequest.h:517
Aws::EC2::Model::ModifyInstanceAttributeRequest::ModifyInstanceAttributeRequest
ModifyInstanceAttributeRequest()
Aws::EC2::Model::ModifyInstanceAttributeRequest::RamdiskHasBeenSet
bool RamdiskHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:677
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetInstanceType
void SetInstanceType(AttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:601
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithAttribute
ModifyInstanceAttributeRequest & WithAttribute(const InstanceAttributeName &value)
Definition: ModifyInstanceAttributeRequest.h:129
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::ModifyInstanceAttributeRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:299
Aws::EC2::Model::ModifyInstanceAttributeRequest::DisableApiTerminationHasBeenSet
bool DisableApiTerminationHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:254
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetSourceDestCheck
const AttributeBooleanValue & GetSourceDestCheck() const
Definition: ModifyInstanceAttributeRequest.h:53
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetGroups
const Aws::Vector< Aws::String > & GetGroups() const
Definition: ModifyInstanceAttributeRequest.h:422
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetValue
void SetValue(Aws::String &&value)
Definition: ModifyInstanceAttributeRequest.h:838
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithUserData
ModifyInstanceAttributeRequest & WithUserData(BlobAttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:809
Aws::EC2::Model::ModifyInstanceAttributeRequest::AddGroups
ModifyInstanceAttributeRequest & AddGroups(Aws::String &&value)
Definition: ModifyInstanceAttributeRequest.h:478
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetEnaSupport
const AttributeBooleanValue & GetEnaSupport() const
Definition: ModifyInstanceAttributeRequest.h:378
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetDryRun
bool GetDryRun() const
Definition: ModifyInstanceAttributeRequest.h:291
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetEbsOptimized
const AttributeBooleanValue & GetEbsOptimized() const
Definition: ModifyInstanceAttributeRequest.h:325
InstanceAttributeName.h
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetEnaSupport
void SetEnaSupport(AttributeBooleanValue &&value)
Definition: ModifyInstanceAttributeRequest.h:399
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetEbsOptimized
void SetEbsOptimized(AttributeBooleanValue &&value)
Definition: ModifyInstanceAttributeRequest.h:352
Aws::EC2::Model::ModifyInstanceAttributeRequest::EbsOptimizedHasBeenSet
bool EbsOptimizedHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:334
AWSVector.h
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithValue
ModifyInstanceAttributeRequest & WithValue(const char *value)
Definition: ModifyInstanceAttributeRequest.h:866
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetAttribute
const InstanceAttributeName & GetAttribute() const
Definition: ModifyInstanceAttributeRequest.h:109
Aws::EC2::Model::InstanceAttributeName
InstanceAttributeName
Definition: InstanceAttributeName.h:17
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetKernel
const AttributeValue & GetKernel() const
Definition: ModifyInstanceAttributeRequest.h:627
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithUserData
ModifyInstanceAttributeRequest & WithUserData(const BlobAttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:801
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ModifyInstanceAttributeRequest.h:507
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetUserData
void SetUserData(BlobAttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:793
Aws::EC2::Model::ModifyInstanceAttributeRequest::AttributeHasBeenSet
bool AttributeHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:114
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithBlockDeviceMappings
ModifyInstanceAttributeRequest & WithBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMappingSpecification > &&value)
Definition: ModifyInstanceAttributeRequest.h:213
Aws::EC2::Model::ModifyInstanceAttributeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetRamdisk
void SetRamdisk(AttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:691
Aws::EC2::Model::AttributeValue
Definition: AttributeValue.h:33
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetRamdisk
void SetRamdisk(const AttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:684
Aws::EC2::Model::ModifyInstanceAttributeRequest::UserDataHasBeenSet
bool UserDataHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:777
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithValue
ModifyInstanceAttributeRequest & WithValue(Aws::String &&value)
Definition: ModifyInstanceAttributeRequest.h:859
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithInstanceType
ModifyInstanceAttributeRequest & WithInstanceType(const AttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:610
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithDryRun
ModifyInstanceAttributeRequest & WithDryRun(bool value)
Definition: ModifyInstanceAttributeRequest.h:315
Aws::EC2::Model::ModifyInstanceAttributeRequest::SourceDestCheckHasBeenSet
bool SourceDestCheckHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:63
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithEnaSupport
ModifyInstanceAttributeRequest & WithEnaSupport(AttributeBooleanValue &&value)
Definition: ModifyInstanceAttributeRequest.h:413
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithDisableApiTermination
ModifyInstanceAttributeRequest & WithDisableApiTermination(AttributeBooleanValue &&value)
Definition: ModifyInstanceAttributeRequest.h:282
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithSriovNetSupport
ModifyInstanceAttributeRequest & WithSriovNetSupport(const AttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:751
Aws::EC2::Model::ModifyInstanceAttributeRequest::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:583
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithSriovNetSupport
ModifyInstanceAttributeRequest & WithSriovNetSupport(AttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:760
Aws::EC2::Model::ModifyInstanceAttributeRequest
Definition: ModifyInstanceAttributeRequest.h:28
EC2Request.h
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithEnaSupport
ModifyInstanceAttributeRequest & WithEnaSupport(const AttributeBooleanValue &value)
Definition: ModifyInstanceAttributeRequest.h:406
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetUserData
const BlobAttributeValue & GetUserData() const
Definition: ModifyInstanceAttributeRequest.h:769
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ModifyInstanceAttributeRequest.h:502
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetEnaSupport
void SetEnaSupport(const AttributeBooleanValue &value)
Definition: ModifyInstanceAttributeRequest.h:392
AWSString.h
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetDisableApiTermination
void SetDisableApiTermination(const AttributeBooleanValue &value)
Definition: ModifyInstanceAttributeRequest.h:261
Aws::EC2::Model::ModifyInstanceAttributeRequest::AddBlockDeviceMappings
ModifyInstanceAttributeRequest & AddBlockDeviceMappings(const InstanceBlockDeviceMappingSpecification &value)
Definition: ModifyInstanceAttributeRequest.h:226
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithKernel
ModifyInstanceAttributeRequest & WithKernel(const AttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:655
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetSriovNetSupport
void SetSriovNetSupport(const AttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:733
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetUserData
void SetUserData(const BlobAttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:785
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetValue
void SetValue(const Aws::String &value)
Definition: ModifyInstanceAttributeRequest.h:831
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithValue
ModifyInstanceAttributeRequest & WithValue(const Aws::String &value)
Definition: ModifyInstanceAttributeRequest.h:852
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetInstanceInitiatedShutdownBehavior
void SetInstanceInitiatedShutdownBehavior(const AttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:546
Aws::EC2::Model::ModifyInstanceAttributeRequest::KernelHasBeenSet
bool KernelHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:634
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetInstanceInitiatedShutdownBehavior
void SetInstanceInitiatedShutdownBehavior(AttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:552
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetInstanceInitiatedShutdownBehavior
const AttributeValue & GetInstanceInitiatedShutdownBehavior() const
Definition: ModifyInstanceAttributeRequest.h:534
Aws::EC2::Model::ModifyInstanceAttributeRequest::SriovNetSupportHasBeenSet
bool SriovNetSupportHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:724
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetSourceDestCheck
void SetSourceDestCheck(AttributeBooleanValue &&value)
Definition: ModifyInstanceAttributeRequest.h:83
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetInstanceType
const AttributeValue & GetInstanceType() const
Definition: ModifyInstanceAttributeRequest.h:574
Aws::EC2::Model::AttributeBooleanValue
Definition: AttributeBooleanValue.h:31
Aws::EC2::Model::InstanceBlockDeviceMappingSpecification
Definition: InstanceBlockDeviceMappingSpecification.h:33
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithEbsOptimized
ModifyInstanceAttributeRequest & WithEbsOptimized(AttributeBooleanValue &&value)
Definition: ModifyInstanceAttributeRequest.h:370
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ModifyInstanceAttributeRequest.h:512
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithGroups
ModifyInstanceAttributeRequest & WithGroups(const Aws::Vector< Aws::String > &value)
Definition: ModifyInstanceAttributeRequest.h:454
Aws::EC2::Model::ModifyInstanceAttributeRequest::BlockDeviceMappingsHasBeenSet
bool BlockDeviceMappingsHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:161
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetValue
const Aws::String & GetValue() const
Definition: ModifyInstanceAttributeRequest.h:817
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithInstanceInitiatedShutdownBehavior
ModifyInstanceAttributeRequest & WithInstanceInitiatedShutdownBehavior(AttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:564
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetAttribute
void SetAttribute(InstanceAttributeName &&value)
Definition: ModifyInstanceAttributeRequest.h:124
BlobAttributeValue.h
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithEbsOptimized
ModifyInstanceAttributeRequest & WithEbsOptimized(const AttributeBooleanValue &value)
Definition: ModifyInstanceAttributeRequest.h:361
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithBlockDeviceMappings
ModifyInstanceAttributeRequest & WithBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMappingSpecification > &value)
Definition: ModifyInstanceAttributeRequest.h:200
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetInstanceType
void SetInstanceType(const AttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:592
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithGroups
ModifyInstanceAttributeRequest & WithGroups(Aws::Vector< Aws::String > &&value)
Definition: ModifyInstanceAttributeRequest.h:462
Aws::EC2::Model::ModifyInstanceAttributeRequest::AddGroups
ModifyInstanceAttributeRequest & AddGroups(const Aws::String &value)
Definition: ModifyInstanceAttributeRequest.h:470
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetAttribute
void SetAttribute(const InstanceAttributeName &value)
Definition: ModifyInstanceAttributeRequest.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithInstanceId
ModifyInstanceAttributeRequest & WithInstanceId(const char *value)
Definition: ModifyInstanceAttributeRequest.h:527
Aws::EC2::Model::BlobAttributeValue
Definition: BlobAttributeValue.h:27
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::ModifyInstanceAttributeRequest::GroupsHasBeenSet
bool GroupsHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:430
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithSourceDestCheck
ModifyInstanceAttributeRequest & WithSourceDestCheck(const AttributeBooleanValue &value)
Definition: ModifyInstanceAttributeRequest.h:93
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyInstanceAttributeRequest.h:36
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithInstanceId
ModifyInstanceAttributeRequest & WithInstanceId(Aws::String &&value)
Definition: ModifyInstanceAttributeRequest.h:522
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetGroups
void SetGroups(Aws::Vector< Aws::String > &&value)
Definition: ModifyInstanceAttributeRequest.h:446
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ModifyInstanceAttributeRequest.h:492
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithInstanceInitiatedShutdownBehavior
ModifyInstanceAttributeRequest & WithInstanceInitiatedShutdownBehavior(const AttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:558
EC2_EXPORTS.h
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetKernel
void SetKernel(AttributeValue &&value)
Definition: ModifyInstanceAttributeRequest.h:648
Aws::EC2::Model::ModifyInstanceAttributeRequest::SetEbsOptimized
void SetEbsOptimized(const AttributeBooleanValue &value)
Definition: ModifyInstanceAttributeRequest.h:343
Aws::EC2::Model::ModifyInstanceAttributeRequest::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: ModifyInstanceAttributeRequest.h:824
Aws::EC2::Model::ModifyInstanceAttributeRequest::AddBlockDeviceMappings
ModifyInstanceAttributeRequest & AddBlockDeviceMappings(InstanceBlockDeviceMappingSpecification &&value)
Definition: ModifyInstanceAttributeRequest.h:239
Aws::EC2::Model::ModifyInstanceAttributeRequest::GetDisableApiTermination
const AttributeBooleanValue & GetDisableApiTermination() const
Definition: ModifyInstanceAttributeRequest.h:247
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithSourceDestCheck
ModifyInstanceAttributeRequest & WithSourceDestCheck(AttributeBooleanValue &&value)
Definition: ModifyInstanceAttributeRequest.h:103
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithDisableApiTermination
ModifyInstanceAttributeRequest & WithDisableApiTermination(const AttributeBooleanValue &value)
Definition: ModifyInstanceAttributeRequest.h:275
Aws::EC2::Model::ModifyInstanceAttributeRequest::WithRamdisk
ModifyInstanceAttributeRequest & WithRamdisk(const AttributeValue &value)
Definition: ModifyInstanceAttributeRequest.h:698