7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/MaintenanceType.h>
15namespace OpenSearchService
48 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
74 inline void SetNodeId(
const char* value) { m_nodeIdHasBeenSet =
true; m_nodeId.assign(value); }
82 bool m_domainNameHasBeenSet =
false;
85 bool m_actionHasBeenSet =
false;
88 bool m_nodeIdHasBeenSet =
false;
StartDomainMaintenanceRequest & WithDomainName(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API StartDomainMaintenanceRequest()
void SetNodeId(const Aws::String &value)
void SetNodeId(const char *value)
const Aws::String & GetDomainName() const
void SetDomainName(const char *value)
void SetAction(MaintenanceType &&value)
StartDomainMaintenanceRequest & WithAction(MaintenanceType &&value)
const MaintenanceType & GetAction() const
StartDomainMaintenanceRequest & WithDomainName(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
StartDomainMaintenanceRequest & WithDomainName(const char *value)
StartDomainMaintenanceRequest & WithAction(const MaintenanceType &value)
StartDomainMaintenanceRequest & WithNodeId(const Aws::String &value)
StartDomainMaintenanceRequest & WithNodeId(const char *value)
void SetDomainName(Aws::String &&value)
StartDomainMaintenanceRequest & WithNodeId(Aws::String &&value)
bool ActionHasBeenSet() const
void SetDomainName(const Aws::String &value)
void SetAction(const MaintenanceType &value)
const Aws::String & GetNodeId() const
void SetNodeId(Aws::String &&value)
bool NodeIdHasBeenSet() const
bool DomainNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String