/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace EC2 { namespace Model { /** *

Contains the parameters for ModifyImageAttribute.

See Also:

* AWS * API Reference

*/ class ModifyImageAttributeRequest : public EC2Request { public: AWS_EC2_API ModifyImageAttributeRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ModifyImageAttribute"; } AWS_EC2_API Aws::String SerializePayload() const override; protected: AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the attribute to modify.

Valid values: * description | imdsSupport | * launchPermission

*/ inline const Aws::String& GetAttribute() const{ return m_attribute; } /** *

The name of the attribute to modify.

Valid values: * description | imdsSupport | * launchPermission

*/ inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; } /** *

The name of the attribute to modify.

Valid values: * description | imdsSupport | * launchPermission

*/ inline void SetAttribute(const Aws::String& value) { m_attributeHasBeenSet = true; m_attribute = value; } /** *

The name of the attribute to modify.

Valid values: * description | imdsSupport | * launchPermission

*/ inline void SetAttribute(Aws::String&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); } /** *

The name of the attribute to modify.

Valid values: * description | imdsSupport | * launchPermission

*/ inline void SetAttribute(const char* value) { m_attributeHasBeenSet = true; m_attribute.assign(value); } /** *

The name of the attribute to modify.

Valid values: * description | imdsSupport | * launchPermission

*/ inline ModifyImageAttributeRequest& WithAttribute(const Aws::String& value) { SetAttribute(value); return *this;} /** *

The name of the attribute to modify.

Valid values: * description | imdsSupport | * launchPermission

*/ inline ModifyImageAttributeRequest& WithAttribute(Aws::String&& value) { SetAttribute(std::move(value)); return *this;} /** *

The name of the attribute to modify.

Valid values: * description | imdsSupport | * launchPermission

*/ inline ModifyImageAttributeRequest& WithAttribute(const char* value) { SetAttribute(value); return *this;} /** *

A new description for the AMI.

*/ inline const AttributeValue& GetDescription() const{ return m_description; } /** *

A new description for the AMI.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A new description for the AMI.

*/ inline void SetDescription(const AttributeValue& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A new description for the AMI.

*/ inline void SetDescription(AttributeValue&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A new description for the AMI.

*/ inline ModifyImageAttributeRequest& WithDescription(const AttributeValue& value) { SetDescription(value); return *this;} /** *

A new description for the AMI.

*/ inline ModifyImageAttributeRequest& WithDescription(AttributeValue&& value) { SetDescription(std::move(value)); return *this;} /** *

The ID of the AMI.

*/ inline const Aws::String& GetImageId() const{ return m_imageId; } /** *

The ID of the AMI.

*/ inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } /** *

The ID of the AMI.

*/ inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; } /** *

The ID of the AMI.

*/ inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } /** *

The ID of the AMI.

*/ inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); } /** *

The ID of the AMI.

*/ inline ModifyImageAttributeRequest& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} /** *

The ID of the AMI.

*/ inline ModifyImageAttributeRequest& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} /** *

The ID of the AMI.

*/ inline ModifyImageAttributeRequest& WithImageId(const char* value) { SetImageId(value); return *this;} /** *

A new launch permission for the AMI.

*/ inline const LaunchPermissionModifications& GetLaunchPermission() const{ return m_launchPermission; } /** *

A new launch permission for the AMI.

*/ inline bool LaunchPermissionHasBeenSet() const { return m_launchPermissionHasBeenSet; } /** *

A new launch permission for the AMI.

*/ inline void SetLaunchPermission(const LaunchPermissionModifications& value) { m_launchPermissionHasBeenSet = true; m_launchPermission = value; } /** *

A new launch permission for the AMI.

*/ inline void SetLaunchPermission(LaunchPermissionModifications&& value) { m_launchPermissionHasBeenSet = true; m_launchPermission = std::move(value); } /** *

A new launch permission for the AMI.

*/ inline ModifyImageAttributeRequest& WithLaunchPermission(const LaunchPermissionModifications& value) { SetLaunchPermission(value); return *this;} /** *

A new launch permission for the AMI.

*/ inline ModifyImageAttributeRequest& WithLaunchPermission(LaunchPermissionModifications&& value) { SetLaunchPermission(std::move(value)); return *this;} /** *

The operation type. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline const OperationType& GetOperationType() const{ return m_operationType; } /** *

The operation type. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; } /** *

The operation type. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline void SetOperationType(const OperationType& value) { m_operationTypeHasBeenSet = true; m_operationType = value; } /** *

The operation type. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline void SetOperationType(OperationType&& value) { m_operationTypeHasBeenSet = true; m_operationType = std::move(value); } /** *

The operation type. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& WithOperationType(const OperationType& value) { SetOperationType(value); return *this;} /** *

The operation type. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& WithOperationType(OperationType&& value) { SetOperationType(std::move(value)); return *this;} /** *

Not supported.

*/ inline const Aws::Vector& GetProductCodes() const{ return m_productCodes; } /** *

Not supported.

*/ inline bool ProductCodesHasBeenSet() const { return m_productCodesHasBeenSet; } /** *

Not supported.

*/ inline void SetProductCodes(const Aws::Vector& value) { m_productCodesHasBeenSet = true; m_productCodes = value; } /** *

Not supported.

*/ inline void SetProductCodes(Aws::Vector&& value) { m_productCodesHasBeenSet = true; m_productCodes = std::move(value); } /** *

Not supported.

*/ inline ModifyImageAttributeRequest& WithProductCodes(const Aws::Vector& value) { SetProductCodes(value); return *this;} /** *

Not supported.

*/ inline ModifyImageAttributeRequest& WithProductCodes(Aws::Vector&& value) { SetProductCodes(std::move(value)); return *this;} /** *

Not supported.

*/ inline ModifyImageAttributeRequest& AddProductCodes(const Aws::String& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(value); return *this; } /** *

Not supported.

*/ inline ModifyImageAttributeRequest& AddProductCodes(Aws::String&& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(std::move(value)); return *this; } /** *

Not supported.

*/ inline ModifyImageAttributeRequest& AddProductCodes(const char* value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(value); return *this; } /** *

The user groups. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline const Aws::Vector& GetUserGroups() const{ return m_userGroups; } /** *

The user groups. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline bool UserGroupsHasBeenSet() const { return m_userGroupsHasBeenSet; } /** *

The user groups. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline void SetUserGroups(const Aws::Vector& value) { m_userGroupsHasBeenSet = true; m_userGroups = value; } /** *

The user groups. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline void SetUserGroups(Aws::Vector&& value) { m_userGroupsHasBeenSet = true; m_userGroups = std::move(value); } /** *

The user groups. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& WithUserGroups(const Aws::Vector& value) { SetUserGroups(value); return *this;} /** *

The user groups. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& WithUserGroups(Aws::Vector&& value) { SetUserGroups(std::move(value)); return *this;} /** *

The user groups. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& AddUserGroups(const Aws::String& value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(value); return *this; } /** *

The user groups. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& AddUserGroups(Aws::String&& value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(std::move(value)); return *this; } /** *

The user groups. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& AddUserGroups(const char* value) { m_userGroupsHasBeenSet = true; m_userGroups.push_back(value); return *this; } /** *

The Amazon Web Services account IDs. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline const Aws::Vector& GetUserIds() const{ return m_userIds; } /** *

The Amazon Web Services account IDs. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline bool UserIdsHasBeenSet() const { return m_userIdsHasBeenSet; } /** *

The Amazon Web Services account IDs. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline void SetUserIds(const Aws::Vector& value) { m_userIdsHasBeenSet = true; m_userIds = value; } /** *

The Amazon Web Services account IDs. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline void SetUserIds(Aws::Vector&& value) { m_userIdsHasBeenSet = true; m_userIds = std::move(value); } /** *

The Amazon Web Services account IDs. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& WithUserIds(const Aws::Vector& value) { SetUserIds(value); return *this;} /** *

The Amazon Web Services account IDs. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& WithUserIds(Aws::Vector&& value) { SetUserIds(std::move(value)); return *this;} /** *

The Amazon Web Services account IDs. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& AddUserIds(const Aws::String& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; } /** *

The Amazon Web Services account IDs. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& AddUserIds(Aws::String&& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(std::move(value)); return *this; } /** *

The Amazon Web Services account IDs. This parameter can be used only when the * Attribute parameter is launchPermission.

*/ inline ModifyImageAttributeRequest& AddUserIds(const char* value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; } /** *

The value of the attribute being modified. This parameter can be used only * when the Attribute parameter is description or * imdsSupport.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

The value of the attribute being modified. This parameter can be used only * when the Attribute parameter is description or * imdsSupport.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The value of the attribute being modified. This parameter can be used only * when the Attribute parameter is description or * imdsSupport.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The value of the attribute being modified. This parameter can be used only * when the Attribute parameter is description or * imdsSupport.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The value of the attribute being modified. This parameter can be used only * when the Attribute parameter is description or * imdsSupport.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

The value of the attribute being modified. This parameter can be used only * when the Attribute parameter is description or * imdsSupport.

*/ inline ModifyImageAttributeRequest& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

The value of the attribute being modified. This parameter can be used only * when the Attribute parameter is description or * imdsSupport.

*/ inline ModifyImageAttributeRequest& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

The value of the attribute being modified. This parameter can be used only * when the Attribute parameter is description or * imdsSupport.

*/ inline ModifyImageAttributeRequest& WithValue(const char* value) { SetValue(value); return *this;} /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline bool GetDryRun() const{ return m_dryRun; } /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; } /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; } /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline ModifyImageAttributeRequest& WithDryRun(bool value) { SetDryRun(value); return *this;} /** *

The Amazon Resource Name (ARN) of an organization. This parameter can be used * only when the Attribute parameter is * launchPermission.

*/ inline const Aws::Vector& GetOrganizationArns() const{ return m_organizationArns; } /** *

The Amazon Resource Name (ARN) of an organization. This parameter can be used * only when the Attribute parameter is * launchPermission.

*/ inline bool OrganizationArnsHasBeenSet() const { return m_organizationArnsHasBeenSet; } /** *

The Amazon Resource Name (ARN) of an organization. This parameter can be used * only when the Attribute parameter is * launchPermission.

*/ inline void SetOrganizationArns(const Aws::Vector& value) { m_organizationArnsHasBeenSet = true; m_organizationArns = value; } /** *

The Amazon Resource Name (ARN) of an organization. This parameter can be used * only when the Attribute parameter is * launchPermission.

*/ inline void SetOrganizationArns(Aws::Vector&& value) { m_organizationArnsHasBeenSet = true; m_organizationArns = std::move(value); } /** *

The Amazon Resource Name (ARN) of an organization. This parameter can be used * only when the Attribute parameter is * launchPermission.

*/ inline ModifyImageAttributeRequest& WithOrganizationArns(const Aws::Vector& value) { SetOrganizationArns(value); return *this;} /** *

The Amazon Resource Name (ARN) of an organization. This parameter can be used * only when the Attribute parameter is * launchPermission.

*/ inline ModifyImageAttributeRequest& WithOrganizationArns(Aws::Vector&& value) { SetOrganizationArns(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an organization. This parameter can be used * only when the Attribute parameter is * launchPermission.

*/ inline ModifyImageAttributeRequest& AddOrganizationArns(const Aws::String& value) { m_organizationArnsHasBeenSet = true; m_organizationArns.push_back(value); return *this; } /** *

The Amazon Resource Name (ARN) of an organization. This parameter can be used * only when the Attribute parameter is * launchPermission.

*/ inline ModifyImageAttributeRequest& AddOrganizationArns(Aws::String&& value) { m_organizationArnsHasBeenSet = true; m_organizationArns.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) of an organization. This parameter can be used * only when the Attribute parameter is * launchPermission.

*/ inline ModifyImageAttributeRequest& AddOrganizationArns(const char* value) { m_organizationArnsHasBeenSet = true; m_organizationArns.push_back(value); return *this; } /** *

The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter * can be used only when the Attribute parameter is * launchPermission.

*/ inline const Aws::Vector& GetOrganizationalUnitArns() const{ return m_organizationalUnitArns; } /** *

The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter * can be used only when the Attribute parameter is * launchPermission.

*/ inline bool OrganizationalUnitArnsHasBeenSet() const { return m_organizationalUnitArnsHasBeenSet; } /** *

The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter * can be used only when the Attribute parameter is * launchPermission.

*/ inline void SetOrganizationalUnitArns(const Aws::Vector& value) { m_organizationalUnitArnsHasBeenSet = true; m_organizationalUnitArns = value; } /** *

The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter * can be used only when the Attribute parameter is * launchPermission.

*/ inline void SetOrganizationalUnitArns(Aws::Vector&& value) { m_organizationalUnitArnsHasBeenSet = true; m_organizationalUnitArns = std::move(value); } /** *

The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter * can be used only when the Attribute parameter is * launchPermission.

*/ inline ModifyImageAttributeRequest& WithOrganizationalUnitArns(const Aws::Vector& value) { SetOrganizationalUnitArns(value); return *this;} /** *

The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter * can be used only when the Attribute parameter is * launchPermission.

*/ inline ModifyImageAttributeRequest& WithOrganizationalUnitArns(Aws::Vector&& value) { SetOrganizationalUnitArns(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter * can be used only when the Attribute parameter is * launchPermission.

*/ inline ModifyImageAttributeRequest& AddOrganizationalUnitArns(const Aws::String& value) { m_organizationalUnitArnsHasBeenSet = true; m_organizationalUnitArns.push_back(value); return *this; } /** *

The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter * can be used only when the Attribute parameter is * launchPermission.

*/ inline ModifyImageAttributeRequest& AddOrganizationalUnitArns(Aws::String&& value) { m_organizationalUnitArnsHasBeenSet = true; m_organizationalUnitArns.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter * can be used only when the Attribute parameter is * launchPermission.

*/ inline ModifyImageAttributeRequest& AddOrganizationalUnitArns(const char* value) { m_organizationalUnitArnsHasBeenSet = true; m_organizationalUnitArns.push_back(value); return *this; } /** *

Set to v2.0 to indicate that IMDSv2 is specified in the AMI. * Instances launched from this AMI will have HttpTokens automatically * set to required so that, by default, the instance requires that * IMDSv2 is used when requesting instance metadata. In addition, * HttpPutResponseHopLimit is set to 2. For more * information, see Configure * the AMI in the Amazon EC2 User Guide.

Do not use * this parameter unless your AMI software supports IMDSv2. After you set the value * to v2.0, you can't undo it. The only way to “reset” your AMI is to * create a new AMI from the underlying snapshot.

*/ inline const AttributeValue& GetImdsSupport() const{ return m_imdsSupport; } /** *

Set to v2.0 to indicate that IMDSv2 is specified in the AMI. * Instances launched from this AMI will have HttpTokens automatically * set to required so that, by default, the instance requires that * IMDSv2 is used when requesting instance metadata. In addition, * HttpPutResponseHopLimit is set to 2. For more * information, see Configure * the AMI in the Amazon EC2 User Guide.

Do not use * this parameter unless your AMI software supports IMDSv2. After you set the value * to v2.0, you can't undo it. The only way to “reset” your AMI is to * create a new AMI from the underlying snapshot.

*/ inline bool ImdsSupportHasBeenSet() const { return m_imdsSupportHasBeenSet; } /** *

Set to v2.0 to indicate that IMDSv2 is specified in the AMI. * Instances launched from this AMI will have HttpTokens automatically * set to required so that, by default, the instance requires that * IMDSv2 is used when requesting instance metadata. In addition, * HttpPutResponseHopLimit is set to 2. For more * information, see Configure * the AMI in the Amazon EC2 User Guide.

Do not use * this parameter unless your AMI software supports IMDSv2. After you set the value * to v2.0, you can't undo it. The only way to “reset” your AMI is to * create a new AMI from the underlying snapshot.

*/ inline void SetImdsSupport(const AttributeValue& value) { m_imdsSupportHasBeenSet = true; m_imdsSupport = value; } /** *

Set to v2.0 to indicate that IMDSv2 is specified in the AMI. * Instances launched from this AMI will have HttpTokens automatically * set to required so that, by default, the instance requires that * IMDSv2 is used when requesting instance metadata. In addition, * HttpPutResponseHopLimit is set to 2. For more * information, see Configure * the AMI in the Amazon EC2 User Guide.

Do not use * this parameter unless your AMI software supports IMDSv2. After you set the value * to v2.0, you can't undo it. The only way to “reset” your AMI is to * create a new AMI from the underlying snapshot.

*/ inline void SetImdsSupport(AttributeValue&& value) { m_imdsSupportHasBeenSet = true; m_imdsSupport = std::move(value); } /** *

Set to v2.0 to indicate that IMDSv2 is specified in the AMI. * Instances launched from this AMI will have HttpTokens automatically * set to required so that, by default, the instance requires that * IMDSv2 is used when requesting instance metadata. In addition, * HttpPutResponseHopLimit is set to 2. For more * information, see Configure * the AMI in the Amazon EC2 User Guide.

Do not use * this parameter unless your AMI software supports IMDSv2. After you set the value * to v2.0, you can't undo it. The only way to “reset” your AMI is to * create a new AMI from the underlying snapshot.

*/ inline ModifyImageAttributeRequest& WithImdsSupport(const AttributeValue& value) { SetImdsSupport(value); return *this;} /** *

Set to v2.0 to indicate that IMDSv2 is specified in the AMI. * Instances launched from this AMI will have HttpTokens automatically * set to required so that, by default, the instance requires that * IMDSv2 is used when requesting instance metadata. In addition, * HttpPutResponseHopLimit is set to 2. For more * information, see Configure * the AMI in the Amazon EC2 User Guide.

Do not use * this parameter unless your AMI software supports IMDSv2. After you set the value * to v2.0, you can't undo it. The only way to “reset” your AMI is to * create a new AMI from the underlying snapshot.

*/ inline ModifyImageAttributeRequest& WithImdsSupport(AttributeValue&& value) { SetImdsSupport(std::move(value)); return *this;} private: Aws::String m_attribute; bool m_attributeHasBeenSet = false; AttributeValue m_description; bool m_descriptionHasBeenSet = false; Aws::String m_imageId; bool m_imageIdHasBeenSet = false; LaunchPermissionModifications m_launchPermission; bool m_launchPermissionHasBeenSet = false; OperationType m_operationType; bool m_operationTypeHasBeenSet = false; Aws::Vector m_productCodes; bool m_productCodesHasBeenSet = false; Aws::Vector m_userGroups; bool m_userGroupsHasBeenSet = false; Aws::Vector m_userIds; bool m_userIdsHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; bool m_dryRun; bool m_dryRunHasBeenSet = false; Aws::Vector m_organizationArns; bool m_organizationArnsHasBeenSet = false; Aws::Vector m_organizationalUnitArns; bool m_organizationalUnitArnsHasBeenSet = false; AttributeValue m_imdsSupport; bool m_imdsSupportHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws