AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeScheduledActionsRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/ScheduledActionTypeValues.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/redshift/model/ScheduledActionFilter.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Redshift
19{
20namespace 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_REDSHIFT_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
47 inline const Aws::String& GetScheduledActionName() const{ return m_scheduledActionName; }
48 inline bool ScheduledActionNameHasBeenSet() const { return m_scheduledActionNameHasBeenSet; }
49 inline void SetScheduledActionName(const Aws::String& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = value; }
50 inline void SetScheduledActionName(Aws::String&& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = std::move(value); }
51 inline void SetScheduledActionName(const char* value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName.assign(value); }
54 inline DescribeScheduledActionsRequest& WithScheduledActionName(const char* value) { SetScheduledActionName(value); return *this;}
56
58
61 inline const ScheduledActionTypeValues& GetTargetActionType() const{ return m_targetActionType; }
62 inline bool TargetActionTypeHasBeenSet() const { return m_targetActionTypeHasBeenSet; }
63 inline void SetTargetActionType(const ScheduledActionTypeValues& value) { m_targetActionTypeHasBeenSet = true; m_targetActionType = value; }
64 inline void SetTargetActionType(ScheduledActionTypeValues&& value) { m_targetActionTypeHasBeenSet = true; m_targetActionType = std::move(value); }
68
70
74 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
75 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
76 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
77 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
79 inline DescribeScheduledActionsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
81
83
87 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
88 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
89 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
90 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
91 inline DescribeScheduledActionsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
92 inline DescribeScheduledActionsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
94
96
100 inline bool GetActive() const{ return m_active; }
101 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
102 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
103 inline DescribeScheduledActionsRequest& WithActive(bool value) { SetActive(value); return *this;}
105
107
110 inline const Aws::Vector<ScheduledActionFilter>& GetFilters() const{ return m_filters; }
111 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
112 inline void SetFilters(const Aws::Vector<ScheduledActionFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
113 inline void SetFilters(Aws::Vector<ScheduledActionFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
116 inline DescribeScheduledActionsRequest& AddFilters(const ScheduledActionFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
117 inline DescribeScheduledActionsRequest& AddFilters(ScheduledActionFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
119
121
129 inline const Aws::String& GetMarker() const{ return m_marker; }
130 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
131 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
132 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
133 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
134 inline DescribeScheduledActionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
135 inline DescribeScheduledActionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
136 inline DescribeScheduledActionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
138
140
148 inline int GetMaxRecords() const{ return m_maxRecords; }
149 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
150 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
151 inline DescribeScheduledActionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
153 private:
154
155 Aws::String m_scheduledActionName;
156 bool m_scheduledActionNameHasBeenSet = false;
157
158 ScheduledActionTypeValues m_targetActionType;
159 bool m_targetActionTypeHasBeenSet = false;
160
161 Aws::Utils::DateTime m_startTime;
162 bool m_startTimeHasBeenSet = false;
163
164 Aws::Utils::DateTime m_endTime;
165 bool m_endTimeHasBeenSet = false;
166
167 bool m_active;
168 bool m_activeHasBeenSet = false;
169
171 bool m_filtersHasBeenSet = false;
172
173 Aws::String m_marker;
174 bool m_markerHasBeenSet = false;
175
176 int m_maxRecords;
177 bool m_maxRecordsHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace Redshift
182} // namespace Aws
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetFilters(Aws::Vector< ScheduledActionFilter > &&value)
DescribeScheduledActionsRequest & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::Vector< ScheduledActionFilter > & GetFilters() const
DescribeScheduledActionsRequest & WithStartTime(Aws::Utils::DateTime &&value)
DescribeScheduledActionsRequest & WithTargetActionType(ScheduledActionTypeValues &&value)
DescribeScheduledActionsRequest & AddFilters(ScheduledActionFilter &&value)
DescribeScheduledActionsRequest & WithMarker(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeScheduledActionsRequest & AddFilters(const ScheduledActionFilter &value)
DescribeScheduledActionsRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeScheduledActionsRequest & WithScheduledActionName(Aws::String &&value)
DescribeScheduledActionsRequest & WithTargetActionType(const ScheduledActionTypeValues &value)
DescribeScheduledActionsRequest & WithMarker(const Aws::String &value)
DescribeScheduledActionsRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeScheduledActionsRequest & WithScheduledActionName(const char *value)
DescribeScheduledActionsRequest & WithMarker(Aws::String &&value)
void SetTargetActionType(const ScheduledActionTypeValues &value)
DescribeScheduledActionsRequest & WithScheduledActionName(const Aws::String &value)
DescribeScheduledActionsRequest & WithFilters(Aws::Vector< ScheduledActionFilter > &&value)
DescribeScheduledActionsRequest & WithFilters(const Aws::Vector< ScheduledActionFilter > &value)
void SetFilters(const Aws::Vector< ScheduledActionFilter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector