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
46 template<
typename DomainNameT = Aws::String>
47 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet =
true; m_domainName = std::forward<DomainNameT>(value); }
48 template<
typename DomainNameT = Aws::String>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
70 template<
typename DataSourceTypeT = DataSourceType>
71 void SetDataSourceType(DataSourceTypeT&& value) { m_dataSourceTypeHasBeenSet =
true; m_dataSourceType = std::forward<DataSourceTypeT>(value); }
72 template<
typename DataSourceTypeT = DataSourceType>
82 template<
typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
84 template<
typename DescriptionT = Aws::String>
90 bool m_domainNameHasBeenSet =
false;
93 bool m_nameHasBeenSet =
false;
96 bool m_dataSourceTypeHasBeenSet =
false;
99 bool m_descriptionHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API AddDataSourceRequest()=default
const Aws::String & GetDomainName() const
AddDataSourceRequest & WithDomainName(DomainNameT &&value)
bool DomainNameHasBeenSet() const
const DataSourceType & GetDataSourceType() const
bool NameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
void SetName(NameT &&value)
AddDataSourceRequest & WithDescription(DescriptionT &&value)
AddDataSourceRequest & WithDataSourceType(DataSourceTypeT &&value)
void SetDescription(DescriptionT &&value)
void SetDataSourceType(DataSourceTypeT &&value)
const Aws::String & GetName() const
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
bool DataSourceTypeHasBeenSet() const
AddDataSourceRequest & WithName(NameT &&value)
void SetDomainName(DomainNameT &&value)
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String