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/core/utils/memory/stl/AWSMap.h>
15namespace OpenSearchService
48 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
63 inline void SetTargetVersion(
const char* value) { m_targetVersionHasBeenSet =
true; m_targetVersion.assign(value); }
76 inline void SetPerformCheckOnly(
bool value) { m_performCheckOnlyHasBeenSet =
true; m_performCheckOnly = value; }
104 bool m_domainNameHasBeenSet =
false;
107 bool m_targetVersionHasBeenSet =
false;
109 bool m_performCheckOnly;
110 bool m_performCheckOnlyHasBeenSet =
false;
113 bool m_advancedOptionsHasBeenSet =
false;
const Aws::String & GetTargetVersion() const
bool AdvancedOptionsHasBeenSet() const
UpgradeDomainRequest & WithTargetVersion(const char *value)
UpgradeDomainRequest & AddAdvancedOptions(Aws::String &&key, const char *value)
const Aws::String & GetDomainName() const
bool PerformCheckOnlyHasBeenSet() const
UpgradeDomainRequest & AddAdvancedOptions(Aws::String &&key, const Aws::String &value)
UpgradeDomainRequest & WithDomainName(const char *value)
void SetTargetVersion(const char *value)
void SetDomainName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpgradeDomainRequest & WithAdvancedOptions(Aws::Map< Aws::String, Aws::String > &&value)
void SetPerformCheckOnly(bool value)
void SetDomainName(const char *value)
UpgradeDomainRequest & AddAdvancedOptions(const char *key, Aws::String &&value)
void SetDomainName(Aws::String &&value)
bool GetPerformCheckOnly() const
void SetTargetVersion(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API UpgradeDomainRequest()
bool TargetVersionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAdvancedOptions() const
UpgradeDomainRequest & WithPerformCheckOnly(bool value)
void SetAdvancedOptions(Aws::Map< Aws::String, Aws::String > &&value)
UpgradeDomainRequest & AddAdvancedOptions(const Aws::String &key, Aws::String &&value)
UpgradeDomainRequest & AddAdvancedOptions(const Aws::String &key, const Aws::String &value)
UpgradeDomainRequest & WithTargetVersion(Aws::String &&value)
void SetTargetVersion(Aws::String &&value)
UpgradeDomainRequest & WithDomainName(Aws::String &&value)
UpgradeDomainRequest & WithDomainName(const Aws::String &value)
UpgradeDomainRequest & WithTargetVersion(const Aws::String &value)
UpgradeDomainRequest & AddAdvancedOptions(Aws::String &&key, Aws::String &&value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
void SetAdvancedOptions(const Aws::Map< Aws::String, Aws::String > &value)
UpgradeDomainRequest & AddAdvancedOptions(const char *key, const char *value)
UpgradeDomainRequest & WithAdvancedOptions(const Aws::Map< Aws::String, Aws::String > &value)
bool DomainNameHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String