AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeSnapshotScheduleResult.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/storagegateway/model/Tag.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace StorageGateway
26{
27namespace Model
28{
30 {
31 public:
32 AWS_STORAGEGATEWAY_API DescribeSnapshotScheduleResult() = default;
35
36
38
42 inline const Aws::String& GetVolumeARN() const { return m_volumeARN; }
43 template<typename VolumeARNT = Aws::String>
44 void SetVolumeARN(VolumeARNT&& value) { m_volumeARNHasBeenSet = true; m_volumeARN = std::forward<VolumeARNT>(value); }
45 template<typename VolumeARNT = Aws::String>
46 DescribeSnapshotScheduleResult& WithVolumeARN(VolumeARNT&& value) { SetVolumeARN(std::forward<VolumeARNT>(value)); return *this;}
48
50
55 inline int GetStartAt() const { return m_startAt; }
56 inline void SetStartAt(int value) { m_startAtHasBeenSet = true; m_startAt = value; }
57 inline DescribeSnapshotScheduleResult& WithStartAt(int value) { SetStartAt(value); return *this;}
59
61
64 inline int GetRecurrenceInHours() const { return m_recurrenceInHours; }
65 inline void SetRecurrenceInHours(int value) { m_recurrenceInHoursHasBeenSet = true; m_recurrenceInHours = value; }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 DescribeSnapshotScheduleResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
84 inline const Aws::String& GetTimezone() const { return m_timezone; }
85 template<typename TimezoneT = Aws::String>
86 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet = true; m_timezone = std::forward<TimezoneT>(value); }
87 template<typename TimezoneT = Aws::String>
88 DescribeSnapshotScheduleResult& WithTimezone(TimezoneT&& value) { SetTimezone(std::forward<TimezoneT>(value)); return *this;}
90
92
98 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
99 template<typename TagsT = Aws::Vector<Tag>>
100 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
101 template<typename TagsT = Aws::Vector<Tag>>
102 DescribeSnapshotScheduleResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
103 template<typename TagsT = Tag>
104 DescribeSnapshotScheduleResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
106
108
109 inline const Aws::String& GetRequestId() const { return m_requestId; }
110 template<typename RequestIdT = Aws::String>
111 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
112 template<typename RequestIdT = Aws::String>
113 DescribeSnapshotScheduleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
115 private:
116
117 Aws::String m_volumeARN;
118 bool m_volumeARNHasBeenSet = false;
119
120 int m_startAt{0};
121 bool m_startAtHasBeenSet = false;
122
123 int m_recurrenceInHours{0};
124 bool m_recurrenceInHoursHasBeenSet = false;
125
126 Aws::String m_description;
127 bool m_descriptionHasBeenSet = false;
128
129 Aws::String m_timezone;
130 bool m_timezoneHasBeenSet = false;
131
132 Aws::Vector<Tag> m_tags;
133 bool m_tagsHasBeenSet = false;
134
135 Aws::String m_requestId;
136 bool m_requestIdHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace StorageGateway
141} // namespace Aws
DescribeSnapshotScheduleResult & WithVolumeARN(VolumeARNT &&value)
DescribeSnapshotScheduleResult & WithRequestId(RequestIdT &&value)
AWS_STORAGEGATEWAY_API DescribeSnapshotScheduleResult()=default
DescribeSnapshotScheduleResult & WithDescription(DescriptionT &&value)
AWS_STORAGEGATEWAY_API DescribeSnapshotScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSnapshotScheduleResult & WithTimezone(TimezoneT &&value)
AWS_STORAGEGATEWAY_API DescribeSnapshotScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue