7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/ResponseMetadata.h>
12#include <aws/redshift/model/ScheduledActionState.h>
13#include <aws/redshift/model/ScheduledActionType.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
47 template <
typename ScheduledActionNameT = Aws::String>
49 m_scheduledActionNameHasBeenSet =
true;
50 m_scheduledActionName = std::forward<ScheduledActionNameT>(value);
52 template <
typename ScheduledActionNameT = Aws::String>
67 template <
typename TargetActionT = ScheduledActionType>
69 m_targetActionHasBeenSet =
true;
70 m_targetAction = std::forward<TargetActionT>(value);
72 template <
typename TargetActionT = ScheduledActionType>
92 template <
typename ScheduleT = Aws::String>
94 m_scheduleHasBeenSet =
true;
95 m_schedule = std::forward<ScheduleT>(value);
97 template <
typename ScheduleT = Aws::String>
116 template <
typename IamRoleT = Aws::String>
118 m_iamRoleHasBeenSet =
true;
119 m_iamRole = std::forward<IamRoleT>(value);
121 template <
typename IamRoleT = Aws::String>
133 template <
typename ScheduledActionDescriptionT = Aws::String>
135 m_scheduledActionDescriptionHasBeenSet =
true;
136 m_scheduledActionDescription = std::forward<ScheduledActionDescriptionT>(value);
138 template <
typename ScheduledActionDescriptionT = Aws::String>
151 m_stateHasBeenSet =
true;
165 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
167 m_nextInvocationsHasBeenSet =
true;
168 m_nextInvocations = std::forward<NextInvocationsT>(value);
170 template <
typename NextInvocationsT = Aws::Vector<Aws::Utils::DateTime>>
175 template <
typename NextInvocationsT = Aws::Utils::DateTime>
177 m_nextInvocationsHasBeenSet =
true;
178 m_nextInvocations.emplace_back(std::forward<NextInvocationsT>(value));
189 template <
typename StartTimeT = Aws::Utils::DateTime>
191 m_startTimeHasBeenSet =
true;
192 m_startTime = std::forward<StartTimeT>(value);
194 template <
typename StartTimeT = Aws::Utils::DateTime>
207 template <
typename EndTimeT = Aws::Utils::DateTime>
209 m_endTimeHasBeenSet =
true;
210 m_endTime = std::forward<EndTimeT>(value);
212 template <
typename EndTimeT = Aws::Utils::DateTime>
222 template <
typename ResponseMetadataT = ResponseMetadata>
224 m_responseMetadataHasBeenSet =
true;
225 m_responseMetadata = std::forward<ResponseMetadataT>(value);
227 template <
typename ResponseMetadataT = ResponseMetadata>
252 ResponseMetadata m_responseMetadata;
253 bool m_scheduledActionNameHasBeenSet =
false;
254 bool m_targetActionHasBeenSet =
false;
255 bool m_scheduleHasBeenSet =
false;
256 bool m_iamRoleHasBeenSet =
false;
257 bool m_scheduledActionDescriptionHasBeenSet =
false;
258 bool m_stateHasBeenSet =
false;
259 bool m_nextInvocationsHasBeenSet =
false;
260 bool m_startTimeHasBeenSet =
false;
261 bool m_endTimeHasBeenSet =
false;
262 bool m_responseMetadataHasBeenSet =
false;
void SetResponseMetadata(ResponseMetadataT &&value)
ModifyScheduledActionResult & WithStartTime(StartTimeT &&value)
const Aws::String & GetScheduledActionName() const
ModifyScheduledActionResult & AddNextInvocations(NextInvocationsT &&value)
void SetStartTime(StartTimeT &&value)
void SetTargetAction(TargetActionT &&value)
void SetScheduledActionDescription(ScheduledActionDescriptionT &&value)
AWS_REDSHIFT_API ModifyScheduledActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
const Aws::Utils::DateTime & GetStartTime() const
void SetEndTime(EndTimeT &&value)
const Aws::Vector< Aws::Utils::DateTime > & GetNextInvocations() const
const Aws::String & GetScheduledActionDescription() const
ModifyScheduledActionResult & WithEndTime(EndTimeT &&value)
ModifyScheduledActionResult & WithState(ScheduledActionState value)
ModifyScheduledActionResult & WithScheduledActionName(ScheduledActionNameT &&value)
const Aws::String & GetSchedule() const
void SetState(ScheduledActionState value)
ModifyScheduledActionResult & WithScheduledActionDescription(ScheduledActionDescriptionT &&value)
ModifyScheduledActionResult & WithTargetAction(TargetActionT &&value)
const Aws::Utils::DateTime & GetEndTime() const
void SetIamRole(IamRoleT &&value)
ModifyScheduledActionResult & WithResponseMetadata(ResponseMetadataT &&value)
void SetScheduledActionName(ScheduledActionNameT &&value)
const Aws::String & GetIamRole() const
AWS_REDSHIFT_API ModifyScheduledActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetSchedule(ScheduleT &&value)
const ScheduledActionType & GetTargetAction() const
ModifyScheduledActionResult & WithNextInvocations(NextInvocationsT &&value)
ModifyScheduledActionResult & WithIamRole(IamRoleT &&value)
ModifyScheduledActionResult & WithSchedule(ScheduleT &&value)
void SetNextInvocations(NextInvocationsT &&value)
ScheduledActionState GetState() const
AWS_REDSHIFT_API ModifyScheduledActionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument