7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
10#include <aws/opensearchserverless/model/IngestionStreamStatus.h>
21namespace OpenSearchServerless {
42 template <
typename IngestionStreamIdT = Aws::String>
44 m_ingestionStreamIdHasBeenSet =
true;
45 m_ingestionStreamId = std::forward<IngestionStreamIdT>(value);
47 template <
typename IngestionStreamIdT = Aws::String>
60 template <
typename ArnT = Aws::String>
62 m_arnHasBeenSet =
true;
63 m_arn = std::forward<ArnT>(value);
65 template <
typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
78 template <
typename IngestionStreamNameT = Aws::String>
80 m_ingestionStreamNameHasBeenSet =
true;
81 m_ingestionStreamName = std::forward<IngestionStreamNameT>(value);
83 template <
typename IngestionStreamNameT = Aws::String>
96 template <
typename IndexNameT = Aws::String>
98 m_indexNameHasBeenSet =
true;
99 m_indexName = std::forward<IndexNameT>(value);
101 template <
typename IndexNameT = Aws::String>
115 m_statusHasBeenSet =
true;
130 template <
typename CreatedAtT = Aws::Utils::DateTime>
132 m_createdAtHasBeenSet =
true;
133 m_createdAt = std::forward<CreatedAtT>(value);
135 template <
typename CreatedAtT = Aws::Utils::DateTime>
148 template <
typename UpdatedAtT = Aws::Utils::DateTime>
150 m_updatedAtHasBeenSet =
true;
151 m_updatedAt = std::forward<UpdatedAtT>(value);
153 template <
typename UpdatedAtT = Aws::Utils::DateTime>
173 bool m_ingestionStreamIdHasBeenSet =
false;
174 bool m_arnHasBeenSet =
false;
175 bool m_ingestionStreamNameHasBeenSet =
false;
176 bool m_indexNameHasBeenSet =
false;
177 bool m_statusHasBeenSet =
false;
178 bool m_createdAtHasBeenSet =
false;
179 bool m_updatedAtHasBeenSet =
false;
bool IngestionStreamNameHasBeenSet() const
IngestionStreamSummary & WithArn(ArnT &&value)
bool StatusHasBeenSet() const
void SetIngestionStreamId(IngestionStreamIdT &&value)
bool IndexNameHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
IngestionStreamSummary & WithStatus(IngestionStreamStatus value)
const Aws::String & GetArn() const
bool UpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
IngestionStreamSummary & WithCreatedAt(CreatedAtT &&value)
bool IngestionStreamIdHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API IngestionStreamSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIndexName() const
const Aws::String & GetIngestionStreamName() const
AWS_OPENSEARCHSERVERLESS_API IngestionStreamSummary(Aws::Utils::Json::JsonView jsonValue)
IngestionStreamSummary & WithUpdatedAt(UpdatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
AWS_OPENSEARCHSERVERLESS_API IngestionStreamSummary()=default
IngestionStreamSummary & WithIngestionStreamName(IngestionStreamNameT &&value)
void SetIngestionStreamName(IngestionStreamNameT &&value)
IngestionStreamSummary & WithIndexName(IndexNameT &&value)
void SetStatus(IngestionStreamStatus value)
void SetIndexName(IndexNameT &&value)
IngestionStreamStatus GetStatus() const
void SetArn(ArnT &&value)
bool CreatedAtHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(CreatedAtT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetIngestionStreamId() const
IngestionStreamSummary & WithIngestionStreamId(IngestionStreamIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue