/**
* 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
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes * operation to return a list of gateway volumes.
*/ inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; } /** *The Amazon Resource Name (ARN) of the volume. Use the ListVolumes * operation to return a list of gateway volumes.
*/ inline bool VolumeARNHasBeenSet() const { return m_volumeARNHasBeenSet; } /** *The Amazon Resource Name (ARN) of the volume. Use the ListVolumes * operation to return a list of gateway volumes.
*/ inline void SetVolumeARN(const Aws::String& value) { m_volumeARNHasBeenSet = true; m_volumeARN = value; } /** *The Amazon Resource Name (ARN) of the volume. Use the ListVolumes * operation to return a list of gateway volumes.
*/ inline void SetVolumeARN(Aws::String&& value) { m_volumeARNHasBeenSet = true; m_volumeARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the volume. Use the ListVolumes * operation to return a list of gateway volumes.
*/ inline void SetVolumeARN(const char* value) { m_volumeARNHasBeenSet = true; m_volumeARN.assign(value); } /** *The Amazon Resource Name (ARN) of the volume. Use the ListVolumes * operation to return a list of gateway volumes.
*/ inline CreateSnapshotRequest& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the volume. Use the ListVolumes * operation to return a list of gateway volumes.
*/ inline CreateSnapshotRequest& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the volume. Use the ListVolumes * operation to return a list of gateway volumes.
*/ inline CreateSnapshotRequest& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;} /** *Textual description of the snapshot that appears in the Amazon EC2 console, * Elastic Block Store snapshots panel in the Description field, and in the * Storage Gateway snapshot Details pane, Description field.
*/ inline const Aws::String& GetSnapshotDescription() const{ return m_snapshotDescription; } /** *Textual description of the snapshot that appears in the Amazon EC2 console, * Elastic Block Store snapshots panel in the Description field, and in the * Storage Gateway snapshot Details pane, Description field.
*/ inline bool SnapshotDescriptionHasBeenSet() const { return m_snapshotDescriptionHasBeenSet; } /** *Textual description of the snapshot that appears in the Amazon EC2 console, * Elastic Block Store snapshots panel in the Description field, and in the * Storage Gateway snapshot Details pane, Description field.
*/ inline void SetSnapshotDescription(const Aws::String& value) { m_snapshotDescriptionHasBeenSet = true; m_snapshotDescription = value; } /** *Textual description of the snapshot that appears in the Amazon EC2 console, * Elastic Block Store snapshots panel in the Description field, and in the * Storage Gateway snapshot Details pane, Description field.
*/ inline void SetSnapshotDescription(Aws::String&& value) { m_snapshotDescriptionHasBeenSet = true; m_snapshotDescription = std::move(value); } /** *Textual description of the snapshot that appears in the Amazon EC2 console, * Elastic Block Store snapshots panel in the Description field, and in the * Storage Gateway snapshot Details pane, Description field.
*/ inline void SetSnapshotDescription(const char* value) { m_snapshotDescriptionHasBeenSet = true; m_snapshotDescription.assign(value); } /** *Textual description of the snapshot that appears in the Amazon EC2 console, * Elastic Block Store snapshots panel in the Description field, and in the * Storage Gateway snapshot Details pane, Description field.
*/ inline CreateSnapshotRequest& WithSnapshotDescription(const Aws::String& value) { SetSnapshotDescription(value); return *this;} /** *Textual description of the snapshot that appears in the Amazon EC2 console, * Elastic Block Store snapshots panel in the Description field, and in the * Storage Gateway snapshot Details pane, Description field.
*/ inline CreateSnapshotRequest& WithSnapshotDescription(Aws::String&& value) { SetSnapshotDescription(std::move(value)); return *this;} /** *Textual description of the snapshot that appears in the Amazon EC2 console, * Elastic Block Store snapshots panel in the Description field, and in the * Storage Gateway snapshot Details pane, Description field.
*/ inline CreateSnapshotRequest& WithSnapshotDescription(const char* value) { SetSnapshotDescription(value); return *this;} /** *A list of up to 50 tags that can be assigned to a snapshot. 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 a snapshot. 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 a snapshot. 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 a snapshot. 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 a snapshot. 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 CreateSnapshotRequest& WithTags(const Aws::VectorA list of up to 50 tags that can be assigned to a snapshot. 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 CreateSnapshotRequest& WithTags(Aws::VectorA list of up to 50 tags that can be assigned to a snapshot. 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 CreateSnapshotRequest& 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 a snapshot. 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 CreateSnapshotRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_volumeARN; bool m_volumeARNHasBeenSet = false; Aws::String m_snapshotDescription; bool m_snapshotDescriptionHasBeenSet = false; Aws::Vector