7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/ActionType.h>
10#include <aws/opensearch/model/ActionSeverity.h>
11#include <aws/opensearch/model/ScheduledBy.h>
12#include <aws/opensearch/model/ActionStatus.h>
25namespace OpenSearchService
56 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
57 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
70 inline void SetType(
ActionType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
93 inline void SetScheduledTime(
long long value) { m_scheduledTimeHasBeenSet =
true; m_scheduledTime = value; }
105 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
142 inline void SetMandatory(
bool value) { m_mandatoryHasBeenSet =
true; m_mandatory = value; }
152 inline void SetCancellable(
bool value) { m_cancellableHasBeenSet =
true; m_cancellable = value; }
158 bool m_idHasBeenSet =
false;
161 bool m_typeHasBeenSet =
false;
164 bool m_severityHasBeenSet =
false;
166 long long m_scheduledTime;
167 bool m_scheduledTimeHasBeenSet =
false;
170 bool m_descriptionHasBeenSet =
false;
173 bool m_scheduledByHasBeenSet =
false;
176 bool m_statusHasBeenSet =
false;
179 bool m_mandatoryHasBeenSet =
false;
182 bool m_cancellableHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API ScheduledAction(Aws::Utils::Json::JsonView jsonValue)
ScheduledAction & WithDescription(const Aws::String &value)
void SetId(const char *value)
ScheduledAction & WithSeverity(const ActionSeverity &value)
AWS_OPENSEARCHSERVICE_API ScheduledAction()
void SetId(const Aws::String &value)
void SetCancellable(bool value)
void SetScheduledBy(ScheduledBy &&value)
ScheduledAction & WithId(Aws::String &&value)
bool CancellableHasBeenSet() const
ScheduledAction & WithType(ActionType &&value)
void SetStatus(ActionStatus &&value)
void SetId(Aws::String &&value)
ScheduledAction & WithCancellable(bool value)
void SetDescription(const Aws::String &value)
bool StatusHasBeenSet() const
void SetDescription(Aws::String &&value)
void SetSeverity(const ActionSeverity &value)
bool GetCancellable() const
bool MandatoryHasBeenSet() const
bool SeverityHasBeenSet() const
const Aws::String & GetDescription() const
const ActionType & GetType() const
ScheduledAction & WithDescription(const char *value)
const Aws::String & GetId() const
void SetScheduledBy(const ScheduledBy &value)
bool TypeHasBeenSet() const
ScheduledAction & WithId(const Aws::String &value)
bool DescriptionHasBeenSet() const
AWS_OPENSEARCHSERVICE_API ScheduledAction & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduledAction & WithId(const char *value)
ScheduledAction & WithStatus(const ActionStatus &value)
const ActionSeverity & GetSeverity() const
const ActionStatus & GetStatus() const
ScheduledAction & WithStatus(ActionStatus &&value)
bool ScheduledByHasBeenSet() const
void SetType(const ActionType &value)
bool ScheduledTimeHasBeenSet() const
void SetDescription(const char *value)
bool IdHasBeenSet() const
ScheduledAction & WithScheduledTime(long long value)
ScheduledAction & WithMandatory(bool value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduledAction & WithScheduledBy(const ScheduledBy &value)
bool GetMandatory() const
long long GetScheduledTime() const
ScheduledAction & WithSeverity(ActionSeverity &&value)
void SetSeverity(ActionSeverity &&value)
const ScheduledBy & GetScheduledBy() const
ScheduledAction & WithDescription(Aws::String &&value)
ScheduledAction & WithType(const ActionType &value)
void SetStatus(const ActionStatus &value)
void SetType(ActionType &&value)
void SetScheduledTime(long long value)
void SetMandatory(bool value)
ScheduledAction & WithScheduledBy(ScheduledBy &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue