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>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace OpenSearchService {
42 template <
typename DataSourceTypeT = DataSourceType>
44 m_dataSourceTypeHasBeenSet =
true;
45 m_dataSourceType = std::forward<DataSourceTypeT>(value);
47 template <
typename DataSourceTypeT = DataSourceType>
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
76 template <
typename DescriptionT = Aws::String>
78 m_descriptionHasBeenSet =
true;
79 m_description = std::forward<DescriptionT>(value);
81 template <
typename DescriptionT = Aws::String>
94 m_statusHasBeenSet =
true;
106 template <
typename RequestIdT = Aws::String>
108 m_requestIdHasBeenSet =
true;
109 m_requestId = std::forward<RequestIdT>(value);
111 template <
typename RequestIdT = Aws::String>
127 bool m_dataSourceTypeHasBeenSet =
false;
128 bool m_nameHasBeenSet =
false;
129 bool m_descriptionHasBeenSet =
false;
130 bool m_statusHasBeenSet =
false;
131 bool m_requestIdHasBeenSet =
false;
GetDataSourceResult & WithRequestId(RequestIdT &&value)
void SetName(NameT &&value)
AWS_OPENSEARCHSERVICE_API GetDataSourceResult()=default
DataSourceStatus GetStatus() const
const Aws::String & GetName() const
AWS_OPENSEARCHSERVICE_API GetDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDescription() const
GetDataSourceResult & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
AWS_OPENSEARCHSERVICE_API GetDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DataSourceType & GetDataSourceType() const
void SetStatus(DataSourceStatus value)
void SetRequestId(RequestIdT &&value)
void SetDataSourceType(DataSourceTypeT &&value)
GetDataSourceResult & WithDescription(DescriptionT &&value)
GetDataSourceResult & WithStatus(DataSourceStatus value)
const Aws::String & GetRequestId() const
GetDataSourceResult & WithDataSourceType(DataSourceTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue