7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/MaintenanceType.h>
10#include <aws/opensearch/model/MaintenanceStatus.h>
11#include <aws/core/utils/DateTime.h>
24namespace OpenSearchService
51 inline void SetMaintenanceId(
const char* value) { m_maintenanceIdHasBeenSet =
true; m_maintenanceId.assign(value); }
65 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
91 inline void SetNodeId(
const char* value) { m_nodeIdHasBeenSet =
true; m_nodeId.assign(value); }
117 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
149 bool m_maintenanceIdHasBeenSet =
false;
152 bool m_domainNameHasBeenSet =
false;
155 bool m_actionHasBeenSet =
false;
158 bool m_nodeIdHasBeenSet =
false;
161 bool m_statusHasBeenSet =
false;
164 bool m_statusMessageHasBeenSet =
false;
167 bool m_createdAtHasBeenSet =
false;
170 bool m_updatedAtHasBeenSet =
false;
DomainMaintenanceDetails & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetMaintenanceId(const char *value)
const Aws::String & GetNodeId() const
void SetStatusMessage(const Aws::String &value)
bool NodeIdHasBeenSet() const
const Aws::String & GetStatusMessage() const
bool DomainNameHasBeenSet() const
void SetMaintenanceId(Aws::String &&value)
DomainMaintenanceDetails & WithMaintenanceId(Aws::String &&value)
DomainMaintenanceDetails & WithUpdatedAt(Aws::Utils::DateTime &&value)
bool ActionHasBeenSet() const
bool UpdatedAtHasBeenSet() const
AWS_OPENSEARCHSERVICE_API DomainMaintenanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainName(Aws::String &&value)
void SetNodeId(Aws::String &&value)
void SetStatusMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetNodeId(const char *value)
const Aws::String & GetDomainName() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
DomainMaintenanceDetails & WithMaintenanceId(const char *value)
void SetDomainName(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
DomainMaintenanceDetails & WithCreatedAt(Aws::Utils::DateTime &&value)
DomainMaintenanceDetails & WithStatus(MaintenanceStatus &&value)
DomainMaintenanceDetails & WithDomainName(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetDomainName(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API DomainMaintenanceDetails(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(MaintenanceStatus &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const MaintenanceType & GetAction() const
bool MaintenanceIdHasBeenSet() const
DomainMaintenanceDetails & WithMaintenanceId(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DomainMaintenanceDetails & WithAction(MaintenanceType &&value)
DomainMaintenanceDetails & WithStatusMessage(const char *value)
bool StatusMessageHasBeenSet() const
DomainMaintenanceDetails & WithDomainName(Aws::String &&value)
bool CreatedAtHasBeenSet() const
DomainMaintenanceDetails & WithNodeId(const char *value)
bool StatusHasBeenSet() const
DomainMaintenanceDetails & WithStatusMessage(Aws::String &&value)
DomainMaintenanceDetails & WithStatusMessage(const Aws::String &value)
DomainMaintenanceDetails & WithDomainName(const char *value)
AWS_OPENSEARCHSERVICE_API DomainMaintenanceDetails()
void SetUpdatedAt(const Aws::Utils::DateTime &value)
DomainMaintenanceDetails & WithAction(const MaintenanceType &value)
void SetStatus(const MaintenanceStatus &value)
DomainMaintenanceDetails & WithNodeId(Aws::String &&value)
void SetNodeId(const Aws::String &value)
void SetAction(MaintenanceType &&value)
DomainMaintenanceDetails & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetStatusMessage(const char *value)
DomainMaintenanceDetails & WithNodeId(const Aws::String &value)
void SetAction(const MaintenanceType &value)
const MaintenanceStatus & GetStatus() const
DomainMaintenanceDetails & WithStatus(const MaintenanceStatus &value)
void SetMaintenanceId(const Aws::String &value)
const Aws::String & GetMaintenanceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue