AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeSnapshotSchedulesResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace Redshift
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::Vector<SnapshotSchedule>& GetSnapshotSchedules() const{ return m_snapshotSchedules; }
42 
46  inline void SetSnapshotSchedules(const Aws::Vector<SnapshotSchedule>& value) { m_snapshotSchedules = value; }
47 
51  inline void SetSnapshotSchedules(Aws::Vector<SnapshotSchedule>&& value) { m_snapshotSchedules = std::move(value); }
52 
56  inline DescribeSnapshotSchedulesResult& WithSnapshotSchedules(const Aws::Vector<SnapshotSchedule>& value) { SetSnapshotSchedules(value); return *this;}
57 
61  inline DescribeSnapshotSchedulesResult& WithSnapshotSchedules(Aws::Vector<SnapshotSchedule>&& value) { SetSnapshotSchedules(std::move(value)); return *this;}
62 
66  inline DescribeSnapshotSchedulesResult& AddSnapshotSchedules(const SnapshotSchedule& value) { m_snapshotSchedules.push_back(value); return *this; }
67 
71  inline DescribeSnapshotSchedulesResult& AddSnapshotSchedules(SnapshotSchedule&& value) { m_snapshotSchedules.push_back(std::move(value)); return *this; }
72 
73 
82  inline const Aws::String& GetMarker() const{ return m_marker; }
83 
92  inline void SetMarker(const Aws::String& value) { m_marker = value; }
93 
102  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
103 
112  inline void SetMarker(const char* value) { m_marker.assign(value); }
113 
122  inline DescribeSnapshotSchedulesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
123 
132  inline DescribeSnapshotSchedulesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
133 
142  inline DescribeSnapshotSchedulesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
143 
144 
145 
146  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
147 
148 
149  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
150 
151 
152  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
153 
154 
155  inline DescribeSnapshotSchedulesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
156 
157 
158  inline DescribeSnapshotSchedulesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
159 
160  private:
161 
162  Aws::Vector<SnapshotSchedule> m_snapshotSchedules;
163 
164  Aws::String m_marker;
165 
166  ResponseMetadata m_responseMetadata;
167  };
168 
169 } // namespace Model
170 } // namespace Redshift
171 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeSnapshotSchedulesResult.h:102
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::WithMarker
DescribeSnapshotSchedulesResult & WithMarker(const char *value)
Definition: DescribeSnapshotSchedulesResult.h:142
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::GetSnapshotSchedules
const Aws::Vector< SnapshotSchedule > & GetSnapshotSchedules() const
Definition: DescribeSnapshotSchedulesResult.h:41
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::WithResponseMetadata
DescribeSnapshotSchedulesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeSnapshotSchedulesResult.h:155
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::SetSnapshotSchedules
void SetSnapshotSchedules(Aws::Vector< SnapshotSchedule > &&value)
Definition: DescribeSnapshotSchedulesResult.h:51
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::operator=
DescribeSnapshotSchedulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeSnapshotSchedulesResult.h:146
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeSnapshotSchedulesResult.h:149
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::WithSnapshotSchedules
DescribeSnapshotSchedulesResult & WithSnapshotSchedules(const Aws::Vector< SnapshotSchedule > &value)
Definition: DescribeSnapshotSchedulesResult.h:56
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::DescribeSnapshotSchedulesResult
DescribeSnapshotSchedulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::SetSnapshotSchedules
void SetSnapshotSchedules(const Aws::Vector< SnapshotSchedule > &value)
Definition: DescribeSnapshotSchedulesResult.h:46
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeSnapshotSchedulesResult.h:152
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeSnapshotSchedulesResult.h:92
AWSString.h
Aws::Redshift::Model::DescribeSnapshotSchedulesResult
Definition: DescribeSnapshotSchedulesResult.h:31
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::DescribeSnapshotSchedulesResult
DescribeSnapshotSchedulesResult()
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::WithResponseMetadata
DescribeSnapshotSchedulesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeSnapshotSchedulesResult.h:158
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::WithMarker
DescribeSnapshotSchedulesResult & WithMarker(const Aws::String &value)
Definition: DescribeSnapshotSchedulesResult.h:122
Aws::Redshift::Model::SnapshotSchedule
Definition: SnapshotSchedule.h:39
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeSnapshotSchedulesResult.h:82
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::AddSnapshotSchedules
DescribeSnapshotSchedulesResult & AddSnapshotSchedules(const SnapshotSchedule &value)
Definition: DescribeSnapshotSchedulesResult.h:66
SnapshotSchedule.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::AddSnapshotSchedules
DescribeSnapshotSchedulesResult & AddSnapshotSchedules(SnapshotSchedule &&value)
Definition: DescribeSnapshotSchedulesResult.h:71
ResponseMetadata.h
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::WithMarker
DescribeSnapshotSchedulesResult & WithMarker(Aws::String &&value)
Definition: DescribeSnapshotSchedulesResult.h:132
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeSnapshotSchedulesResult.h:112
Aws::Redshift::Model::DescribeSnapshotSchedulesResult::WithSnapshotSchedules
DescribeSnapshotSchedulesResult & WithSnapshotSchedules(Aws::Vector< SnapshotSchedule > &&value)
Definition: DescribeSnapshotSchedulesResult.h:61