/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace EC2 { namespace Model { /** */ class ModifyIdFormatRequest : public EC2Request { public: AWS_EC2_API ModifyIdFormatRequest(); // 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 "ModifyIdFormat"; } AWS_EC2_API Aws::String SerializePayload() const override; protected: AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The type of resource: bundle | conversion-task | * customer-gateway | dhcp-options | * elastic-ip-allocation | elastic-ip-association | * export-task | flow-log | image | * import-task | internet-gateway | * network-acl | network-acl-association | * network-interface | network-interface-attachment | * prefix-list | route-table | * route-table-association | security-group | * subnet | subnet-cidr-block-association | * vpc | vpc-cidr-block-association | * vpc-endpoint | vpc-peering-connection | * vpn-connection | vpn-gateway.

Alternatively, * use the all-current option to include all resource types that are * currently within their opt-in period for longer IDs.

*/ inline const Aws::String& GetResource() const{ return m_resource; } /** *

The type of resource: bundle | conversion-task | * customer-gateway | dhcp-options | * elastic-ip-allocation | elastic-ip-association | * export-task | flow-log | image | * import-task | internet-gateway | * network-acl | network-acl-association | * network-interface | network-interface-attachment | * prefix-list | route-table | * route-table-association | security-group | * subnet | subnet-cidr-block-association | * vpc | vpc-cidr-block-association | * vpc-endpoint | vpc-peering-connection | * vpn-connection | vpn-gateway.

Alternatively, * use the all-current option to include all resource types that are * currently within their opt-in period for longer IDs.

*/ inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } /** *

The type of resource: bundle | conversion-task | * customer-gateway | dhcp-options | * elastic-ip-allocation | elastic-ip-association | * export-task | flow-log | image | * import-task | internet-gateway | * network-acl | network-acl-association | * network-interface | network-interface-attachment | * prefix-list | route-table | * route-table-association | security-group | * subnet | subnet-cidr-block-association | * vpc | vpc-cidr-block-association | * vpc-endpoint | vpc-peering-connection | * vpn-connection | vpn-gateway.

Alternatively, * use the all-current option to include all resource types that are * currently within their opt-in period for longer IDs.

*/ inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; } /** *

The type of resource: bundle | conversion-task | * customer-gateway | dhcp-options | * elastic-ip-allocation | elastic-ip-association | * export-task | flow-log | image | * import-task | internet-gateway | * network-acl | network-acl-association | * network-interface | network-interface-attachment | * prefix-list | route-table | * route-table-association | security-group | * subnet | subnet-cidr-block-association | * vpc | vpc-cidr-block-association | * vpc-endpoint | vpc-peering-connection | * vpn-connection | vpn-gateway.

Alternatively, * use the all-current option to include all resource types that are * currently within their opt-in period for longer IDs.

*/ inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); } /** *

The type of resource: bundle | conversion-task | * customer-gateway | dhcp-options | * elastic-ip-allocation | elastic-ip-association | * export-task | flow-log | image | * import-task | internet-gateway | * network-acl | network-acl-association | * network-interface | network-interface-attachment | * prefix-list | route-table | * route-table-association | security-group | * subnet | subnet-cidr-block-association | * vpc | vpc-cidr-block-association | * vpc-endpoint | vpc-peering-connection | * vpn-connection | vpn-gateway.

Alternatively, * use the all-current option to include all resource types that are * currently within their opt-in period for longer IDs.

*/ inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); } /** *

The type of resource: bundle | conversion-task | * customer-gateway | dhcp-options | * elastic-ip-allocation | elastic-ip-association | * export-task | flow-log | image | * import-task | internet-gateway | * network-acl | network-acl-association | * network-interface | network-interface-attachment | * prefix-list | route-table | * route-table-association | security-group | * subnet | subnet-cidr-block-association | * vpc | vpc-cidr-block-association | * vpc-endpoint | vpc-peering-connection | * vpn-connection | vpn-gateway.

Alternatively, * use the all-current option to include all resource types that are * currently within their opt-in period for longer IDs.

*/ inline ModifyIdFormatRequest& WithResource(const Aws::String& value) { SetResource(value); return *this;} /** *

The type of resource: bundle | conversion-task | * customer-gateway | dhcp-options | * elastic-ip-allocation | elastic-ip-association | * export-task | flow-log | image | * import-task | internet-gateway | * network-acl | network-acl-association | * network-interface | network-interface-attachment | * prefix-list | route-table | * route-table-association | security-group | * subnet | subnet-cidr-block-association | * vpc | vpc-cidr-block-association | * vpc-endpoint | vpc-peering-connection | * vpn-connection | vpn-gateway.

Alternatively, * use the all-current option to include all resource types that are * currently within their opt-in period for longer IDs.

*/ inline ModifyIdFormatRequest& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;} /** *

The type of resource: bundle | conversion-task | * customer-gateway | dhcp-options | * elastic-ip-allocation | elastic-ip-association | * export-task | flow-log | image | * import-task | internet-gateway | * network-acl | network-acl-association | * network-interface | network-interface-attachment | * prefix-list | route-table | * route-table-association | security-group | * subnet | subnet-cidr-block-association | * vpc | vpc-cidr-block-association | * vpc-endpoint | vpc-peering-connection | * vpn-connection | vpn-gateway.

Alternatively, * use the all-current option to include all resource types that are * currently within their opt-in period for longer IDs.

*/ inline ModifyIdFormatRequest& WithResource(const char* value) { SetResource(value); return *this;} /** *

Indicate whether the resource should use longer IDs (17-character IDs).

*/ inline bool GetUseLongIds() const{ return m_useLongIds; } /** *

Indicate whether the resource should use longer IDs (17-character IDs).

*/ inline bool UseLongIdsHasBeenSet() const { return m_useLongIdsHasBeenSet; } /** *

Indicate whether the resource should use longer IDs (17-character IDs).

*/ inline void SetUseLongIds(bool value) { m_useLongIdsHasBeenSet = true; m_useLongIds = value; } /** *

Indicate whether the resource should use longer IDs (17-character IDs).

*/ inline ModifyIdFormatRequest& WithUseLongIds(bool value) { SetUseLongIds(value); return *this;} private: Aws::String m_resource; bool m_resourceHasBeenSet = false; bool m_useLongIds; bool m_useLongIdsHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws