/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace StorageGateway { namespace Model { class DescribeSnapshotScheduleResult { public: AWS_STORAGEGATEWAY_API DescribeSnapshotScheduleResult(); AWS_STORAGEGATEWAY_API DescribeSnapshotScheduleResult(const Aws::AmazonWebServiceResult& result); AWS_STORAGEGATEWAY_API DescribeSnapshotScheduleResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the volume that was specified in the * request.

*/ inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; } /** *

The Amazon Resource Name (ARN) of the volume that was specified in the * request.

*/ inline void SetVolumeARN(const Aws::String& value) { m_volumeARN = value; } /** *

The Amazon Resource Name (ARN) of the volume that was specified in the * request.

*/ inline void SetVolumeARN(Aws::String&& value) { m_volumeARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the volume that was specified in the * request.

*/ inline void SetVolumeARN(const char* value) { m_volumeARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the volume that was specified in the * request.

*/ inline DescribeSnapshotScheduleResult& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the volume that was specified in the * request.

*/ inline DescribeSnapshotScheduleResult& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the volume that was specified in the * request.

*/ inline DescribeSnapshotScheduleResult& 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 void SetStartAt(int value) { 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 DescribeSnapshotScheduleResult& WithStartAt(int value) { SetStartAt(value); return *this;} /** *

The number of hours between snapshots.

*/ inline int GetRecurrenceInHours() const{ return m_recurrenceInHours; } /** *

The number of hours between snapshots.

*/ inline void SetRecurrenceInHours(int value) { m_recurrenceInHours = value; } /** *

The number of hours between snapshots.

*/ inline DescribeSnapshotScheduleResult& WithRecurrenceInHours(int value) { SetRecurrenceInHours(value); return *this;} /** *

The snapshot description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The snapshot description.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The snapshot description.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The snapshot description.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The snapshot description.

*/ inline DescribeSnapshotScheduleResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The snapshot description.

*/ inline DescribeSnapshotScheduleResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The snapshot description.

*/ inline DescribeSnapshotScheduleResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A value that indicates the time zone of the gateway.

*/ inline const Aws::String& GetTimezone() const{ return m_timezone; } /** *

A value that indicates the time zone of the gateway.

*/ inline void SetTimezone(const Aws::String& value) { m_timezone = value; } /** *

A value that indicates the time zone of the gateway.

*/ inline void SetTimezone(Aws::String&& value) { m_timezone = std::move(value); } /** *

A value that indicates the time zone of the gateway.

*/ inline void SetTimezone(const char* value) { m_timezone.assign(value); } /** *

A value that indicates the time zone of the gateway.

*/ inline DescribeSnapshotScheduleResult& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;} /** *

A value that indicates the time zone of the gateway.

*/ inline DescribeSnapshotScheduleResult& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} /** *

A value that indicates the time zone of the gateway.

*/ inline DescribeSnapshotScheduleResult& WithTimezone(const char* value) { SetTimezone(value); return *this;} /** *

A list of up to 50 tags assigned to the snapshot schedule, sorted * alphabetically by key name. Each tag is a key-value pair. For a gateway with * more than 10 tags assigned, you can view all tags using the * ListTagsForResource API operation.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A list of up to 50 tags assigned to the snapshot schedule, sorted * alphabetically by key name. Each tag is a key-value pair. For a gateway with * more than 10 tags assigned, you can view all tags using the * ListTagsForResource API operation.

*/ inline void SetTags(const Aws::Vector& value) { m_tags = value; } /** *

A list of up to 50 tags assigned to the snapshot schedule, sorted * alphabetically by key name. Each tag is a key-value pair. For a gateway with * more than 10 tags assigned, you can view all tags using the * ListTagsForResource API operation.

*/ inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } /** *

A list of up to 50 tags assigned to the snapshot schedule, sorted * alphabetically by key name. Each tag is a key-value pair. For a gateway with * more than 10 tags assigned, you can view all tags using the * ListTagsForResource API operation.

*/ inline DescribeSnapshotScheduleResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A list of up to 50 tags assigned to the snapshot schedule, sorted * alphabetically by key name. Each tag is a key-value pair. For a gateway with * more than 10 tags assigned, you can view all tags using the * ListTagsForResource API operation.

*/ inline DescribeSnapshotScheduleResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A list of up to 50 tags assigned to the snapshot schedule, sorted * alphabetically by key name. Each tag is a key-value pair. For a gateway with * more than 10 tags assigned, you can view all tags using the * ListTagsForResource API operation.

*/ inline DescribeSnapshotScheduleResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

A list of up to 50 tags assigned to the snapshot schedule, sorted * alphabetically by key name. Each tag is a key-value pair. For a gateway with * more than 10 tags assigned, you can view all tags using the * ListTagsForResource API operation.

*/ inline DescribeSnapshotScheduleResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeSnapshotScheduleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeSnapshotScheduleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeSnapshotScheduleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_volumeARN; int m_startAt; int m_recurrenceInHours; Aws::String m_description; Aws::String m_timezone; Aws::Vector m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace StorageGateway } // namespace Aws