AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeSnapshotScheduleResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace StorageGateway
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; }
42 
47  inline void SetVolumeARN(const Aws::String& value) { m_volumeARN = value; }
48 
53  inline void SetVolumeARN(Aws::String&& value) { m_volumeARN = std::move(value); }
54 
59  inline void SetVolumeARN(const char* value) { m_volumeARN.assign(value); }
60 
65  inline DescribeSnapshotScheduleResult& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
66 
71  inline DescribeSnapshotScheduleResult& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;}
72 
77  inline DescribeSnapshotScheduleResult& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
78 
79 
85  inline int GetStartAt() const{ return m_startAt; }
86 
92  inline void SetStartAt(int value) { m_startAt = value; }
93 
99  inline DescribeSnapshotScheduleResult& WithStartAt(int value) { SetStartAt(value); return *this;}
100 
101 
105  inline int GetRecurrenceInHours() const{ return m_recurrenceInHours; }
106 
110  inline void SetRecurrenceInHours(int value) { m_recurrenceInHours = value; }
111 
115  inline DescribeSnapshotScheduleResult& WithRecurrenceInHours(int value) { SetRecurrenceInHours(value); return *this;}
116 
117 
121  inline const Aws::String& GetDescription() const{ return m_description; }
122 
126  inline void SetDescription(const Aws::String& value) { m_description = value; }
127 
131  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
132 
136  inline void SetDescription(const char* value) { m_description.assign(value); }
137 
141  inline DescribeSnapshotScheduleResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
142 
146  inline DescribeSnapshotScheduleResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
147 
151  inline DescribeSnapshotScheduleResult& WithDescription(const char* value) { SetDescription(value); return *this;}
152 
153 
157  inline const Aws::String& GetTimezone() const{ return m_timezone; }
158 
162  inline void SetTimezone(const Aws::String& value) { m_timezone = value; }
163 
167  inline void SetTimezone(Aws::String&& value) { m_timezone = std::move(value); }
168 
172  inline void SetTimezone(const char* value) { m_timezone.assign(value); }
173 
177  inline DescribeSnapshotScheduleResult& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
178 
182  inline DescribeSnapshotScheduleResult& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
183 
187  inline DescribeSnapshotScheduleResult& WithTimezone(const char* value) { SetTimezone(value); return *this;}
188 
189 
196  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
197 
204  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
205 
212  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
213 
220  inline DescribeSnapshotScheduleResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
221 
228  inline DescribeSnapshotScheduleResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
229 
236  inline DescribeSnapshotScheduleResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
237 
244  inline DescribeSnapshotScheduleResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
245 
246  private:
247 
248  Aws::String m_volumeARN;
249 
250  int m_startAt;
251 
252  int m_recurrenceInHours;
253 
254  Aws::String m_description;
255 
256  Aws::String m_timezone;
257 
258  Aws::Vector<Tag> m_tags;
259  };
260 
261 } // namespace Model
262 } // namespace StorageGateway
263 } // namespace Aws
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithStartAt
DescribeSnapshotScheduleResult & WithStartAt(int value)
Definition: DescribeSnapshotScheduleResult.h:99
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithTags
DescribeSnapshotScheduleResult & WithTags(Aws::Vector< Tag > &&value)
Definition: DescribeSnapshotScheduleResult.h:228
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: DescribeSnapshotScheduleResult.h:204
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetVolumeARN
void SetVolumeARN(const char *value)
Definition: DescribeSnapshotScheduleResult.h:59
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult
Definition: DescribeSnapshotScheduleResult.h:30
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::GetStartAt
int GetStartAt() const
Definition: DescribeSnapshotScheduleResult.h:85
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithDescription
DescribeSnapshotScheduleResult & WithDescription(Aws::String &&value)
Definition: DescribeSnapshotScheduleResult.h:146
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetRecurrenceInHours
void SetRecurrenceInHours(int value)
Definition: DescribeSnapshotScheduleResult.h:110
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithTimezone
DescribeSnapshotScheduleResult & WithTimezone(const char *value)
Definition: DescribeSnapshotScheduleResult.h:187
Aws::StorageGateway::Model::Tag
Definition: Tag.h:34
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetTimezone
void SetTimezone(const Aws::String &value)
Definition: DescribeSnapshotScheduleResult.h:162
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: DescribeSnapshotScheduleResult.h:212
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::GetVolumeARN
const Aws::String & GetVolumeARN() const
Definition: DescribeSnapshotScheduleResult.h:41
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::AddTags
DescribeSnapshotScheduleResult & AddTags(Tag &&value)
Definition: DescribeSnapshotScheduleResult.h:244
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetVolumeARN
void SetVolumeARN(Aws::String &&value)
Definition: DescribeSnapshotScheduleResult.h:53
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::DescribeSnapshotScheduleResult
DescribeSnapshotScheduleResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: DescribeSnapshotScheduleResult.h:126
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: DescribeSnapshotScheduleResult.h:131
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithDescription
DescribeSnapshotScheduleResult & WithDescription(const Aws::String &value)
Definition: DescribeSnapshotScheduleResult.h:141
AWSVector.h
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithTimezone
DescribeSnapshotScheduleResult & WithTimezone(Aws::String &&value)
Definition: DescribeSnapshotScheduleResult.h:182
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithTags
DescribeSnapshotScheduleResult & WithTags(const Aws::Vector< Tag > &value)
Definition: DescribeSnapshotScheduleResult.h:220
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithVolumeARN
DescribeSnapshotScheduleResult & WithVolumeARN(Aws::String &&value)
Definition: DescribeSnapshotScheduleResult.h:71
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithRecurrenceInHours
DescribeSnapshotScheduleResult & WithRecurrenceInHours(int value)
Definition: DescribeSnapshotScheduleResult.h:115
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetStartAt
void SetStartAt(int value)
Definition: DescribeSnapshotScheduleResult.h:92
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::GetRecurrenceInHours
int GetRecurrenceInHours() const
Definition: DescribeSnapshotScheduleResult.h:105
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::GetTimezone
const Aws::String & GetTimezone() const
Definition: DescribeSnapshotScheduleResult.h:157
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithVolumeARN
DescribeSnapshotScheduleResult & WithVolumeARN(const Aws::String &value)
Definition: DescribeSnapshotScheduleResult.h:65
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: DescribeSnapshotScheduleResult.h:196
AWSString.h
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithVolumeARN
DescribeSnapshotScheduleResult & WithVolumeARN(const char *value)
Definition: DescribeSnapshotScheduleResult.h:77
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetTimezone
void SetTimezone(Aws::String &&value)
Definition: DescribeSnapshotScheduleResult.h:167
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::GetDescription
const Aws::String & GetDescription() const
Definition: DescribeSnapshotScheduleResult.h:121
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetVolumeARN
void SetVolumeARN(const Aws::String &value)
Definition: DescribeSnapshotScheduleResult.h:47
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithDescription
DescribeSnapshotScheduleResult & WithDescription(const char *value)
Definition: DescribeSnapshotScheduleResult.h:151
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetTimezone
void SetTimezone(const char *value)
Definition: DescribeSnapshotScheduleResult.h:172
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::AddTags
DescribeSnapshotScheduleResult & AddTags(const Tag &value)
Definition: DescribeSnapshotScheduleResult.h:236
Aws
Definition: AccessManagementClient.h:15
Tag.h
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::WithTimezone
DescribeSnapshotScheduleResult & WithTimezone(const Aws::String &value)
Definition: DescribeSnapshotScheduleResult.h:177
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::SetDescription
void SetDescription(const char *value)
Definition: DescribeSnapshotScheduleResult.h:136
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::operator=
DescribeSnapshotScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeSnapshotScheduleResult::DescribeSnapshotScheduleResult
DescribeSnapshotScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)