AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeScheduledActionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Redshift
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeScheduledActions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetScheduledActionName() const{ return m_scheduledActionName; }
47 
51  inline bool ScheduledActionNameHasBeenSet() const { return m_scheduledActionNameHasBeenSet; }
52 
56  inline void SetScheduledActionName(const Aws::String& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = value; }
57 
61  inline void SetScheduledActionName(Aws::String&& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = std::move(value); }
62 
66  inline void SetScheduledActionName(const char* value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName.assign(value); }
67 
71  inline DescribeScheduledActionsRequest& WithScheduledActionName(const Aws::String& value) { SetScheduledActionName(value); return *this;}
72 
76  inline DescribeScheduledActionsRequest& WithScheduledActionName(Aws::String&& value) { SetScheduledActionName(std::move(value)); return *this;}
77 
81  inline DescribeScheduledActionsRequest& WithScheduledActionName(const char* value) { SetScheduledActionName(value); return *this;}
82 
83 
87  inline const ScheduledActionTypeValues& GetTargetActionType() const{ return m_targetActionType; }
88 
92  inline bool TargetActionTypeHasBeenSet() const { return m_targetActionTypeHasBeenSet; }
93 
97  inline void SetTargetActionType(const ScheduledActionTypeValues& value) { m_targetActionTypeHasBeenSet = true; m_targetActionType = value; }
98 
102  inline void SetTargetActionType(ScheduledActionTypeValues&& value) { m_targetActionTypeHasBeenSet = true; m_targetActionType = std::move(value); }
103 
107  inline DescribeScheduledActionsRequest& WithTargetActionType(const ScheduledActionTypeValues& value) { SetTargetActionType(value); return *this;}
108 
112  inline DescribeScheduledActionsRequest& WithTargetActionType(ScheduledActionTypeValues&& value) { SetTargetActionType(std::move(value)); return *this;}
113 
114 
119  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
120 
125  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
126 
131  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
132 
137  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
138 
143  inline DescribeScheduledActionsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
144 
149  inline DescribeScheduledActionsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
150 
151 
156  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
157 
162  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
163 
168  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
169 
174  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
175 
180  inline DescribeScheduledActionsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
181 
186  inline DescribeScheduledActionsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
187 
188 
193  inline bool GetActive() const{ return m_active; }
194 
199  inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
200 
205  inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
206 
211  inline DescribeScheduledActionsRequest& WithActive(bool value) { SetActive(value); return *this;}
212 
213 
217  inline const Aws::Vector<ScheduledActionFilter>& GetFilters() const{ return m_filters; }
218 
222  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
223 
227  inline void SetFilters(const Aws::Vector<ScheduledActionFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
228 
232  inline void SetFilters(Aws::Vector<ScheduledActionFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
233 
237  inline DescribeScheduledActionsRequest& WithFilters(const Aws::Vector<ScheduledActionFilter>& value) { SetFilters(value); return *this;}
238 
242  inline DescribeScheduledActionsRequest& WithFilters(Aws::Vector<ScheduledActionFilter>&& value) { SetFilters(std::move(value)); return *this;}
243 
247  inline DescribeScheduledActionsRequest& AddFilters(const ScheduledActionFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
248 
252  inline DescribeScheduledActionsRequest& AddFilters(ScheduledActionFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
253 
254 
263  inline const Aws::String& GetMarker() const{ return m_marker; }
264 
273  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
274 
283  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
284 
293  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
294 
303  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
304 
313  inline DescribeScheduledActionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
314 
323  inline DescribeScheduledActionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
324 
333  inline DescribeScheduledActionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
334 
335 
344  inline int GetMaxRecords() const{ return m_maxRecords; }
345 
354  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
355 
364  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
365 
374  inline DescribeScheduledActionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
375 
376  private:
377 
378  Aws::String m_scheduledActionName;
379  bool m_scheduledActionNameHasBeenSet;
380 
381  ScheduledActionTypeValues m_targetActionType;
382  bool m_targetActionTypeHasBeenSet;
383 
384  Aws::Utils::DateTime m_startTime;
385  bool m_startTimeHasBeenSet;
386 
387  Aws::Utils::DateTime m_endTime;
388  bool m_endTimeHasBeenSet;
389 
390  bool m_active;
391  bool m_activeHasBeenSet;
392 
394  bool m_filtersHasBeenSet;
395 
396  Aws::String m_marker;
397  bool m_markerHasBeenSet;
398 
399  int m_maxRecords;
400  bool m_maxRecordsHasBeenSet;
401  };
402 
403 } // namespace Model
404 } // namespace Redshift
405 } // namespace Aws
Aws::Redshift::Model::DescribeScheduledActionsRequest::GetScheduledActionName
const Aws::String & GetScheduledActionName() const
Definition: DescribeScheduledActionsRequest.h:46
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithMaxRecords
DescribeScheduledActionsRequest & WithMaxRecords(int value)
Definition: DescribeScheduledActionsRequest.h:374
Aws::Redshift::Model::DescribeScheduledActionsRequest::GetTargetActionType
const ScheduledActionTypeValues & GetTargetActionType() const
Definition: DescribeScheduledActionsRequest.h:87
ScheduledActionFilter.h
Aws::Redshift::Model::DescribeScheduledActionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeScheduledActionsRequest.h:273
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithScheduledActionName
DescribeScheduledActionsRequest & WithScheduledActionName(const char *value)
Definition: DescribeScheduledActionsRequest.h:81
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetScheduledActionName
void SetScheduledActionName(Aws::String &&value)
Definition: DescribeScheduledActionsRequest.h:61
Aws::Redshift::Model::DescribeScheduledActionsRequest::AddFilters
DescribeScheduledActionsRequest & AddFilters(const ScheduledActionFilter &value)
Definition: DescribeScheduledActionsRequest.h:247
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithMarker
DescribeScheduledActionsRequest & WithMarker(const Aws::String &value)
Definition: DescribeScheduledActionsRequest.h:313
Aws::Redshift::Model::DescribeScheduledActionsRequest::AddFilters
DescribeScheduledActionsRequest & AddFilters(ScheduledActionFilter &&value)
Definition: DescribeScheduledActionsRequest.h:252
Aws::Redshift::Model::DescribeScheduledActionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithScheduledActionName
DescribeScheduledActionsRequest & WithScheduledActionName(const Aws::String &value)
Definition: DescribeScheduledActionsRequest.h:71
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithEndTime
DescribeScheduledActionsRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: DescribeScheduledActionsRequest.h:180
DateTime.h
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithStartTime
DescribeScheduledActionsRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: DescribeScheduledActionsRequest.h:149
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetTargetActionType
void SetTargetActionType(const ScheduledActionTypeValues &value)
Definition: DescribeScheduledActionsRequest.h:97
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithTargetActionType
DescribeScheduledActionsRequest & WithTargetActionType(ScheduledActionTypeValues &&value)
Definition: DescribeScheduledActionsRequest.h:112
Aws::Redshift::Model::DescribeScheduledActionsRequest::TargetActionTypeHasBeenSet
bool TargetActionTypeHasBeenSet() const
Definition: DescribeScheduledActionsRequest.h:92
Aws::Redshift::Model::DescribeScheduledActionsRequest::ScheduledActionNameHasBeenSet
bool ScheduledActionNameHasBeenSet() const
Definition: DescribeScheduledActionsRequest.h:51
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetFilters
void SetFilters(const Aws::Vector< ScheduledActionFilter > &value)
Definition: DescribeScheduledActionsRequest.h:227
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetScheduledActionName
void SetScheduledActionName(const Aws::String &value)
Definition: DescribeScheduledActionsRequest.h:56
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeScheduledActionsRequest.h:283
RedshiftRequest.h
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithTargetActionType
DescribeScheduledActionsRequest & WithTargetActionType(const ScheduledActionTypeValues &value)
Definition: DescribeScheduledActionsRequest.h:107
Aws::Redshift::Model::DescribeScheduledActionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeScheduledActionsRequest.h:34
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithMarker
DescribeScheduledActionsRequest & WithMarker(const char *value)
Definition: DescribeScheduledActionsRequest.h:333
AWSVector.h
Aws::Redshift::Model::DescribeScheduledActionsRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: DescribeScheduledActionsRequest.h:162
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetFilters
void SetFilters(Aws::Vector< ScheduledActionFilter > &&value)
Definition: DescribeScheduledActionsRequest.h:232
Aws::Redshift::Model::DescribeScheduledActionsRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: DescribeScheduledActionsRequest.h:156
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithFilters
DescribeScheduledActionsRequest & WithFilters(Aws::Vector< ScheduledActionFilter > &&value)
Definition: DescribeScheduledActionsRequest.h:242
Aws::Redshift::Model::DescribeScheduledActionsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeScheduledActionsRequest.h:354
Aws::Redshift::Model::DescribeScheduledActionsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeScheduledActionsRequest.h:344
Aws::Redshift::Model::DescribeScheduledActionsRequest::GetActive
bool GetActive() const
Definition: DescribeScheduledActionsRequest.h:193
Aws::Redshift::Model::DescribeScheduledActionsRequest::GetFilters
const Aws::Vector< ScheduledActionFilter > & GetFilters() const
Definition: DescribeScheduledActionsRequest.h:217
Aws::Redshift::Model::DescribeScheduledActionsRequest::ActiveHasBeenSet
bool ActiveHasBeenSet() const
Definition: DescribeScheduledActionsRequest.h:199
Aws::Redshift::Model::DescribeScheduledActionsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeScheduledActionsRequest.h:222
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetActive
void SetActive(bool value)
Definition: DescribeScheduledActionsRequest.h:205
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: DescribeScheduledActionsRequest.h:131
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithEndTime
DescribeScheduledActionsRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: DescribeScheduledActionsRequest.h:186
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: DescribeScheduledActionsRequest.h:174
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithFilters
DescribeScheduledActionsRequest & WithFilters(const Aws::Vector< ScheduledActionFilter > &value)
Definition: DescribeScheduledActionsRequest.h:237
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DescribeScheduledActionsRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: DescribeScheduledActionsRequest.h:125
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: DescribeScheduledActionsRequest.h:137
AWSString.h
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetScheduledActionName
void SetScheduledActionName(const char *value)
Definition: DescribeScheduledActionsRequest.h:66
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithStartTime
DescribeScheduledActionsRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: DescribeScheduledActionsRequest.h:143
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeScheduledActionsRequest.h:293
Aws::Redshift::Model::DescribeScheduledActionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeScheduledActionsRequest.h:263
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithMarker
DescribeScheduledActionsRequest & WithMarker(Aws::String &&value)
Definition: DescribeScheduledActionsRequest.h:323
Aws::Redshift::Model::DescribeScheduledActionsRequest
Definition: DescribeScheduledActionsRequest.h:26
Redshift_EXPORTS.h
Aws::Redshift::Model::ScheduledActionTypeValues
ScheduledActionTypeValues
Definition: ScheduledActionTypeValues.h:17
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetTargetActionType
void SetTargetActionType(ScheduledActionTypeValues &&value)
Definition: DescribeScheduledActionsRequest.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: DescribeScheduledActionsRequest.h:168
ScheduledActionTypeValues.h
Aws::Redshift::Model::DescribeScheduledActionsRequest::DescribeScheduledActionsRequest
DescribeScheduledActionsRequest()
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithActive
DescribeScheduledActionsRequest & WithActive(bool value)
Definition: DescribeScheduledActionsRequest.h:211
Aws::Redshift::Model::DescribeScheduledActionsRequest::WithScheduledActionName
DescribeScheduledActionsRequest & WithScheduledActionName(Aws::String &&value)
Definition: DescribeScheduledActionsRequest.h:76
Aws::Redshift::Model::DescribeScheduledActionsRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: DescribeScheduledActionsRequest.h:119
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeScheduledActionsRequest.h:364
Aws::Redshift::Model::DescribeScheduledActionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeScheduledActionsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeScheduledActionsRequest.h:303
Aws::Redshift::Model::ScheduledActionFilter
Definition: ScheduledActionFilter.h:35