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
55 template<
typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
57 template<
typename IdT = Aws::String>
87 inline void SetScheduledTime(
long long value) { m_scheduledTimeHasBeenSet =
true; m_scheduledTime = value; }
97 template<
typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
99 template<
typename DescriptionT = Aws::String>
130 inline void SetMandatory(
bool value) { m_mandatoryHasBeenSet =
true; m_mandatory = value; }
140 inline void SetCancellable(
bool value) { m_cancellableHasBeenSet =
true; m_cancellable = value; }
146 bool m_idHasBeenSet =
false;
149 bool m_typeHasBeenSet =
false;
152 bool m_severityHasBeenSet =
false;
154 long long m_scheduledTime{0};
155 bool m_scheduledTimeHasBeenSet =
false;
158 bool m_descriptionHasBeenSet =
false;
161 bool m_scheduledByHasBeenSet =
false;
164 bool m_statusHasBeenSet =
false;
166 bool m_mandatory{
false};
167 bool m_mandatoryHasBeenSet =
false;
169 bool m_cancellable{
false};
170 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