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

A JSON object containing one or more of the following fields:

See Also:

* AWS * API Reference

*/ class ActivateGatewayRequest : public StorageGatewayRequest { public: AWS_STORAGEGATEWAY_API ActivateGatewayRequest(); // 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 "ActivateGateway"; } AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override; AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Your gateway activation key. You can obtain the activation key by sending an * HTTP GET request with redirects enabled to the gateway IP address (port 80). The * redirect URL returned in the response provides you the activation key for your * gateway in the query string parameter activationKey. It may also * include other activation-related parameters, however, these are merely defaults * -- the arguments you pass to the ActivateGateway API call determine * the actual configuration of your gateway.

For more information, see Getting * activation key in the Storage Gateway User Guide.

*/ inline const Aws::String& GetActivationKey() const{ return m_activationKey; } /** *

Your gateway activation key. You can obtain the activation key by sending an * HTTP GET request with redirects enabled to the gateway IP address (port 80). The * redirect URL returned in the response provides you the activation key for your * gateway in the query string parameter activationKey. It may also * include other activation-related parameters, however, these are merely defaults * -- the arguments you pass to the ActivateGateway API call determine * the actual configuration of your gateway.

For more information, see Getting * activation key in the Storage Gateway User Guide.

*/ inline bool ActivationKeyHasBeenSet() const { return m_activationKeyHasBeenSet; } /** *

Your gateway activation key. You can obtain the activation key by sending an * HTTP GET request with redirects enabled to the gateway IP address (port 80). The * redirect URL returned in the response provides you the activation key for your * gateway in the query string parameter activationKey. It may also * include other activation-related parameters, however, these are merely defaults * -- the arguments you pass to the ActivateGateway API call determine * the actual configuration of your gateway.

For more information, see Getting * activation key in the Storage Gateway User Guide.

*/ inline void SetActivationKey(const Aws::String& value) { m_activationKeyHasBeenSet = true; m_activationKey = value; } /** *

Your gateway activation key. You can obtain the activation key by sending an * HTTP GET request with redirects enabled to the gateway IP address (port 80). The * redirect URL returned in the response provides you the activation key for your * gateway in the query string parameter activationKey. It may also * include other activation-related parameters, however, these are merely defaults * -- the arguments you pass to the ActivateGateway API call determine * the actual configuration of your gateway.

For more information, see Getting * activation key in the Storage Gateway User Guide.

*/ inline void SetActivationKey(Aws::String&& value) { m_activationKeyHasBeenSet = true; m_activationKey = std::move(value); } /** *

Your gateway activation key. You can obtain the activation key by sending an * HTTP GET request with redirects enabled to the gateway IP address (port 80). The * redirect URL returned in the response provides you the activation key for your * gateway in the query string parameter activationKey. It may also * include other activation-related parameters, however, these are merely defaults * -- the arguments you pass to the ActivateGateway API call determine * the actual configuration of your gateway.

For more information, see Getting * activation key in the Storage Gateway User Guide.

*/ inline void SetActivationKey(const char* value) { m_activationKeyHasBeenSet = true; m_activationKey.assign(value); } /** *

Your gateway activation key. You can obtain the activation key by sending an * HTTP GET request with redirects enabled to the gateway IP address (port 80). The * redirect URL returned in the response provides you the activation key for your * gateway in the query string parameter activationKey. It may also * include other activation-related parameters, however, these are merely defaults * -- the arguments you pass to the ActivateGateway API call determine * the actual configuration of your gateway.

For more information, see Getting * activation key in the Storage Gateway User Guide.

*/ inline ActivateGatewayRequest& WithActivationKey(const Aws::String& value) { SetActivationKey(value); return *this;} /** *

Your gateway activation key. You can obtain the activation key by sending an * HTTP GET request with redirects enabled to the gateway IP address (port 80). The * redirect URL returned in the response provides you the activation key for your * gateway in the query string parameter activationKey. It may also * include other activation-related parameters, however, these are merely defaults * -- the arguments you pass to the ActivateGateway API call determine * the actual configuration of your gateway.

For more information, see Getting * activation key in the Storage Gateway User Guide.

*/ inline ActivateGatewayRequest& WithActivationKey(Aws::String&& value) { SetActivationKey(std::move(value)); return *this;} /** *

Your gateway activation key. You can obtain the activation key by sending an * HTTP GET request with redirects enabled to the gateway IP address (port 80). The * redirect URL returned in the response provides you the activation key for your * gateway in the query string parameter activationKey. It may also * include other activation-related parameters, however, these are merely defaults * -- the arguments you pass to the ActivateGateway API call determine * the actual configuration of your gateway.

For more information, see Getting * activation key in the Storage Gateway User Guide.

*/ inline ActivateGatewayRequest& WithActivationKey(const char* value) { SetActivationKey(value); return *this;} /** *

The name you configured for your gateway.

*/ inline const Aws::String& GetGatewayName() const{ return m_gatewayName; } /** *

The name you configured for your gateway.

*/ inline bool GatewayNameHasBeenSet() const { return m_gatewayNameHasBeenSet; } /** *

The name you configured for your gateway.

*/ inline void SetGatewayName(const Aws::String& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = value; } /** *

The name you configured for your gateway.

*/ inline void SetGatewayName(Aws::String&& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = std::move(value); } /** *

The name you configured for your gateway.

*/ inline void SetGatewayName(const char* value) { m_gatewayNameHasBeenSet = true; m_gatewayName.assign(value); } /** *

The name you configured for your gateway.

*/ inline ActivateGatewayRequest& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;} /** *

The name you configured for your gateway.

*/ inline ActivateGatewayRequest& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;} /** *

The name you configured for your gateway.

*/ inline ActivateGatewayRequest& WithGatewayName(const char* value) { SetGatewayName(value); return *this;} /** *

A value that indicates the time zone you want to set for the gateway. The * time zone is of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 * indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours * ahead of GMT. The time zone is used, for example, for scheduling snapshots and * your gateway's maintenance schedule.

*/ inline const Aws::String& GetGatewayTimezone() const{ return m_gatewayTimezone; } /** *

A value that indicates the time zone you want to set for the gateway. The * time zone is of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 * indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours * ahead of GMT. The time zone is used, for example, for scheduling snapshots and * your gateway's maintenance schedule.

*/ inline bool GatewayTimezoneHasBeenSet() const { return m_gatewayTimezoneHasBeenSet; } /** *

A value that indicates the time zone you want to set for the gateway. The * time zone is of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 * indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours * ahead of GMT. The time zone is used, for example, for scheduling snapshots and * your gateway's maintenance schedule.

*/ inline void SetGatewayTimezone(const Aws::String& value) { m_gatewayTimezoneHasBeenSet = true; m_gatewayTimezone = value; } /** *

A value that indicates the time zone you want to set for the gateway. The * time zone is of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 * indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours * ahead of GMT. The time zone is used, for example, for scheduling snapshots and * your gateway's maintenance schedule.

*/ inline void SetGatewayTimezone(Aws::String&& value) { m_gatewayTimezoneHasBeenSet = true; m_gatewayTimezone = std::move(value); } /** *

A value that indicates the time zone you want to set for the gateway. The * time zone is of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 * indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours * ahead of GMT. The time zone is used, for example, for scheduling snapshots and * your gateway's maintenance schedule.

*/ inline void SetGatewayTimezone(const char* value) { m_gatewayTimezoneHasBeenSet = true; m_gatewayTimezone.assign(value); } /** *

A value that indicates the time zone you want to set for the gateway. The * time zone is of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 * indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours * ahead of GMT. The time zone is used, for example, for scheduling snapshots and * your gateway's maintenance schedule.

*/ inline ActivateGatewayRequest& WithGatewayTimezone(const Aws::String& value) { SetGatewayTimezone(value); return *this;} /** *

A value that indicates the time zone you want to set for the gateway. The * time zone is of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 * indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours * ahead of GMT. The time zone is used, for example, for scheduling snapshots and * your gateway's maintenance schedule.

*/ inline ActivateGatewayRequest& WithGatewayTimezone(Aws::String&& value) { SetGatewayTimezone(std::move(value)); return *this;} /** *

A value that indicates the time zone you want to set for the gateway. The * time zone is of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 * indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours * ahead of GMT. The time zone is used, for example, for scheduling snapshots and * your gateway's maintenance schedule.

*/ inline ActivateGatewayRequest& WithGatewayTimezone(const char* value) { SetGatewayTimezone(value); return *this;} /** *

A value that indicates the Amazon Web Services Region where you want to store * your data. The gateway Amazon Web Services Region specified must be the same * Amazon Web Services Region as the Amazon Web Services Region in your * Host header in the request. For more information about available * Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway * endpoints and quotas in the Amazon Web Services General * Reference.

Valid Values: See Storage Gateway * endpoints and quotas in the Amazon Web Services General Reference. *

*/ inline const Aws::String& GetGatewayRegion() const{ return m_gatewayRegion; } /** *

A value that indicates the Amazon Web Services Region where you want to store * your data. The gateway Amazon Web Services Region specified must be the same * Amazon Web Services Region as the Amazon Web Services Region in your * Host header in the request. For more information about available * Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway * endpoints and quotas in the Amazon Web Services General * Reference.

Valid Values: See Storage Gateway * endpoints and quotas in the Amazon Web Services General Reference. *

*/ inline bool GatewayRegionHasBeenSet() const { return m_gatewayRegionHasBeenSet; } /** *

A value that indicates the Amazon Web Services Region where you want to store * your data. The gateway Amazon Web Services Region specified must be the same * Amazon Web Services Region as the Amazon Web Services Region in your * Host header in the request. For more information about available * Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway * endpoints and quotas in the Amazon Web Services General * Reference.

Valid Values: See Storage Gateway * endpoints and quotas in the Amazon Web Services General Reference. *

*/ inline void SetGatewayRegion(const Aws::String& value) { m_gatewayRegionHasBeenSet = true; m_gatewayRegion = value; } /** *

A value that indicates the Amazon Web Services Region where you want to store * your data. The gateway Amazon Web Services Region specified must be the same * Amazon Web Services Region as the Amazon Web Services Region in your * Host header in the request. For more information about available * Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway * endpoints and quotas in the Amazon Web Services General * Reference.

Valid Values: See Storage Gateway * endpoints and quotas in the Amazon Web Services General Reference. *

*/ inline void SetGatewayRegion(Aws::String&& value) { m_gatewayRegionHasBeenSet = true; m_gatewayRegion = std::move(value); } /** *

A value that indicates the Amazon Web Services Region where you want to store * your data. The gateway Amazon Web Services Region specified must be the same * Amazon Web Services Region as the Amazon Web Services Region in your * Host header in the request. For more information about available * Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway * endpoints and quotas in the Amazon Web Services General * Reference.

Valid Values: See Storage Gateway * endpoints and quotas in the Amazon Web Services General Reference. *

*/ inline void SetGatewayRegion(const char* value) { m_gatewayRegionHasBeenSet = true; m_gatewayRegion.assign(value); } /** *

A value that indicates the Amazon Web Services Region where you want to store * your data. The gateway Amazon Web Services Region specified must be the same * Amazon Web Services Region as the Amazon Web Services Region in your * Host header in the request. For more information about available * Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway * endpoints and quotas in the Amazon Web Services General * Reference.

Valid Values: See Storage Gateway * endpoints and quotas in the Amazon Web Services General Reference. *

*/ inline ActivateGatewayRequest& WithGatewayRegion(const Aws::String& value) { SetGatewayRegion(value); return *this;} /** *

A value that indicates the Amazon Web Services Region where you want to store * your data. The gateway Amazon Web Services Region specified must be the same * Amazon Web Services Region as the Amazon Web Services Region in your * Host header in the request. For more information about available * Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway * endpoints and quotas in the Amazon Web Services General * Reference.

Valid Values: See Storage Gateway * endpoints and quotas in the Amazon Web Services General Reference. *

*/ inline ActivateGatewayRequest& WithGatewayRegion(Aws::String&& value) { SetGatewayRegion(std::move(value)); return *this;} /** *

A value that indicates the Amazon Web Services Region where you want to store * your data. The gateway Amazon Web Services Region specified must be the same * Amazon Web Services Region as the Amazon Web Services Region in your * Host header in the request. For more information about available * Amazon Web Services Regions and endpoints for Storage Gateway, see Storage Gateway * endpoints and quotas in the Amazon Web Services General * Reference.

Valid Values: See Storage Gateway * endpoints and quotas in the Amazon Web Services General Reference. *

*/ inline ActivateGatewayRequest& WithGatewayRegion(const char* value) { SetGatewayRegion(value); return *this;} /** *

A value that defines the type of gateway to activate. The type specified is * critical to all later functions of the gateway and cannot be changed after * activation. The default value is CACHED.

Valid Values: * STORED | CACHED | VTL | * VTL_SNOW | FILE_S3 | FILE_FSX_SMB

*/ inline const Aws::String& GetGatewayType() const{ return m_gatewayType; } /** *

A value that defines the type of gateway to activate. The type specified is * critical to all later functions of the gateway and cannot be changed after * activation. The default value is CACHED.

Valid Values: * STORED | CACHED | VTL | * VTL_SNOW | FILE_S3 | FILE_FSX_SMB

*/ inline bool GatewayTypeHasBeenSet() const { return m_gatewayTypeHasBeenSet; } /** *

A value that defines the type of gateway to activate. The type specified is * critical to all later functions of the gateway and cannot be changed after * activation. The default value is CACHED.

Valid Values: * STORED | CACHED | VTL | * VTL_SNOW | FILE_S3 | FILE_FSX_SMB

*/ inline void SetGatewayType(const Aws::String& value) { m_gatewayTypeHasBeenSet = true; m_gatewayType = value; } /** *

A value that defines the type of gateway to activate. The type specified is * critical to all later functions of the gateway and cannot be changed after * activation. The default value is CACHED.

Valid Values: * STORED | CACHED | VTL | * VTL_SNOW | FILE_S3 | FILE_FSX_SMB

*/ inline void SetGatewayType(Aws::String&& value) { m_gatewayTypeHasBeenSet = true; m_gatewayType = std::move(value); } /** *

A value that defines the type of gateway to activate. The type specified is * critical to all later functions of the gateway and cannot be changed after * activation. The default value is CACHED.

Valid Values: * STORED | CACHED | VTL | * VTL_SNOW | FILE_S3 | FILE_FSX_SMB

*/ inline void SetGatewayType(const char* value) { m_gatewayTypeHasBeenSet = true; m_gatewayType.assign(value); } /** *

A value that defines the type of gateway to activate. The type specified is * critical to all later functions of the gateway and cannot be changed after * activation. The default value is CACHED.

Valid Values: * STORED | CACHED | VTL | * VTL_SNOW | FILE_S3 | FILE_FSX_SMB

*/ inline ActivateGatewayRequest& WithGatewayType(const Aws::String& value) { SetGatewayType(value); return *this;} /** *

A value that defines the type of gateway to activate. The type specified is * critical to all later functions of the gateway and cannot be changed after * activation. The default value is CACHED.

Valid Values: * STORED | CACHED | VTL | * VTL_SNOW | FILE_S3 | FILE_FSX_SMB

*/ inline ActivateGatewayRequest& WithGatewayType(Aws::String&& value) { SetGatewayType(std::move(value)); return *this;} /** *

A value that defines the type of gateway to activate. The type specified is * critical to all later functions of the gateway and cannot be changed after * activation. The default value is CACHED.

Valid Values: * STORED | CACHED | VTL | * VTL_SNOW | FILE_S3 | FILE_FSX_SMB

*/ inline ActivateGatewayRequest& WithGatewayType(const char* value) { SetGatewayType(value); return *this;} /** *

The value that indicates the type of tape drive to use for tape gateway. This * field is optional.

Valid Values: IBM-ULT3580-TD5

*/ inline const Aws::String& GetTapeDriveType() const{ return m_tapeDriveType; } /** *

The value that indicates the type of tape drive to use for tape gateway. This * field is optional.

Valid Values: IBM-ULT3580-TD5

*/ inline bool TapeDriveTypeHasBeenSet() const { return m_tapeDriveTypeHasBeenSet; } /** *

The value that indicates the type of tape drive to use for tape gateway. This * field is optional.

Valid Values: IBM-ULT3580-TD5

*/ inline void SetTapeDriveType(const Aws::String& value) { m_tapeDriveTypeHasBeenSet = true; m_tapeDriveType = value; } /** *

The value that indicates the type of tape drive to use for tape gateway. This * field is optional.

Valid Values: IBM-ULT3580-TD5

*/ inline void SetTapeDriveType(Aws::String&& value) { m_tapeDriveTypeHasBeenSet = true; m_tapeDriveType = std::move(value); } /** *

The value that indicates the type of tape drive to use for tape gateway. This * field is optional.

Valid Values: IBM-ULT3580-TD5

*/ inline void SetTapeDriveType(const char* value) { m_tapeDriveTypeHasBeenSet = true; m_tapeDriveType.assign(value); } /** *

The value that indicates the type of tape drive to use for tape gateway. This * field is optional.

Valid Values: IBM-ULT3580-TD5

*/ inline ActivateGatewayRequest& WithTapeDriveType(const Aws::String& value) { SetTapeDriveType(value); return *this;} /** *

The value that indicates the type of tape drive to use for tape gateway. This * field is optional.

Valid Values: IBM-ULT3580-TD5

*/ inline ActivateGatewayRequest& WithTapeDriveType(Aws::String&& value) { SetTapeDriveType(std::move(value)); return *this;} /** *

The value that indicates the type of tape drive to use for tape gateway. This * field is optional.

Valid Values: IBM-ULT3580-TD5

*/ inline ActivateGatewayRequest& WithTapeDriveType(const char* value) { SetTapeDriveType(value); return *this;} /** *

The value that indicates the type of medium changer to use for tape gateway. * This field is optional.

Valid Values: STK-L700 | * AWS-Gateway-VTL | IBM-03584L32-0402

*/ inline const Aws::String& GetMediumChangerType() const{ return m_mediumChangerType; } /** *

The value that indicates the type of medium changer to use for tape gateway. * This field is optional.

Valid Values: STK-L700 | * AWS-Gateway-VTL | IBM-03584L32-0402

*/ inline bool MediumChangerTypeHasBeenSet() const { return m_mediumChangerTypeHasBeenSet; } /** *

The value that indicates the type of medium changer to use for tape gateway. * This field is optional.

Valid Values: STK-L700 | * AWS-Gateway-VTL | IBM-03584L32-0402

*/ inline void SetMediumChangerType(const Aws::String& value) { m_mediumChangerTypeHasBeenSet = true; m_mediumChangerType = value; } /** *

The value that indicates the type of medium changer to use for tape gateway. * This field is optional.

Valid Values: STK-L700 | * AWS-Gateway-VTL | IBM-03584L32-0402

*/ inline void SetMediumChangerType(Aws::String&& value) { m_mediumChangerTypeHasBeenSet = true; m_mediumChangerType = std::move(value); } /** *

The value that indicates the type of medium changer to use for tape gateway. * This field is optional.

Valid Values: STK-L700 | * AWS-Gateway-VTL | IBM-03584L32-0402

*/ inline void SetMediumChangerType(const char* value) { m_mediumChangerTypeHasBeenSet = true; m_mediumChangerType.assign(value); } /** *

The value that indicates the type of medium changer to use for tape gateway. * This field is optional.

Valid Values: STK-L700 | * AWS-Gateway-VTL | IBM-03584L32-0402

*/ inline ActivateGatewayRequest& WithMediumChangerType(const Aws::String& value) { SetMediumChangerType(value); return *this;} /** *

The value that indicates the type of medium changer to use for tape gateway. * This field is optional.

Valid Values: STK-L700 | * AWS-Gateway-VTL | IBM-03584L32-0402

*/ inline ActivateGatewayRequest& WithMediumChangerType(Aws::String&& value) { SetMediumChangerType(std::move(value)); return *this;} /** *

The value that indicates the type of medium changer to use for tape gateway. * This field is optional.

Valid Values: STK-L700 | * AWS-Gateway-VTL | IBM-03584L32-0402

*/ inline ActivateGatewayRequest& WithMediumChangerType(const char* value) { SetMediumChangerType(value); return *this;} /** *

A list of up to 50 tags that you can assign to the gateway. Each tag is a * key-value pair.

Valid characters for key and value are letters, * spaces, and numbers that can be represented in UTF-8 format, and the following * special characters: + - = . _ : / @. The maximum length of a tag's key is 128 * characters, and the maximum length for a tag's value is 256 characters.

* */ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A list of up to 50 tags that you can assign to the gateway. Each tag is a * key-value pair.

Valid characters for key and value are letters, * spaces, and numbers that can be represented in UTF-8 format, and the following * special characters: + - = . _ : / @. The maximum length of a tag's key is 128 * characters, and the maximum length for a tag's value is 256 characters.

* */ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A list of up to 50 tags that you can assign to the gateway. Each tag is a * key-value pair.

Valid characters for key and value are letters, * spaces, and numbers that can be represented in UTF-8 format, and the following * special characters: + - = . _ : / @. The maximum length of a tag's key is 128 * characters, and the maximum length for a tag's value is 256 characters.

* */ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A list of up to 50 tags that you can assign to the gateway. Each tag is a * key-value pair.

Valid characters for key and value are letters, * spaces, and numbers that can be represented in UTF-8 format, and the following * special characters: + - = . _ : / @. The maximum length of a tag's key is 128 * characters, and the maximum length for a tag's value is 256 characters.

* */ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A list of up to 50 tags that you can assign to the gateway. Each tag is a * key-value pair.

Valid characters for key and value are letters, * spaces, and numbers that can be represented in UTF-8 format, and the following * special characters: + - = . _ : / @. The maximum length of a tag's key is 128 * characters, and the maximum length for a tag's value is 256 characters.

* */ inline ActivateGatewayRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A list of up to 50 tags that you can assign to the gateway. Each tag is a * key-value pair.

Valid characters for key and value are letters, * spaces, and numbers that can be represented in UTF-8 format, and the following * special characters: + - = . _ : / @. The maximum length of a tag's key is 128 * characters, and the maximum length for a tag's value is 256 characters.

* */ inline ActivateGatewayRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A list of up to 50 tags that you can assign to the gateway. Each tag is a * key-value pair.

Valid characters for key and value are letters, * spaces, and numbers that can be represented in UTF-8 format, and the following * special characters: + - = . _ : / @. The maximum length of a tag's key is 128 * characters, and the maximum length for a tag's value is 256 characters.

* */ inline ActivateGatewayRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

A list of up to 50 tags that you can assign to the gateway. Each tag is a * key-value pair.

Valid characters for key and value are letters, * spaces, and numbers that can be represented in UTF-8 format, and the following * special characters: + - = . _ : / @. The maximum length of a tag's key is 128 * characters, and the maximum length for a tag's value is 256 characters.

* */ inline ActivateGatewayRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_activationKey; bool m_activationKeyHasBeenSet = false; Aws::String m_gatewayName; bool m_gatewayNameHasBeenSet = false; Aws::String m_gatewayTimezone; bool m_gatewayTimezoneHasBeenSet = false; Aws::String m_gatewayRegion; bool m_gatewayRegionHasBeenSet = false; Aws::String m_gatewayType; bool m_gatewayTypeHasBeenSet = false; Aws::String m_tapeDriveType; bool m_tapeDriveTypeHasBeenSet = false; Aws::String m_mediumChangerType; bool m_mediumChangerTypeHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws