7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
19namespace OpenSearchService {
39 template <
typename DataSourceArnT = Aws::String>
41 m_dataSourceArnHasBeenSet =
true;
42 m_dataSourceArn = std::forward<DataSourceArnT>(value);
44 template <
typename DataSourceArnT = Aws::String>
57 template <
typename DataSourceDescriptionT = Aws::String>
59 m_dataSourceDescriptionHasBeenSet =
true;
60 m_dataSourceDescription = std::forward<DataSourceDescriptionT>(value);
62 template <
typename DataSourceDescriptionT = Aws::String>
76 template <
typename IamRoleForDataSourceArnT = Aws::String>
78 m_iamRoleForDataSourceArnHasBeenSet =
true;
79 m_iamRoleForDataSourceArn = std::forward<IamRoleForDataSourceArnT>(value);
81 template <
typename IamRoleForDataSourceArnT = Aws::String>
93 bool m_dataSourceArnHasBeenSet =
false;
94 bool m_dataSourceDescriptionHasBeenSet =
false;
95 bool m_iamRoleForDataSourceArnHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API DataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API DataSource()=default
const Aws::String & GetDataSourceDescription() const
AWS_OPENSEARCHSERVICE_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithDataSourceArn(DataSourceArnT &&value)
bool DataSourceArnHasBeenSet() const
void SetIamRoleForDataSourceArn(IamRoleForDataSourceArnT &&value)
DataSource & WithIamRoleForDataSourceArn(IamRoleForDataSourceArnT &&value)
const Aws::String & GetIamRoleForDataSourceArn() const
DataSource & WithDataSourceDescription(DataSourceDescriptionT &&value)
void SetDataSourceDescription(DataSourceDescriptionT &&value)
const Aws::String & GetDataSourceArn() const
bool DataSourceDescriptionHasBeenSet() const
bool IamRoleForDataSourceArnHasBeenSet() const
void SetDataSourceArn(DataSourceArnT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue