7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/Redshift_EXPORTS.h>
12#include <aws/redshift/model/ResponseMetadata.h>
13#include <aws/redshift/model/ScheduledActionState.h>
14#include <aws/redshift/model/ScheduledActionType.h>
50 template <
typename ScheduledActionNameT = Aws::String>
52 m_scheduledActionNameHasBeenSet =
true;
53 m_scheduledActionName = std::forward<ScheduledActionNameT>(value);
55 template <
typename ScheduledActionNameT = Aws::String>
71 template <
typename TargetActionT = ScheduledActionType>
73 m_targetActionHasBeenSet =
true;
74 m_targetAction = std::forward<TargetActionT>(value);
76 template <
typename TargetActionT = ScheduledActionType>
97 template <
typename ScheduleT = Aws::String>
99 m_scheduleHasBeenSet =
true;
100 m_schedule = std::forward<ScheduleT>(value);
102 template <
typename ScheduleT = Aws::String>
122 template <
typename IamRoleT = Aws::String>
124 m_iamRoleHasBeenSet =
true;
125 m_iamRole = std::forward<IamRoleT>(value);
127 template <
typename IamRoleT = Aws::String>
140 template <
typename ScheduledActionDescriptionT = Aws::String>
142 m_scheduledActionDescriptionHasBeenSet =
true;
143 m_scheduledActionDescription = std::forward<ScheduledActionDescriptionT>(value);
145 template <
typename ScheduledActionDescriptionT = Aws::String>
159 m_stateHasBeenSet =
true;
174 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
176 m_nextInvocationsHasBeenSet =
true;
177 m_nextInvocations = std::forward<NextInvocationsT>(value);
179 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
184 template <
typename NextInvocationsT = Aws::Utils::DateTime>
186 m_nextInvocationsHasBeenSet =
true;
187 m_nextInvocations.emplace_back(std::forward<NextInvocationsT>(value));
199 template <
typename StartTimeT = Aws::Utils::DateTime>
201 m_startTimeHasBeenSet =
true;
202 m_startTime = std::forward<StartTimeT>(value);
204 template <
typename StartTimeT = Aws::Utils::DateTime>
218 template <
typename EndTimeT = Aws::Utils::DateTime>
220 m_endTimeHasBeenSet =
true;
221 m_endTime = std::forward<EndTimeT>(value);
223 template <
typename EndTimeT = Aws::Utils::DateTime>
233 template <
typename ResponseMetadataT = ResponseMetadata>
235 m_responseMetadataHasBeenSet =
true;
236 m_responseMetadata = std::forward<ResponseMetadataT>(value);
238 template <
typename ResponseMetadataT = ResponseMetadata>
263 ResponseMetadata m_responseMetadata;
264 bool m_scheduledActionNameHasBeenSet =
false;
265 bool m_targetActionHasBeenSet =
false;
266 bool m_scheduleHasBeenSet =
false;
267 bool m_iamRoleHasBeenSet =
false;
268 bool m_scheduledActionDescriptionHasBeenSet =
false;
269 bool m_stateHasBeenSet =
false;
270 bool m_nextInvocationsHasBeenSet =
false;
271 bool m_startTimeHasBeenSet =
false;
272 bool m_endTimeHasBeenSet =
false;
273 bool m_responseMetadataHasBeenSet =
true;
bool ScheduledActionDescriptionHasBeenSet() const
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_REDSHIFT_API ScheduledAction()=default
bool NextInvocationsHasBeenSet() const
bool IamRoleHasBeenSet() const
void SetEndTime(EndTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool EndTimeHasBeenSet() const
ScheduledAction & WithStartTime(StartTimeT &&value)
const Aws::String & GetSchedule() const
ScheduledAction & WithScheduledActionDescription(ScheduledActionDescriptionT &&value)
bool ScheduleHasBeenSet() const
ScheduledAction & WithEndTime(EndTimeT &&value)
ScheduledAction & AddNextInvocations(NextInvocationsT &&value)
AWS_REDSHIFT_API ScheduledAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const ScheduledActionType & GetTargetAction() const
ScheduledAction & WithIamRole(IamRoleT &&value)
void SetState(ScheduledActionState value)
void SetScheduledActionName(ScheduledActionNameT &&value)
void SetStartTime(StartTimeT &&value)
ScheduledAction & WithState(ScheduledActionState value)
bool StartTimeHasBeenSet() const
const Aws::String & GetIamRole() const
void SetScheduledActionDescription(ScheduledActionDescriptionT &&value)
bool StateHasBeenSet() const
bool ScheduledActionNameHasBeenSet() const
void SetTargetAction(TargetActionT &&value)
ScheduledAction & WithResponseMetadata(ResponseMetadataT &&value)
void SetNextInvocations(NextInvocationsT &&value)
bool TargetActionHasBeenSet() const
ScheduledAction & WithSchedule(ScheduleT &&value)
void SetSchedule(ScheduleT &&value)
AWS_REDSHIFT_API ScheduledAction(const Aws::Utils::Xml::XmlNode &xmlNode)
ScheduledAction & WithTargetAction(TargetActionT &&value)
const Aws::String & GetScheduledActionDescription() const
const Aws::String & GetScheduledActionName() const
ScheduledActionState GetState() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const ResponseMetadata & GetResponseMetadata() const
ScheduledAction & WithNextInvocations(NextInvocationsT &&value)
const Aws::Utils::DateTime & GetEndTime() const
ScheduledAction & WithScheduledActionName(ScheduledActionNameT &&value)
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
void SetIamRole(IamRoleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream