7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elementalinference/ElementalInference_EXPORTS.h>
10#include <aws/elementalinference/model/ScheduleActionError.h>
11#include <aws/elementalinference/model/ScheduleActionOperation.h>
12#include <aws/elementalinference/model/ScheduleActionStartConfiguration.h>
13#include <aws/elementalinference/model/ScheduleActionStatus.h>
24namespace ElementalInference {
47 template <
typename ActionNameT = Aws::String>
49 m_actionNameHasBeenSet =
true;
50 m_actionName = std::forward<ActionNameT>(value);
52 template <
typename ActionNameT = Aws::String>
65 template <
typename StartConfigurationT = ScheduleActionStartConfiguration>
67 m_startConfigurationHasBeenSet =
true;
68 m_startConfiguration = std::forward<StartConfigurationT>(value);
70 template <
typename StartConfigurationT = ScheduleActionStartConfiguration>
83 template <
typename OperationsT = Aws::Vector<ScheduleActionOperation>>
85 m_operationsHasBeenSet =
true;
86 m_operations = std::forward<OperationsT>(value);
88 template <
typename OperationsT = Aws::Vector<ScheduleActionOperation>>
93 template <
typename OperationsT = ScheduleActionOperation>
95 m_operationsHasBeenSet =
true;
96 m_operations.emplace_back(std::forward<OperationsT>(value));
112 m_statusHasBeenSet =
true;
128 template <
typename ErrorT = ScheduleActionError>
130 m_errorHasBeenSet =
true;
131 m_error = std::forward<ErrorT>(value);
133 template <
typename ErrorT = ScheduleActionError>
135 SetError(std::forward<ErrorT>(value));
148 ScheduleActionError m_error;
149 bool m_actionNameHasBeenSet =
false;
150 bool m_startConfigurationHasBeenSet =
false;
151 bool m_operationsHasBeenSet =
false;
152 bool m_statusHasBeenSet =
false;
153 bool m_errorHasBeenSet =
false;
ScheduleAction & WithStartConfiguration(StartConfigurationT &&value)
const ScheduleActionStartConfiguration & GetStartConfiguration() const
void SetStartConfiguration(StartConfigurationT &&value)
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetError(ErrorT &&value)
AWS_ELEMENTALINFERENCE_API ScheduleAction()=default
void SetOperations(OperationsT &&value)
const ScheduleActionError & GetError() const
AWS_ELEMENTALINFERENCE_API ScheduleAction(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ScheduleActionOperation > & GetOperations() const
AWS_ELEMENTALINFERENCE_API ScheduleAction & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleActionStatus GetStatus() const
bool StartConfigurationHasBeenSet() const
ScheduleAction & WithStatus(ScheduleActionStatus value)
bool ActionNameHasBeenSet() const
bool ErrorHasBeenSet() const
ScheduleAction & WithOperations(OperationsT &&value)
ScheduleAction & WithError(ErrorT &&value)
void SetActionName(ActionNameT &&value)
ScheduleAction & AddOperations(OperationsT &&value)
const Aws::String & GetActionName() const
bool StatusHasBeenSet() const
void SetStatus(ScheduleActionStatus value)
ScheduleAction & WithActionName(ActionNameT &&value)
bool OperationsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue