7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/DataSourceStatus.h>
10#include <aws/opensearch/model/DataSourceType.h>
21namespace OpenSearchService {
42 template <
typename DataSourceTypeT = DataSourceType>
44 m_dataSourceTypeHasBeenSet =
true;
45 m_dataSourceType = std::forward<DataSourceTypeT>(value);
47 template <
typename DataSourceTypeT = DataSourceType>
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 DescriptionT = Aws::String>
80 m_descriptionHasBeenSet =
true;
81 m_description = std::forward<DescriptionT>(value);
83 template <
typename DescriptionT = Aws::String>
97 m_statusHasBeenSet =
true;
113 bool m_dataSourceTypeHasBeenSet =
false;
114 bool m_nameHasBeenSet =
false;
115 bool m_descriptionHasBeenSet =
false;
116 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