/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include CreateNFSFileShareInputSee Also:
AWS
* API Reference
A unique string value that you supply that is used by S3 File Gateway to * ensure idempotent file share creation.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *A unique string value that you supply that is used by S3 File Gateway to * ensure idempotent file share creation.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *A unique string value that you supply that is used by S3 File Gateway to * ensure idempotent file share creation.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *A unique string value that you supply that is used by S3 File Gateway to * ensure idempotent file share creation.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *A unique string value that you supply that is used by S3 File Gateway to * ensure idempotent file share creation.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *A unique string value that you supply that is used by S3 File Gateway to * ensure idempotent file share creation.
*/ inline CreateNFSFileShareRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *A unique string value that you supply that is used by S3 File Gateway to * ensure idempotent file share creation.
*/ inline CreateNFSFileShareRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *A unique string value that you supply that is used by S3 File Gateway to * ensure idempotent file share creation.
*/ inline CreateNFSFileShareRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *File share default values. Optional.
*/ inline const NFSFileShareDefaults& GetNFSFileShareDefaults() const{ return m_nFSFileShareDefaults; } /** *File share default values. Optional.
*/ inline bool NFSFileShareDefaultsHasBeenSet() const { return m_nFSFileShareDefaultsHasBeenSet; } /** *File share default values. Optional.
*/ inline void SetNFSFileShareDefaults(const NFSFileShareDefaults& value) { m_nFSFileShareDefaultsHasBeenSet = true; m_nFSFileShareDefaults = value; } /** *File share default values. Optional.
*/ inline void SetNFSFileShareDefaults(NFSFileShareDefaults&& value) { m_nFSFileShareDefaultsHasBeenSet = true; m_nFSFileShareDefaults = std::move(value); } /** *File share default values. Optional.
*/ inline CreateNFSFileShareRequest& WithNFSFileShareDefaults(const NFSFileShareDefaults& value) { SetNFSFileShareDefaults(value); return *this;} /** *File share default values. Optional.
*/ inline CreateNFSFileShareRequest& WithNFSFileShareDefaults(NFSFileShareDefaults&& value) { SetNFSFileShareDefaults(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the S3 File Gateway on which you want to * create a file share.
*/ inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; } /** *The Amazon Resource Name (ARN) of the S3 File Gateway on which you want to * create a file share.
*/ inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; } /** *The Amazon Resource Name (ARN) of the S3 File Gateway on which you want to * create a file share.
*/ inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; } /** *The Amazon Resource Name (ARN) of the S3 File Gateway on which you want to * create a file share.
*/ inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the S3 File Gateway on which you want to * create a file share.
*/ inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); } /** *The Amazon Resource Name (ARN) of the S3 File Gateway on which you want to * create a file share.
*/ inline CreateNFSFileShareRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the S3 File Gateway on which you want to * create a file share.
*/ inline CreateNFSFileShareRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the S3 File Gateway on which you want to * create a file share.
*/ inline CreateNFSFileShareRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;} /** *Set to true
to use Amazon S3 server-side encryption with your
* own KMS key, or false
to use a key managed by Amazon S3.
* Optional.
Valid Values: true
| false
Set to true
to use Amazon S3 server-side encryption with your
* own KMS key, or false
to use a key managed by Amazon S3.
* Optional.
Valid Values: true
| false
Set to true
to use Amazon S3 server-side encryption with your
* own KMS key, or false
to use a key managed by Amazon S3.
* Optional.
Valid Values: true
| false
Set to true
to use Amazon S3 server-side encryption with your
* own KMS key, or false
to use a key managed by Amazon S3.
* Optional.
Valid Values: true
| false
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used
* for Amazon S3 server-side encryption. Storage Gateway does not support
* asymmetric CMKs. This value can only be set when KMSEncrypted
is
* true
. Optional.
The ARN of the Identity and Access Management (IAM) role that an S3 File * Gateway assumes when it accesses the underlying storage.
*/ inline const Aws::String& GetRole() const{ return m_role; } /** *The ARN of the Identity and Access Management (IAM) role that an S3 File * Gateway assumes when it accesses the underlying storage.
*/ inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; } /** *The ARN of the Identity and Access Management (IAM) role that an S3 File * Gateway assumes when it accesses the underlying storage.
*/ inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; } /** *The ARN of the Identity and Access Management (IAM) role that an S3 File * Gateway assumes when it accesses the underlying storage.
*/ inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); } /** *The ARN of the Identity and Access Management (IAM) role that an S3 File * Gateway assumes when it accesses the underlying storage.
*/ inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); } /** *The ARN of the Identity and Access Management (IAM) role that an S3 File * Gateway assumes when it accesses the underlying storage.
*/ inline CreateNFSFileShareRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;} /** *The ARN of the Identity and Access Management (IAM) role that an S3 File * Gateway assumes when it accesses the underlying storage.
*/ inline CreateNFSFileShareRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;} /** *The ARN of the Identity and Access Management (IAM) role that an S3 File * Gateway assumes when it accesses the underlying storage.
*/ inline CreateNFSFileShareRequest& WithRole(const char* value) { SetRole(value); return *this;} /** *A custom ARN for the backend storage used for storing data for file shares. * It includes a resource ARN with an optional prefix concatenation. The prefix * must end with a forward slash (/).
You can specify LocationARN as * a bucket ARN, access point ARN or access point alias, as shown in the following * examples.
Bucket ARN:
arn:aws:s3:::my-bucket/prefix/
*
Access point ARN:
* arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
*
If you specify an access point, the bucket policy must be configured to * delegate access control to the access point. For information, see Delegating * access control to access points in the Amazon S3 User Guide.
*Access point alias:
* test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
A custom ARN for the backend storage used for storing data for file shares. * It includes a resource ARN with an optional prefix concatenation. The prefix * must end with a forward slash (/).
You can specify LocationARN as * a bucket ARN, access point ARN or access point alias, as shown in the following * examples.
Bucket ARN:
arn:aws:s3:::my-bucket/prefix/
*
Access point ARN:
* arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
*
If you specify an access point, the bucket policy must be configured to * delegate access control to the access point. For information, see Delegating * access control to access points in the Amazon S3 User Guide.
*Access point alias:
* test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
A custom ARN for the backend storage used for storing data for file shares. * It includes a resource ARN with an optional prefix concatenation. The prefix * must end with a forward slash (/).
You can specify LocationARN as * a bucket ARN, access point ARN or access point alias, as shown in the following * examples.
Bucket ARN:
arn:aws:s3:::my-bucket/prefix/
*
Access point ARN:
* arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
*
If you specify an access point, the bucket policy must be configured to * delegate access control to the access point. For information, see Delegating * access control to access points in the Amazon S3 User Guide.
*Access point alias:
* test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
A custom ARN for the backend storage used for storing data for file shares. * It includes a resource ARN with an optional prefix concatenation. The prefix * must end with a forward slash (/).
You can specify LocationARN as * a bucket ARN, access point ARN or access point alias, as shown in the following * examples.
Bucket ARN:
arn:aws:s3:::my-bucket/prefix/
*
Access point ARN:
* arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
*
If you specify an access point, the bucket policy must be configured to * delegate access control to the access point. For information, see Delegating * access control to access points in the Amazon S3 User Guide.
*Access point alias:
* test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
A custom ARN for the backend storage used for storing data for file shares. * It includes a resource ARN with an optional prefix concatenation. The prefix * must end with a forward slash (/).
You can specify LocationARN as * a bucket ARN, access point ARN or access point alias, as shown in the following * examples.
Bucket ARN:
arn:aws:s3:::my-bucket/prefix/
*
Access point ARN:
* arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
*
If you specify an access point, the bucket policy must be configured to * delegate access control to the access point. For information, see Delegating * access control to access points in the Amazon S3 User Guide.
*Access point alias:
* test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
A custom ARN for the backend storage used for storing data for file shares. * It includes a resource ARN with an optional prefix concatenation. The prefix * must end with a forward slash (/).
You can specify LocationARN as * a bucket ARN, access point ARN or access point alias, as shown in the following * examples.
Bucket ARN:
arn:aws:s3:::my-bucket/prefix/
*
Access point ARN:
* arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
*
If you specify an access point, the bucket policy must be configured to * delegate access control to the access point. For information, see Delegating * access control to access points in the Amazon S3 User Guide.
*Access point alias:
* test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
A custom ARN for the backend storage used for storing data for file shares. * It includes a resource ARN with an optional prefix concatenation. The prefix * must end with a forward slash (/).
You can specify LocationARN as * a bucket ARN, access point ARN or access point alias, as shown in the following * examples.
Bucket ARN:
arn:aws:s3:::my-bucket/prefix/
*
Access point ARN:
* arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
*
If you specify an access point, the bucket policy must be configured to * delegate access control to the access point. For information, see Delegating * access control to access points in the Amazon S3 User Guide.
*Access point alias:
* test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
A custom ARN for the backend storage used for storing data for file shares. * It includes a resource ARN with an optional prefix concatenation. The prefix * must end with a forward slash (/).
You can specify LocationARN as * a bucket ARN, access point ARN or access point alias, as shown in the following * examples.
Bucket ARN:
arn:aws:s3:::my-bucket/prefix/
*
Access point ARN:
* arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/
*
If you specify an access point, the bucket policy must be configured to * delegate access control to the access point. For information, see Delegating * access control to access points in the Amazon S3 User Guide.
*Access point alias:
* test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias
The default storage class for objects put into an Amazon S3 bucket by the S3
* File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
* | S3_STANDARD_IA
| S3_ONEZONE_IA
The default storage class for objects put into an Amazon S3 bucket by the S3
* File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
* | S3_STANDARD_IA
| S3_ONEZONE_IA
The default storage class for objects put into an Amazon S3 bucket by the S3
* File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
* | S3_STANDARD_IA
| S3_ONEZONE_IA
The default storage class for objects put into an Amazon S3 bucket by the S3
* File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
* | S3_STANDARD_IA
| S3_ONEZONE_IA
The default storage class for objects put into an Amazon S3 bucket by the S3
* File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
* | S3_STANDARD_IA
| S3_ONEZONE_IA
The default storage class for objects put into an Amazon S3 bucket by the S3
* File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
* | S3_STANDARD_IA
| S3_ONEZONE_IA
The default storage class for objects put into an Amazon S3 bucket by the S3
* File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
* | S3_STANDARD_IA
| S3_ONEZONE_IA
The default storage class for objects put into an Amazon S3 bucket by the S3
* File Gateway. The default value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
* | S3_STANDARD_IA
| S3_ONEZONE_IA
A value that sets the access control list (ACL) permission for objects in the
* S3 bucket that a S3 File Gateway puts objects into. The default value is
* private
.
A value that sets the access control list (ACL) permission for objects in the
* S3 bucket that a S3 File Gateway puts objects into. The default value is
* private
.
A value that sets the access control list (ACL) permission for objects in the
* S3 bucket that a S3 File Gateway puts objects into. The default value is
* private
.
A value that sets the access control list (ACL) permission for objects in the
* S3 bucket that a S3 File Gateway puts objects into. The default value is
* private
.
A value that sets the access control list (ACL) permission for objects in the
* S3 bucket that a S3 File Gateway puts objects into. The default value is
* private
.
A value that sets the access control list (ACL) permission for objects in the
* S3 bucket that a S3 File Gateway puts objects into. The default value is
* private
.
The list of clients that are allowed to access the S3 File Gateway. The list * must contain either valid IP addresses or valid CIDR blocks.
*/ inline const Aws::VectorThe list of clients that are allowed to access the S3 File Gateway. The list * must contain either valid IP addresses or valid CIDR blocks.
*/ inline bool ClientListHasBeenSet() const { return m_clientListHasBeenSet; } /** *The list of clients that are allowed to access the S3 File Gateway. The list * must contain either valid IP addresses or valid CIDR blocks.
*/ inline void SetClientList(const Aws::VectorThe list of clients that are allowed to access the S3 File Gateway. The list * must contain either valid IP addresses or valid CIDR blocks.
*/ inline void SetClientList(Aws::VectorThe list of clients that are allowed to access the S3 File Gateway. The list * must contain either valid IP addresses or valid CIDR blocks.
*/ inline CreateNFSFileShareRequest& WithClientList(const Aws::VectorThe list of clients that are allowed to access the S3 File Gateway. The list * must contain either valid IP addresses or valid CIDR blocks.
*/ inline CreateNFSFileShareRequest& WithClientList(Aws::VectorThe list of clients that are allowed to access the S3 File Gateway. The list * must contain either valid IP addresses or valid CIDR blocks.
*/ inline CreateNFSFileShareRequest& AddClientList(const Aws::String& value) { m_clientListHasBeenSet = true; m_clientList.push_back(value); return *this; } /** *The list of clients that are allowed to access the S3 File Gateway. The list * must contain either valid IP addresses or valid CIDR blocks.
*/ inline CreateNFSFileShareRequest& AddClientList(Aws::String&& value) { m_clientListHasBeenSet = true; m_clientList.push_back(std::move(value)); return *this; } /** *The list of clients that are allowed to access the S3 File Gateway. The list * must contain either valid IP addresses or valid CIDR blocks.
*/ inline CreateNFSFileShareRequest& AddClientList(const char* value) { m_clientListHasBeenSet = true; m_clientList.push_back(value); return *this; } /** *A value that maps a user to anonymous user.
Valid values are the * following:
RootSquash
: Only root is mapped to
* anonymous user.
NoSquash
: No one is mapped to
* anonymous user.
AllSquash
: Everyone is mapped to
* anonymous user.
A value that maps a user to anonymous user.
Valid values are the * following:
RootSquash
: Only root is mapped to
* anonymous user.
NoSquash
: No one is mapped to
* anonymous user.
AllSquash
: Everyone is mapped to
* anonymous user.
A value that maps a user to anonymous user.
Valid values are the * following:
RootSquash
: Only root is mapped to
* anonymous user.
NoSquash
: No one is mapped to
* anonymous user.
AllSquash
: Everyone is mapped to
* anonymous user.
A value that maps a user to anonymous user.
Valid values are the * following:
RootSquash
: Only root is mapped to
* anonymous user.
NoSquash
: No one is mapped to
* anonymous user.
AllSquash
: Everyone is mapped to
* anonymous user.
A value that maps a user to anonymous user.
Valid values are the * following:
RootSquash
: Only root is mapped to
* anonymous user.
NoSquash
: No one is mapped to
* anonymous user.
AllSquash
: Everyone is mapped to
* anonymous user.
A value that maps a user to anonymous user.
Valid values are the * following:
RootSquash
: Only root is mapped to
* anonymous user.
NoSquash
: No one is mapped to
* anonymous user.
AllSquash
: Everyone is mapped to
* anonymous user.
A value that maps a user to anonymous user.
Valid values are the * following:
RootSquash
: Only root is mapped to
* anonymous user.
NoSquash
: No one is mapped to
* anonymous user.
AllSquash
: Everyone is mapped to
* anonymous user.
A value that maps a user to anonymous user.
Valid values are the * following:
RootSquash
: Only root is mapped to
* anonymous user.
NoSquash
: No one is mapped to
* anonymous user.
AllSquash
: Everyone is mapped to
* anonymous user.
A value that sets the write status of a file share. Set this value to
* true
to set the write status to read-only, otherwise set to
* false
.
Valid Values: true
| false
*
A value that sets the write status of a file share. Set this value to
* true
to set the write status to read-only, otherwise set to
* false
.
Valid Values: true
| false
*
A value that sets the write status of a file share. Set this value to
* true
to set the write status to read-only, otherwise set to
* false
.
Valid Values: true
| false
*
A value that sets the write status of a file share. Set this value to
* true
to set the write status to read-only, otherwise set to
* false
.
Valid Values: true
| false
*
A value that enables guessing of the MIME type for uploaded objects based on
* file extensions. Set this value to true
to enable MIME type
* guessing, otherwise set to false
. The default value is
* true
.
Valid Values: true
| false
*
A value that enables guessing of the MIME type for uploaded objects based on
* file extensions. Set this value to true
to enable MIME type
* guessing, otherwise set to false
. The default value is
* true
.
Valid Values: true
| false
*
A value that enables guessing of the MIME type for uploaded objects based on
* file extensions. Set this value to true
to enable MIME type
* guessing, otherwise set to false
. The default value is
* true
.
Valid Values: true
| false
*
A value that enables guessing of the MIME type for uploaded objects based on
* file extensions. Set this value to true
to enable MIME type
* guessing, otherwise set to false
. The default value is
* true
.
Valid Values: true
| false
*
A value that sets who pays the cost of the request and the cost associated
* with data download from the S3 bucket. If this value is set to
* true
, the requester pays the costs; otherwise, the S3 bucket owner
* pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that
* backs the file share, so make sure that the configuration on the file share is
* the same as the S3 bucket configuration.
Valid Values:
* true
| false
A value that sets who pays the cost of the request and the cost associated
* with data download from the S3 bucket. If this value is set to
* true
, the requester pays the costs; otherwise, the S3 bucket owner
* pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that
* backs the file share, so make sure that the configuration on the file share is
* the same as the S3 bucket configuration.
Valid Values:
* true
| false
A value that sets who pays the cost of the request and the cost associated
* with data download from the S3 bucket. If this value is set to
* true
, the requester pays the costs; otherwise, the S3 bucket owner
* pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that
* backs the file share, so make sure that the configuration on the file share is
* the same as the S3 bucket configuration.
Valid Values:
* true
| false
A value that sets who pays the cost of the request and the cost associated
* with data download from the S3 bucket. If this value is set to
* true
, the requester pays the costs; otherwise, the S3 bucket owner
* pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that
* backs the file share, so make sure that the configuration on the file share is
* the same as the S3 bucket configuration.
Valid Values:
* true
| false
A list of up to 50 tags that can be assigned to the NFS file share. Each tag * is a key-value pair.
Valid characters for key and value are * letters, spaces, and numbers representable 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.
*/ inline const Aws::VectorA list of up to 50 tags that can be assigned to the NFS file share. Each tag * is a key-value pair.
Valid characters for key and value are * letters, spaces, and numbers representable 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.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A list of up to 50 tags that can be assigned to the NFS file share. Each tag * is a key-value pair.
Valid characters for key and value are * letters, spaces, and numbers representable 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.
*/ inline void SetTags(const Aws::VectorA list of up to 50 tags that can be assigned to the NFS file share. Each tag * is a key-value pair.
Valid characters for key and value are * letters, spaces, and numbers representable 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.
*/ inline void SetTags(Aws::VectorA list of up to 50 tags that can be assigned to the NFS file share. Each tag * is a key-value pair.
Valid characters for key and value are * letters, spaces, and numbers representable 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.
*/ inline CreateNFSFileShareRequest& WithTags(const Aws::VectorA list of up to 50 tags that can be assigned to the NFS file share. Each tag * is a key-value pair.
Valid characters for key and value are * letters, spaces, and numbers representable 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.
*/ inline CreateNFSFileShareRequest& WithTags(Aws::VectorA list of up to 50 tags that can be assigned to the NFS file share. Each tag * is a key-value pair.
Valid characters for key and value are * letters, spaces, and numbers representable 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.
*/ inline CreateNFSFileShareRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *A list of up to 50 tags that can be assigned to the NFS file share. Each tag * is a key-value pair.
Valid characters for key and value are * letters, spaces, and numbers representable 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.
*/ inline CreateNFSFileShareRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *The name of the file share. Optional.
* FileShareName
must be set if an S3 prefix name is set in
* LocationARN
, or if an access point or access point alias is
* used.
The name of the file share. Optional.
* FileShareName
must be set if an S3 prefix name is set in
* LocationARN
, or if an access point or access point alias is
* used.
The name of the file share. Optional.
* FileShareName
must be set if an S3 prefix name is set in
* LocationARN
, or if an access point or access point alias is
* used.
The name of the file share. Optional.
* FileShareName
must be set if an S3 prefix name is set in
* LocationARN
, or if an access point or access point alias is
* used.
The name of the file share. Optional.
* FileShareName
must be set if an S3 prefix name is set in
* LocationARN
, or if an access point or access point alias is
* used.
The name of the file share. Optional.
* FileShareName
must be set if an S3 prefix name is set in
* LocationARN
, or if an access point or access point alias is
* used.
The name of the file share. Optional.
* FileShareName
must be set if an S3 prefix name is set in
* LocationARN
, or if an access point or access point alias is
* used.
The name of the file share. Optional.
* FileShareName
must be set if an S3 prefix name is set in
* LocationARN
, or if an access point or access point alias is
* used.
Specifies refresh cache information for the file share.
*/ inline const CacheAttributes& GetCacheAttributes() const{ return m_cacheAttributes; } /** *Specifies refresh cache information for the file share.
*/ inline bool CacheAttributesHasBeenSet() const { return m_cacheAttributesHasBeenSet; } /** *Specifies refresh cache information for the file share.
*/ inline void SetCacheAttributes(const CacheAttributes& value) { m_cacheAttributesHasBeenSet = true; m_cacheAttributes = value; } /** *Specifies refresh cache information for the file share.
*/ inline void SetCacheAttributes(CacheAttributes&& value) { m_cacheAttributesHasBeenSet = true; m_cacheAttributes = std::move(value); } /** *Specifies refresh cache information for the file share.
*/ inline CreateNFSFileShareRequest& WithCacheAttributes(const CacheAttributes& value) { SetCacheAttributes(value); return *this;} /** *Specifies refresh cache information for the file share.
*/ inline CreateNFSFileShareRequest& WithCacheAttributes(CacheAttributes&& value) { SetCacheAttributes(std::move(value)); return *this;} /** *The notification policy of the file share. SettlingTimeInSeconds
* controls the number of seconds to wait after the last point in time a client
* wrote to a file before generating an ObjectUploaded
notification.
* Because clients can make many small writes to files, it's best to set this
* parameter for as long as possible to avoid generating multiple notifications for
* the same file in a small time period.
* SettlingTimeInSeconds
has no effect on the timing of the object
* uploading to Amazon S3, only the timing of the notification.
The
* following example sets NotificationPolicy
on with
* SettlingTimeInSeconds
set to 60.
{\"Upload\":
* {\"SettlingTimeInSeconds\": 60}}
The following example sets
* NotificationPolicy
off.
{}
The notification policy of the file share. SettlingTimeInSeconds
* controls the number of seconds to wait after the last point in time a client
* wrote to a file before generating an ObjectUploaded
notification.
* Because clients can make many small writes to files, it's best to set this
* parameter for as long as possible to avoid generating multiple notifications for
* the same file in a small time period.
* SettlingTimeInSeconds
has no effect on the timing of the object
* uploading to Amazon S3, only the timing of the notification.
The
* following example sets NotificationPolicy
on with
* SettlingTimeInSeconds
set to 60.
{\"Upload\":
* {\"SettlingTimeInSeconds\": 60}}
The following example sets
* NotificationPolicy
off.
{}
The notification policy of the file share. SettlingTimeInSeconds
* controls the number of seconds to wait after the last point in time a client
* wrote to a file before generating an ObjectUploaded
notification.
* Because clients can make many small writes to files, it's best to set this
* parameter for as long as possible to avoid generating multiple notifications for
* the same file in a small time period.
* SettlingTimeInSeconds
has no effect on the timing of the object
* uploading to Amazon S3, only the timing of the notification.
The
* following example sets NotificationPolicy
on with
* SettlingTimeInSeconds
set to 60.
{\"Upload\":
* {\"SettlingTimeInSeconds\": 60}}
The following example sets
* NotificationPolicy
off.
{}
The notification policy of the file share. SettlingTimeInSeconds
* controls the number of seconds to wait after the last point in time a client
* wrote to a file before generating an ObjectUploaded
notification.
* Because clients can make many small writes to files, it's best to set this
* parameter for as long as possible to avoid generating multiple notifications for
* the same file in a small time period.
* SettlingTimeInSeconds
has no effect on the timing of the object
* uploading to Amazon S3, only the timing of the notification.
The
* following example sets NotificationPolicy
on with
* SettlingTimeInSeconds
set to 60.
{\"Upload\":
* {\"SettlingTimeInSeconds\": 60}}
The following example sets
* NotificationPolicy
off.
{}
The notification policy of the file share. SettlingTimeInSeconds
* controls the number of seconds to wait after the last point in time a client
* wrote to a file before generating an ObjectUploaded
notification.
* Because clients can make many small writes to files, it's best to set this
* parameter for as long as possible to avoid generating multiple notifications for
* the same file in a small time period.
* SettlingTimeInSeconds
has no effect on the timing of the object
* uploading to Amazon S3, only the timing of the notification.
The
* following example sets NotificationPolicy
on with
* SettlingTimeInSeconds
set to 60.
{\"Upload\":
* {\"SettlingTimeInSeconds\": 60}}
The following example sets
* NotificationPolicy
off.
{}
The notification policy of the file share. SettlingTimeInSeconds
* controls the number of seconds to wait after the last point in time a client
* wrote to a file before generating an ObjectUploaded
notification.
* Because clients can make many small writes to files, it's best to set this
* parameter for as long as possible to avoid generating multiple notifications for
* the same file in a small time period.
* SettlingTimeInSeconds
has no effect on the timing of the object
* uploading to Amazon S3, only the timing of the notification.
The
* following example sets NotificationPolicy
on with
* SettlingTimeInSeconds
set to 60.
{\"Upload\":
* {\"SettlingTimeInSeconds\": 60}}
The following example sets
* NotificationPolicy
off.
{}
The notification policy of the file share. SettlingTimeInSeconds
* controls the number of seconds to wait after the last point in time a client
* wrote to a file before generating an ObjectUploaded
notification.
* Because clients can make many small writes to files, it's best to set this
* parameter for as long as possible to avoid generating multiple notifications for
* the same file in a small time period.
* SettlingTimeInSeconds
has no effect on the timing of the object
* uploading to Amazon S3, only the timing of the notification.
The
* following example sets NotificationPolicy
on with
* SettlingTimeInSeconds
set to 60.
{\"Upload\":
* {\"SettlingTimeInSeconds\": 60}}
The following example sets
* NotificationPolicy
off.
{}
The notification policy of the file share. SettlingTimeInSeconds
* controls the number of seconds to wait after the last point in time a client
* wrote to a file before generating an ObjectUploaded
notification.
* Because clients can make many small writes to files, it's best to set this
* parameter for as long as possible to avoid generating multiple notifications for
* the same file in a small time period.
* SettlingTimeInSeconds
has no effect on the timing of the object
* uploading to Amazon S3, only the timing of the notification.
The
* following example sets NotificationPolicy
on with
* SettlingTimeInSeconds
set to 60.
{\"Upload\":
* {\"SettlingTimeInSeconds\": 60}}
The following example sets
* NotificationPolicy
off.
{}
Specifies the DNS name for the VPC endpoint that the NFS file share uses to * connect to Amazon S3.
This parameter is required for NFS file * shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or * an access point alias that points to a VPC access point.
*/ inline const Aws::String& GetVPCEndpointDNSName() const{ return m_vPCEndpointDNSName; } /** *Specifies the DNS name for the VPC endpoint that the NFS file share uses to * connect to Amazon S3.
This parameter is required for NFS file * shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or * an access point alias that points to a VPC access point.
*/ inline bool VPCEndpointDNSNameHasBeenSet() const { return m_vPCEndpointDNSNameHasBeenSet; } /** *Specifies the DNS name for the VPC endpoint that the NFS file share uses to * connect to Amazon S3.
This parameter is required for NFS file * shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or * an access point alias that points to a VPC access point.
*/ inline void SetVPCEndpointDNSName(const Aws::String& value) { m_vPCEndpointDNSNameHasBeenSet = true; m_vPCEndpointDNSName = value; } /** *Specifies the DNS name for the VPC endpoint that the NFS file share uses to * connect to Amazon S3.
This parameter is required for NFS file * shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or * an access point alias that points to a VPC access point.
*/ inline void SetVPCEndpointDNSName(Aws::String&& value) { m_vPCEndpointDNSNameHasBeenSet = true; m_vPCEndpointDNSName = std::move(value); } /** *Specifies the DNS name for the VPC endpoint that the NFS file share uses to * connect to Amazon S3.
This parameter is required for NFS file * shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or * an access point alias that points to a VPC access point.
*/ inline void SetVPCEndpointDNSName(const char* value) { m_vPCEndpointDNSNameHasBeenSet = true; m_vPCEndpointDNSName.assign(value); } /** *Specifies the DNS name for the VPC endpoint that the NFS file share uses to * connect to Amazon S3.
This parameter is required for NFS file * shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or * an access point alias that points to a VPC access point.
*/ inline CreateNFSFileShareRequest& WithVPCEndpointDNSName(const Aws::String& value) { SetVPCEndpointDNSName(value); return *this;} /** *Specifies the DNS name for the VPC endpoint that the NFS file share uses to * connect to Amazon S3.
This parameter is required for NFS file * shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or * an access point alias that points to a VPC access point.
*/ inline CreateNFSFileShareRequest& WithVPCEndpointDNSName(Aws::String&& value) { SetVPCEndpointDNSName(std::move(value)); return *this;} /** *Specifies the DNS name for the VPC endpoint that the NFS file share uses to * connect to Amazon S3.
This parameter is required for NFS file * shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or * an access point alias that points to a VPC access point.
*/ inline CreateNFSFileShareRequest& WithVPCEndpointDNSName(const char* value) { SetVPCEndpointDNSName(value); return *this;} /** *Specifies the Region of the S3 bucket where the NFS file share stores * files.
This parameter is required for NFS file shares that connect * to Amazon S3 through a VPC endpoint, a VPC access point, or an access point * alias that points to a VPC access point.
*/ inline const Aws::String& GetBucketRegion() const{ return m_bucketRegion; } /** *Specifies the Region of the S3 bucket where the NFS file share stores * files.
This parameter is required for NFS file shares that connect * to Amazon S3 through a VPC endpoint, a VPC access point, or an access point * alias that points to a VPC access point.
*/ inline bool BucketRegionHasBeenSet() const { return m_bucketRegionHasBeenSet; } /** *Specifies the Region of the S3 bucket where the NFS file share stores * files.
This parameter is required for NFS file shares that connect * to Amazon S3 through a VPC endpoint, a VPC access point, or an access point * alias that points to a VPC access point.
*/ inline void SetBucketRegion(const Aws::String& value) { m_bucketRegionHasBeenSet = true; m_bucketRegion = value; } /** *Specifies the Region of the S3 bucket where the NFS file share stores * files.
This parameter is required for NFS file shares that connect * to Amazon S3 through a VPC endpoint, a VPC access point, or an access point * alias that points to a VPC access point.
*/ inline void SetBucketRegion(Aws::String&& value) { m_bucketRegionHasBeenSet = true; m_bucketRegion = std::move(value); } /** *Specifies the Region of the S3 bucket where the NFS file share stores * files.
This parameter is required for NFS file shares that connect * to Amazon S3 through a VPC endpoint, a VPC access point, or an access point * alias that points to a VPC access point.
*/ inline void SetBucketRegion(const char* value) { m_bucketRegionHasBeenSet = true; m_bucketRegion.assign(value); } /** *Specifies the Region of the S3 bucket where the NFS file share stores * files.
This parameter is required for NFS file shares that connect * to Amazon S3 through a VPC endpoint, a VPC access point, or an access point * alias that points to a VPC access point.
*/ inline CreateNFSFileShareRequest& WithBucketRegion(const Aws::String& value) { SetBucketRegion(value); return *this;} /** *Specifies the Region of the S3 bucket where the NFS file share stores * files.
This parameter is required for NFS file shares that connect * to Amazon S3 through a VPC endpoint, a VPC access point, or an access point * alias that points to a VPC access point.
*/ inline CreateNFSFileShareRequest& WithBucketRegion(Aws::String&& value) { SetBucketRegion(std::move(value)); return *this;} /** *Specifies the Region of the S3 bucket where the NFS file share stores * files.
This parameter is required for NFS file shares that connect * to Amazon S3 through a VPC endpoint, a VPC access point, or an access point * alias that points to a VPC access point.
*/ inline CreateNFSFileShareRequest& WithBucketRegion(const char* value) { SetBucketRegion(value); return *this;} /** *The Amazon Resource Name (ARN) of the storage used for audit logs.
*/ inline const Aws::String& GetAuditDestinationARN() const{ return m_auditDestinationARN; } /** *The Amazon Resource Name (ARN) of the storage used for audit logs.
*/ inline bool AuditDestinationARNHasBeenSet() const { return m_auditDestinationARNHasBeenSet; } /** *The Amazon Resource Name (ARN) of the storage used for audit logs.
*/ inline void SetAuditDestinationARN(const Aws::String& value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN = value; } /** *The Amazon Resource Name (ARN) of the storage used for audit logs.
*/ inline void SetAuditDestinationARN(Aws::String&& value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the storage used for audit logs.
*/ inline void SetAuditDestinationARN(const char* value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN.assign(value); } /** *The Amazon Resource Name (ARN) of the storage used for audit logs.
*/ inline CreateNFSFileShareRequest& WithAuditDestinationARN(const Aws::String& value) { SetAuditDestinationARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the storage used for audit logs.
*/ inline CreateNFSFileShareRequest& WithAuditDestinationARN(Aws::String&& value) { SetAuditDestinationARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the storage used for audit logs.
*/ inline CreateNFSFileShareRequest& WithAuditDestinationARN(const char* value) { SetAuditDestinationARN(value); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; NFSFileShareDefaults m_nFSFileShareDefaults; bool m_nFSFileShareDefaultsHasBeenSet = false; Aws::String m_gatewayARN; bool m_gatewayARNHasBeenSet = false; bool m_kMSEncrypted; bool m_kMSEncryptedHasBeenSet = false; Aws::String m_kMSKey; bool m_kMSKeyHasBeenSet = false; Aws::String m_role; bool m_roleHasBeenSet = false; Aws::String m_locationARN; bool m_locationARNHasBeenSet = false; Aws::String m_defaultStorageClass; bool m_defaultStorageClassHasBeenSet = false; ObjectACL m_objectACL; bool m_objectACLHasBeenSet = false; Aws::Vector