/**
* 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 UpdateSnapshotScheduleRequest& 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 UpdateSnapshotScheduleRequest& 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 UpdateSnapshotScheduleRequest& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;} /** *The hour of the day at which the snapshot schedule begins represented as * hh, where hh is the hour (0 to 23). The hour of the day is in the * time zone of the gateway.
*/ inline int GetStartAt() const{ return m_startAt; } /** *The hour of the day at which the snapshot schedule begins represented as * hh, where hh is the hour (0 to 23). The hour of the day is in the * time zone of the gateway.
*/ inline bool StartAtHasBeenSet() const { return m_startAtHasBeenSet; } /** *The hour of the day at which the snapshot schedule begins represented as * hh, where hh is the hour (0 to 23). The hour of the day is in the * time zone of the gateway.
*/ inline void SetStartAt(int value) { m_startAtHasBeenSet = true; m_startAt = value; } /** *The hour of the day at which the snapshot schedule begins represented as * hh, where hh is the hour (0 to 23). The hour of the day is in the * time zone of the gateway.
*/ inline UpdateSnapshotScheduleRequest& WithStartAt(int value) { SetStartAt(value); return *this;} /** *Frequency of snapshots. Specify the number of hours between snapshots.
*/ inline int GetRecurrenceInHours() const{ return m_recurrenceInHours; } /** *Frequency of snapshots. Specify the number of hours between snapshots.
*/ inline bool RecurrenceInHoursHasBeenSet() const { return m_recurrenceInHoursHasBeenSet; } /** *Frequency of snapshots. Specify the number of hours between snapshots.
*/ inline void SetRecurrenceInHours(int value) { m_recurrenceInHoursHasBeenSet = true; m_recurrenceInHours = value; } /** *Frequency of snapshots. Specify the number of hours between snapshots.
*/ inline UpdateSnapshotScheduleRequest& WithRecurrenceInHours(int value) { SetRecurrenceInHours(value); return *this;} /** *Optional description of the snapshot that overwrites the existing * description.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *Optional description of the snapshot that overwrites the existing * description.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *Optional description of the snapshot that overwrites the existing * description.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *Optional description of the snapshot that overwrites the existing * description.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *Optional description of the snapshot that overwrites the existing * description.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *Optional description of the snapshot that overwrites the existing * description.
*/ inline UpdateSnapshotScheduleRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *Optional description of the snapshot that overwrites the existing * description.
*/ inline UpdateSnapshotScheduleRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *Optional description of the snapshot that overwrites the existing * description.
*/ inline UpdateSnapshotScheduleRequest& WithDescription(const char* value) { SetDescription(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 UpdateSnapshotScheduleRequest& 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 UpdateSnapshotScheduleRequest& 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 UpdateSnapshotScheduleRequest& 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 UpdateSnapshotScheduleRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_volumeARN; bool m_volumeARNHasBeenSet = false; int m_startAt; bool m_startAtHasBeenSet = false; int m_recurrenceInHours; bool m_recurrenceInHoursHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector