AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeScheduledActionsResult.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 
46  inline const Aws::String& GetMarker() const{ return m_marker; }
47 
56  inline void SetMarker(const Aws::String& value) { m_marker = value; }
57 
66  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
67 
76  inline void SetMarker(const char* value) { m_marker.assign(value); }
77 
86  inline DescribeScheduledActionsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
87 
96  inline DescribeScheduledActionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
97 
106  inline DescribeScheduledActionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
107 
108 
112  inline const Aws::Vector<ScheduledAction>& GetScheduledActions() const{ return m_scheduledActions; }
113 
117  inline void SetScheduledActions(const Aws::Vector<ScheduledAction>& value) { m_scheduledActions = value; }
118 
122  inline void SetScheduledActions(Aws::Vector<ScheduledAction>&& value) { m_scheduledActions = std::move(value); }
123 
127  inline DescribeScheduledActionsResult& WithScheduledActions(const Aws::Vector<ScheduledAction>& value) { SetScheduledActions(value); return *this;}
128 
132  inline DescribeScheduledActionsResult& WithScheduledActions(Aws::Vector<ScheduledAction>&& value) { SetScheduledActions(std::move(value)); return *this;}
133 
137  inline DescribeScheduledActionsResult& AddScheduledActions(const ScheduledAction& value) { m_scheduledActions.push_back(value); return *this; }
138 
142  inline DescribeScheduledActionsResult& AddScheduledActions(ScheduledAction&& value) { m_scheduledActions.push_back(std::move(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 DescribeScheduledActionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
156 
157 
158  inline DescribeScheduledActionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
159 
160  private:
161 
162  Aws::String m_marker;
163 
164  Aws::Vector<ScheduledAction> m_scheduledActions;
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::DescribeScheduledActionsResult::WithResponseMetadata
DescribeScheduledActionsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeScheduledActionsResult.h:155
Aws::Redshift::Model::DescribeScheduledActionsResult::DescribeScheduledActionsResult
DescribeScheduledActionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeScheduledActionsResult::operator=
DescribeScheduledActionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::ScheduledAction
Definition: ScheduledAction.h:40
Aws::Redshift::Model::DescribeScheduledActionsResult::GetScheduledActions
const Aws::Vector< ScheduledAction > & GetScheduledActions() const
Definition: DescribeScheduledActionsResult.h:112
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DescribeScheduledActionsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeScheduledActionsResult.h:66
AWSVector.h
Aws::Redshift::Model::DescribeScheduledActionsResult::DescribeScheduledActionsResult
DescribeScheduledActionsResult()
Aws::Redshift::Model::DescribeScheduledActionsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeScheduledActionsResult.h:152
Aws::Redshift::Model::DescribeScheduledActionsResult::AddScheduledActions
DescribeScheduledActionsResult & AddScheduledActions(ScheduledAction &&value)
Definition: DescribeScheduledActionsResult.h:142
Aws::Redshift::Model::DescribeScheduledActionsResult::SetScheduledActions
void SetScheduledActions(Aws::Vector< ScheduledAction > &&value)
Definition: DescribeScheduledActionsResult.h:122
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeScheduledActionsResult::WithScheduledActions
DescribeScheduledActionsResult & WithScheduledActions(Aws::Vector< ScheduledAction > &&value)
Definition: DescribeScheduledActionsResult.h:132
Aws::Redshift::Model::DescribeScheduledActionsResult::WithResponseMetadata
DescribeScheduledActionsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeScheduledActionsResult.h:158
Aws::Redshift::Model::DescribeScheduledActionsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeScheduledActionsResult.h:146
AWSString.h
Aws::Redshift::Model::DescribeScheduledActionsResult::WithScheduledActions
DescribeScheduledActionsResult & WithScheduledActions(const Aws::Vector< ScheduledAction > &value)
Definition: DescribeScheduledActionsResult.h:127
Aws::Redshift::Model::DescribeScheduledActionsResult
Definition: DescribeScheduledActionsResult.h:31
Aws::Redshift::Model::DescribeScheduledActionsResult::WithMarker
DescribeScheduledActionsResult & WithMarker(Aws::String &&value)
Definition: DescribeScheduledActionsResult.h:96
Aws::Redshift::Model::DescribeScheduledActionsResult::WithMarker
DescribeScheduledActionsResult & WithMarker(const char *value)
Definition: DescribeScheduledActionsResult.h:106
Aws::Redshift::Model::DescribeScheduledActionsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeScheduledActionsResult.h:76
ScheduledAction.h
Aws::Redshift::Model::DescribeScheduledActionsResult::AddScheduledActions
DescribeScheduledActionsResult & AddScheduledActions(const ScheduledAction &value)
Definition: DescribeScheduledActionsResult.h:137
Aws::Redshift::Model::DescribeScheduledActionsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeScheduledActionsResult.h:46
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeScheduledActionsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeScheduledActionsResult.h:56
ResponseMetadata.h
Aws::Redshift::Model::DescribeScheduledActionsResult::WithMarker
DescribeScheduledActionsResult & WithMarker(const Aws::String &value)
Definition: DescribeScheduledActionsResult.h:86
Aws::Redshift::Model::DescribeScheduledActionsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeScheduledActionsResult.h:149
Aws::Redshift::Model::DescribeScheduledActionsResult::SetScheduledActions
void SetScheduledActions(const Aws::Vector< ScheduledAction > &value)
Definition: DescribeScheduledActionsResult.h:117