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/DataSourceType.h>
15namespace OpenSearchService
48 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
62 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
88 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
96 bool m_domainNameHasBeenSet =
false;
99 bool m_nameHasBeenSet =
false;
102 bool m_dataSourceTypeHasBeenSet =
false;
105 bool m_descriptionHasBeenSet =
false;
void SetDescription(Aws::String &&value)
void SetDataSourceType(const DataSourceType &value)
const Aws::String & GetDomainName() const
AddDataSourceRequest & WithDataSourceType(const DataSourceType &value)
AWS_OPENSEARCHSERVICE_API AddDataSourceRequest()
void SetDataSourceType(DataSourceType &&value)
void SetName(const char *value)
bool DomainNameHasBeenSet() const
const DataSourceType & GetDataSourceType() const
void SetName(const Aws::String &value)
bool NameHasBeenSet() const
void SetDescription(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AddDataSourceRequest & WithDomainName(const char *value)
void SetDescription(const char *value)
void SetDomainName(const char *value)
const Aws::String & GetDescription() const
AddDataSourceRequest & WithName(const char *value)
AddDataSourceRequest & WithDomainName(Aws::String &&value)
AddDataSourceRequest & WithName(const Aws::String &value)
AddDataSourceRequest & WithDataSourceType(DataSourceType &&value)
AddDataSourceRequest & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
AddDataSourceRequest & WithDomainName(const Aws::String &value)
const Aws::String & GetName() const
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
AddDataSourceRequest & WithDescription(Aws::String &&value)
bool DataSourceTypeHasBeenSet() const
void SetDomainName(Aws::String &&value)
AddDataSourceRequest & WithDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetDomainName(const Aws::String &value)
AddDataSourceRequest & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String