/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A JSON object containing one or more of the following fields:
See Also:
* AWS
* API Reference
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
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
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
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
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
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
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
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
The value that indicates the type of tape drive to use for tape gateway. This * field is optional.
Valid Values: IBM-ULT3580-TD5
The value that indicates the type of tape drive to use for tape gateway. This * field is optional.
Valid Values: IBM-ULT3580-TD5
The value that indicates the type of tape drive to use for tape gateway. This * field is optional.
Valid Values: IBM-ULT3580-TD5
The value that indicates the type of tape drive to use for tape gateway. This * field is optional.
Valid Values: IBM-ULT3580-TD5
The value that indicates the type of tape drive to use for tape gateway. This * field is optional.
Valid Values: IBM-ULT3580-TD5
The value that indicates the type of tape drive to use for tape gateway. This * field is optional.
Valid Values: IBM-ULT3580-TD5
The value that indicates the type of tape drive to use for tape gateway. This * field is optional.
Valid Values: IBM-ULT3580-TD5
The value that indicates the type of tape drive to use for tape gateway. This * field is optional.
Valid Values: IBM-ULT3580-TD5
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
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
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
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
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
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
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
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
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::VectorA 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::VectorA 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::VectorA 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::VectorA 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::VectorA 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