7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/DataSourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/DataSourceStatus.h>
23namespace OpenSearchService
48 template<
typename DataSourceTypeT = DataSourceType>
49 void SetDataSourceType(DataSourceTypeT&& value) { m_dataSourceTypeHasBeenSet =
true; m_dataSourceType = std::forward<DataSourceTypeT>(value); }
50 template<
typename DataSourceTypeT = DataSourceType>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
72 template<
typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
74 template<
typename DescriptionT = Aws::String>
90 bool m_dataSourceTypeHasBeenSet =
false;
93 bool m_nameHasBeenSet =
false;
96 bool m_descriptionHasBeenSet =
false;
99 bool m_statusHasBeenSet =
false;
DataSourceDetails & WithName(NameT &&value)
DataSourceStatus GetStatus() const
bool DescriptionHasBeenSet() const
DataSourceDetails & WithDescription(DescriptionT &&value)
void SetDataSourceType(DataSourceTypeT &&value)
AWS_OPENSEARCHSERVICE_API DataSourceDetails()=default
bool DataSourceTypeHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
const DataSourceType & GetDataSourceType() const
DataSourceDetails & WithDataSourceType(DataSourceTypeT &&value)
const Aws::String & GetName() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceDetails & WithStatus(DataSourceStatus value)
AWS_OPENSEARCHSERVICE_API DataSourceDetails(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
bool StatusHasBeenSet() const
AWS_OPENSEARCHSERVICE_API DataSourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
void SetStatus(DataSourceStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue