7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/DataSourceAttachmentStatus.h>
20namespace OpenSearchService {
42 template <
typename AttachmentIdT = Aws::String>
44 m_attachmentIdHasBeenSet =
true;
45 m_attachmentId = std::forward<AttachmentIdT>(value);
47 template <
typename AttachmentIdT = Aws::String>
58 template <
typename DataSourceArnT = Aws::String>
60 m_dataSourceArnHasBeenSet =
true;
61 m_dataSourceArn = std::forward<DataSourceArnT>(value);
63 template <
typename DataSourceArnT = Aws::String>
78 m_statusHasBeenSet =
true;
92 bool m_attachmentIdHasBeenSet =
false;
93 bool m_dataSourceArnHasBeenSet =
false;
94 bool m_statusHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API DataSourceAttachmentSummary()=default
bool DataSourceArnHasBeenSet() const
void SetDataSourceArn(DataSourceArnT &&value)
const Aws::String & GetAttachmentId() const
DataSourceAttachmentStatus GetStatus() const
void SetStatus(DataSourceAttachmentStatus value)
AWS_OPENSEARCHSERVICE_API DataSourceAttachmentSummary(Aws::Utils::Json::JsonView jsonValue)
DataSourceAttachmentSummary & WithAttachmentId(AttachmentIdT &&value)
bool StatusHasBeenSet() const
AWS_OPENSEARCHSERVICE_API DataSourceAttachmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool AttachmentIdHasBeenSet() const
DataSourceAttachmentSummary & WithStatus(DataSourceAttachmentStatus value)
DataSourceAttachmentSummary & WithDataSourceArn(DataSourceArnT &&value)
void SetAttachmentId(AttachmentIdT &&value)
const Aws::String & GetDataSourceArn() const
DataSourceAttachmentStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue