7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/DataSourceType.h>
15namespace OpenSearchService {
42 template <
typename DomainNameT = Aws::String>
44 m_domainNameHasBeenSet =
true;
45 m_domainName = std::forward<DomainNameT>(value);
47 template <
typename DomainNameT = Aws::String>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
78 template <
typename DataSourceTypeT = DataSourceType>
80 m_dataSourceTypeHasBeenSet =
true;
81 m_dataSourceType = std::forward<DataSourceTypeT>(value);
83 template <
typename DataSourceTypeT = DataSourceType>
96 template <
typename DescriptionT = Aws::String>
98 m_descriptionHasBeenSet =
true;
99 m_description = std::forward<DescriptionT>(value);
101 template <
typename DescriptionT = Aws::String>
115 bool m_domainNameHasBeenSet =
false;
116 bool m_nameHasBeenSet =
false;
117 bool m_dataSourceTypeHasBeenSet =
false;
118 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