7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/DataSourceStatus.h>
11#include <aws/opensearch/model/DataSourceType.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace OpenSearchService {
43 template <
typename DataSourceTypeT = DataSourceType>
45 m_dataSourceTypeHasBeenSet =
true;
46 m_dataSourceType = std::forward<DataSourceTypeT>(value);
48 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));
77 template <
typename DescriptionT = Aws::String>
79 m_descriptionHasBeenSet =
true;
80 m_description = std::forward<DescriptionT>(value);
82 template <
typename DescriptionT = Aws::String>
95 m_statusHasBeenSet =
true;
107 template <
typename RequestIdT = Aws::String>
109 m_requestIdHasBeenSet =
true;
110 m_requestId = std::forward<RequestIdT>(value);
112 template <
typename RequestIdT = Aws::String>
131 bool m_dataSourceTypeHasBeenSet =
false;
132 bool m_nameHasBeenSet =
false;
133 bool m_descriptionHasBeenSet =
false;
134 bool m_statusHasBeenSet =
false;
135 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
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetDataSourceResult & WithDataSourceType(DataSourceTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue