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>
11#include <aws/opensearch/model/MaintenanceStatus.h>
20namespace OpenSearchService
55 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
92 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
107 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
115 bool m_domainNameHasBeenSet =
false;
118 bool m_actionHasBeenSet =
false;
121 bool m_statusHasBeenSet =
false;
124 bool m_maxResultsHasBeenSet =
false;
127 bool m_nextTokenHasBeenSet =
false;
bool DomainNameHasBeenSet() const
ListDomainMaintenancesRequest & WithAction(MaintenanceType &&value)
AWS_OPENSEARCHSERVICE_API ListDomainMaintenancesRequest()
ListDomainMaintenancesRequest & WithStatus(const MaintenanceStatus &value)
bool MaxResultsHasBeenSet() const
const MaintenanceType & GetAction() const
ListDomainMaintenancesRequest & WithNextToken(Aws::String &&value)
ListDomainMaintenancesRequest & WithDomainName(Aws::String &&value)
void SetDomainName(Aws::String &&value)
const Aws::String & GetNextToken() const
void SetAction(const MaintenanceType &value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
void SetNextToken(const char *value)
ListDomainMaintenancesRequest & WithDomainName(const Aws::String &value)
void SetMaxResults(int value)
void SetDomainName(const char *value)
ListDomainMaintenancesRequest & WithStatus(MaintenanceStatus &&value)
ListDomainMaintenancesRequest & WithMaxResults(int value)
void SetAction(MaintenanceType &&value)
bool ActionHasBeenSet() const
const MaintenanceStatus & GetStatus() const
bool StatusHasBeenSet() const
void SetDomainName(const Aws::String &value)
void SetStatus(const MaintenanceStatus &value)
void SetStatus(MaintenanceStatus &&value)
const Aws::String & GetDomainName() const
ListDomainMaintenancesRequest & WithNextToken(const char *value)
int GetMaxResults() const
virtual const char * GetServiceRequestName() const override
void SetNextToken(const Aws::String &value)
bool NextTokenHasBeenSet() const
ListDomainMaintenancesRequest & WithDomainName(const char *value)
ListDomainMaintenancesRequest & WithNextToken(const Aws::String &value)
ListDomainMaintenancesRequest & WithAction(const MaintenanceType &value)
void SetNextToken(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String