AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
42 inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; }
43 inline void SetVolumeARN(const Aws::String& value) { m_volumeARN = value; }
44 inline void SetVolumeARN(Aws::String&& value) { m_volumeARN = std::move(value); }
45 inline void SetVolumeARN(const char* value) { m_volumeARN.assign(value); }
46 inline DescribeSnapshotScheduleResult& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
47 inline DescribeSnapshotScheduleResult& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;}
48 inline DescribeSnapshotScheduleResult& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
50
52
57 inline int GetStartAt() const{ return m_startAt; }
58 inline void SetStartAt(int value) { m_startAt = value; }
59 inline DescribeSnapshotScheduleResult& WithStartAt(int value) { SetStartAt(value); return *this;}
61
63
66 inline int GetRecurrenceInHours() const{ return m_recurrenceInHours; }
67 inline void SetRecurrenceInHours(int value) { m_recurrenceInHours = value; }
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline void SetDescription(const Aws::String& value) { m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_description.assign(value); }
79 inline DescribeSnapshotScheduleResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline DescribeSnapshotScheduleResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline DescribeSnapshotScheduleResult& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::String& GetTimezone() const{ return m_timezone; }
89 inline void SetTimezone(const Aws::String& value) { m_timezone = value; }
90 inline void SetTimezone(Aws::String&& value) { m_timezone = std::move(value); }
91 inline void SetTimezone(const char* value) { m_timezone.assign(value); }
92 inline DescribeSnapshotScheduleResult& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
93 inline DescribeSnapshotScheduleResult& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
94 inline DescribeSnapshotScheduleResult& WithTimezone(const char* value) { SetTimezone(value); return *this;}
96
98
104 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
105 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
106 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
107 inline DescribeSnapshotScheduleResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
108 inline DescribeSnapshotScheduleResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
109 inline DescribeSnapshotScheduleResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
110 inline DescribeSnapshotScheduleResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
112
114
115 inline const Aws::String& GetRequestId() const{ return m_requestId; }
116 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
117 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
118 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
119 inline DescribeSnapshotScheduleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
120 inline DescribeSnapshotScheduleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
121 inline DescribeSnapshotScheduleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
123 private:
124
125 Aws::String m_volumeARN;
126
127 int m_startAt;
128
129 int m_recurrenceInHours;
130
131 Aws::String m_description;
132
133 Aws::String m_timezone;
134
135 Aws::Vector<Tag> m_tags;
136
137 Aws::String m_requestId;
138 };
139
140} // namespace Model
141} // namespace StorageGateway
142} // namespace Aws
DescribeSnapshotScheduleResult & WithRequestId(const Aws::String &value)
DescribeSnapshotScheduleResult & WithTags(Aws::Vector< Tag > &&value)
DescribeSnapshotScheduleResult & WithRequestId(const char *value)
DescribeSnapshotScheduleResult & AddTags(const Tag &value)
DescribeSnapshotScheduleResult & WithTimezone(Aws::String &&value)
DescribeSnapshotScheduleResult & WithDescription(Aws::String &&value)
DescribeSnapshotScheduleResult & WithDescription(const Aws::String &value)
DescribeSnapshotScheduleResult & WithTags(const Aws::Vector< Tag > &value)
DescribeSnapshotScheduleResult & WithVolumeARN(Aws::String &&value)
DescribeSnapshotScheduleResult & WithVolumeARN(const char *value)
AWS_STORAGEGATEWAY_API DescribeSnapshotScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSnapshotScheduleResult & WithTimezone(const char *value)
DescribeSnapshotScheduleResult & WithVolumeARN(const Aws::String &value)
DescribeSnapshotScheduleResult & WithRequestId(Aws::String &&value)
DescribeSnapshotScheduleResult & WithTimezone(const Aws::String &value)
DescribeSnapshotScheduleResult & WithDescription(const char *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