7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/ActionSeverity.h>
10#include <aws/opensearch/model/ActionStatus.h>
11#include <aws/opensearch/model/ActionType.h>
12#include <aws/opensearch/model/ScheduledBy.h>
23namespace OpenSearchService {
49 template <
typename IdT = Aws::String>
51 m_idHasBeenSet =
true;
52 m_id = std::forward<IdT>(value);
54 template <
typename IdT = Aws::String>
56 SetId(std::forward<IdT>(value));
68 m_typeHasBeenSet =
true;
84 m_severityHasBeenSet =
true;
100 m_scheduledTimeHasBeenSet =
true;
101 m_scheduledTime = value;
115 template <
typename DescriptionT = Aws::String>
117 m_descriptionHasBeenSet =
true;
118 m_description = std::forward<DescriptionT>(value);
120 template <
typename DescriptionT = Aws::String>
135 m_scheduledByHasBeenSet =
true;
136 m_scheduledBy = value;
151 m_statusHasBeenSet =
true;
167 m_mandatoryHasBeenSet =
true;
183 m_cancellableHasBeenSet =
true;
184 m_cancellable = value;
198 long long m_scheduledTime{0};
206 bool m_mandatory{
false};
208 bool m_cancellable{
false};
209 bool m_idHasBeenSet =
false;
210 bool m_typeHasBeenSet =
false;
211 bool m_severityHasBeenSet =
false;
212 bool m_scheduledTimeHasBeenSet =
false;
213 bool m_descriptionHasBeenSet =
false;
214 bool m_scheduledByHasBeenSet =
false;
215 bool m_statusHasBeenSet =
false;
216 bool m_mandatoryHasBeenSet =
false;
217 bool m_cancellableHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API ScheduledAction(Aws::Utils::Json::JsonView jsonValue)
void SetScheduledBy(ScheduledBy value)
ScheduledAction & WithStatus(ActionStatus value)
void SetType(ActionType value)
AWS_OPENSEARCHSERVICE_API ScheduledAction()=default
void SetCancellable(bool value)
bool CancellableHasBeenSet() const
ScheduledAction & WithCancellable(bool value)
bool StatusHasBeenSet() const
void SetSeverity(ActionSeverity value)
bool GetCancellable() const
bool MandatoryHasBeenSet() const
bool SeverityHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetId() const
ScheduledAction & WithScheduledBy(ScheduledBy value)
ActionType GetType() const
bool TypeHasBeenSet() const
bool DescriptionHasBeenSet() const
AWS_OPENSEARCHSERVICE_API ScheduledAction & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ScheduledByHasBeenSet() const
ActionSeverity GetSeverity() const
bool ScheduledTimeHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool IdHasBeenSet() const
ScheduledAction & WithScheduledTime(long long value)
ScheduledAction & WithMandatory(bool value)
void SetStatus(ActionStatus value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduledAction & WithDescription(DescriptionT &&value)
bool GetMandatory() const
ActionStatus GetStatus() const
long long GetScheduledTime() const
ScheduledAction & WithSeverity(ActionSeverity value)
ScheduledAction & WithId(IdT &&value)
ScheduledAction & WithType(ActionType value)
void SetScheduledTime(long long value)
ScheduledBy GetScheduledBy() const
void SetMandatory(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue