/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request object for the CreateBackup
operation.See
* Also:
AWS
* API Reference
The ID of the file system to back up.
*/ inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; } /** *The ID of the file system to back up.
*/ inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; } /** *The ID of the file system to back up.
*/ inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; } /** *The ID of the file system to back up.
*/ inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); } /** *The ID of the file system to back up.
*/ inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); } /** *The ID of the file system to back up.
*/ inline CreateBackupRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;} /** *The ID of the file system to back up.
*/ inline CreateBackupRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;} /** *The ID of the file system to back up.
*/ inline CreateBackupRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;} /** *(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to * ensure idempotent creation. This string is automatically filled on your behalf * when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to * ensure idempotent creation. This string is automatically filled on your behalf * when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to * ensure idempotent creation. This string is automatically filled on your behalf * when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to * ensure idempotent creation. This string is automatically filled on your behalf * when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to * ensure idempotent creation. This string is automatically filled on your behalf * when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to * ensure idempotent creation. This string is automatically filled on your behalf * when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline CreateBackupRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to * ensure idempotent creation. This string is automatically filled on your behalf * when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline CreateBackupRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to * ensure idempotent creation. This string is automatically filled on your behalf * when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline CreateBackupRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *(Optional) The tags to apply to the backup at backup creation. The key value
* of the Name
tag appears in the console as the backup name. If you
* have set CopyTagsToBackups
to true
, and you specify
* one or more tags using the CreateBackup
operation, no existing file
* system tags are copied from the file system to the backup.
(Optional) The tags to apply to the backup at backup creation. The key value
* of the Name
tag appears in the console as the backup name. If you
* have set CopyTagsToBackups
to true
, and you specify
* one or more tags using the CreateBackup
operation, no existing file
* system tags are copied from the file system to the backup.
(Optional) The tags to apply to the backup at backup creation. The key value
* of the Name
tag appears in the console as the backup name. If you
* have set CopyTagsToBackups
to true
, and you specify
* one or more tags using the CreateBackup
operation, no existing file
* system tags are copied from the file system to the backup.
(Optional) The tags to apply to the backup at backup creation. The key value
* of the Name
tag appears in the console as the backup name. If you
* have set CopyTagsToBackups
to true
, and you specify
* one or more tags using the CreateBackup
operation, no existing file
* system tags are copied from the file system to the backup.
(Optional) The tags to apply to the backup at backup creation. The key value
* of the Name
tag appears in the console as the backup name. If you
* have set CopyTagsToBackups
to true
, and you specify
* one or more tags using the CreateBackup
operation, no existing file
* system tags are copied from the file system to the backup.
(Optional) The tags to apply to the backup at backup creation. The key value
* of the Name
tag appears in the console as the backup name. If you
* have set CopyTagsToBackups
to true
, and you specify
* one or more tags using the CreateBackup
operation, no existing file
* system tags are copied from the file system to the backup.
(Optional) The tags to apply to the backup at backup creation. The key value
* of the Name
tag appears in the console as the backup name. If you
* have set CopyTagsToBackups
to true
, and you specify
* one or more tags using the CreateBackup
operation, no existing file
* system tags are copied from the file system to the backup.
(Optional) The tags to apply to the backup at backup creation. The key value
* of the Name
tag appears in the console as the backup name. If you
* have set CopyTagsToBackups
to true
, and you specify
* one or more tags using the CreateBackup
operation, no existing file
* system tags are copied from the file system to the backup.
(Optional) The ID of the FSx for ONTAP volume to back up.
*/ inline const Aws::String& GetVolumeId() const{ return m_volumeId; } /** *(Optional) The ID of the FSx for ONTAP volume to back up.
*/ inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; } /** *(Optional) The ID of the FSx for ONTAP volume to back up.
*/ inline void SetVolumeId(const Aws::String& value) { m_volumeIdHasBeenSet = true; m_volumeId = value; } /** *(Optional) The ID of the FSx for ONTAP volume to back up.
*/ inline void SetVolumeId(Aws::String&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::move(value); } /** *(Optional) The ID of the FSx for ONTAP volume to back up.
*/ inline void SetVolumeId(const char* value) { m_volumeIdHasBeenSet = true; m_volumeId.assign(value); } /** *(Optional) The ID of the FSx for ONTAP volume to back up.
*/ inline CreateBackupRequest& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;} /** *(Optional) The ID of the FSx for ONTAP volume to back up.
*/ inline CreateBackupRequest& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;} /** *(Optional) The ID of the FSx for ONTAP volume to back up.
*/ inline CreateBackupRequest& WithVolumeId(const char* value) { SetVolumeId(value); return *this;} private: Aws::String m_fileSystemId; bool m_fileSystemIdHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::Vector