7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/OpenSearchResourceStatus.h>
20namespace CloudWatchLogs {
49 template <
typename DataSourceNameT = Aws::String>
51 m_dataSourceNameHasBeenSet =
true;
52 m_dataSourceName = std::forward<DataSourceNameT>(value);
54 template <
typename DataSourceNameT = Aws::String>
68 template <
typename StatusT = OpenSearchResourceStatus>
70 m_statusHasBeenSet =
true;
71 m_status = std::forward<StatusT>(value);
73 template <
typename StatusT = OpenSearchResourceStatus>
83 bool m_dataSourceNameHasBeenSet =
false;
84 bool m_statusHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API OpenSearchDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API OpenSearchDataSource()=default
const OpenSearchResourceStatus & GetStatus() const
void SetDataSourceName(DataSourceNameT &&value)
const Aws::String & GetDataSourceName() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool DataSourceNameHasBeenSet() const
void SetStatus(StatusT &&value)
bool StatusHasBeenSet() const
OpenSearchDataSource & WithDataSourceName(DataSourceNameT &&value)
OpenSearchDataSource & WithStatus(StatusT &&value)
AWS_CLOUDWATCHLOGS_API OpenSearchDataSource(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue