7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
11#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
12#include <aws/opensearchserverless/model/IngestionStreamSource.h>
13#include <aws/opensearchserverless/model/Tag.h>
18namespace OpenSearchServerless {
43 template <
typename CollectionIdT = Aws::String>
45 m_collectionIdHasBeenSet =
true;
46 m_collectionId = std::forward<CollectionIdT>(value);
48 template <
typename CollectionIdT = Aws::String>
62 template <
typename IngestionStreamNameT = Aws::String>
64 m_ingestionStreamNameHasBeenSet =
true;
65 m_ingestionStreamName = std::forward<IngestionStreamNameT>(value);
67 template <
typename IngestionStreamNameT = Aws::String>
80 template <
typename IndexNameT = Aws::String>
82 m_indexNameHasBeenSet =
true;
83 m_indexName = std::forward<IndexNameT>(value);
85 template <
typename IndexNameT = Aws::String>
99 template <
typename FailureIndexNameT = Aws::String>
101 m_failureIndexNameHasBeenSet =
true;
102 m_failureIndexName = std::forward<FailureIndexNameT>(value);
104 template <
typename FailureIndexNameT = Aws::String>
118 template <
typename SourceT = IngestionStreamSource>
120 m_sourceHasBeenSet =
true;
121 m_source = std::forward<SourceT>(value);
123 template <
typename SourceT = IngestionStreamSource>
138 template <
typename RoleArnT = Aws::String>
140 m_roleArnHasBeenSet =
true;
141 m_roleArn = std::forward<RoleArnT>(value);
143 template <
typename RoleArnT = Aws::String>
157 template <
typename TagsT = Aws::Vector<Tag>>
159 m_tagsHasBeenSet =
true;
160 m_tags = std::forward<TagsT>(value);
162 template <
typename TagsT = Aws::Vector<Tag>>
164 SetTags(std::forward<TagsT>(value));
167 template <
typename TagsT = Tag>
169 m_tagsHasBeenSet =
true;
170 m_tags.emplace_back(std::forward<TagsT>(value));
181 template <
typename ClientTokenT = Aws::String>
183 m_clientTokenHasBeenSet =
true;
184 m_clientToken = std::forward<ClientTokenT>(value);
186 template <
typename ClientTokenT = Aws::String>
208 bool m_collectionIdHasBeenSet =
false;
209 bool m_ingestionStreamNameHasBeenSet =
false;
210 bool m_indexNameHasBeenSet =
false;
211 bool m_failureIndexNameHasBeenSet =
false;
212 bool m_sourceHasBeenSet =
false;
213 bool m_roleArnHasBeenSet =
false;
214 bool m_tagsHasBeenSet =
false;
215 bool m_clientTokenHasBeenSet =
true;
void SetFailureIndexName(FailureIndexNameT &&value)
const IngestionStreamSource & GetSource() const
AWS_OPENSEARCHSERVERLESS_API CreateIngestionStreamRequest()=default
bool ClientTokenHasBeenSet() const
const Aws::String & GetIngestionStreamName() const
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetFailureIndexName() const
const Aws::String & GetIndexName() const
void SetIndexName(IndexNameT &&value)
CreateIngestionStreamRequest & WithRoleArn(RoleArnT &&value)
CreateIngestionStreamRequest & WithFailureIndexName(FailureIndexNameT &&value)
CreateIngestionStreamRequest & WithIndexName(IndexNameT &&value)
CreateIngestionStreamRequest & WithSource(SourceT &&value)
bool IndexNameHasBeenSet() const
bool SourceHasBeenSet() const
void SetTags(TagsT &&value)
bool IngestionStreamNameHasBeenSet() const
const Aws::String & GetCollectionId() const
bool TagsHasBeenSet() const
bool FailureIndexNameHasBeenSet() const
CreateIngestionStreamRequest & WithCollectionId(CollectionIdT &&value)
void SetSource(SourceT &&value)
CreateIngestionStreamRequest & WithTags(TagsT &&value)
bool RoleArnHasBeenSet() const
const Aws::String & GetClientToken() const
void SetRoleArn(RoleArnT &&value)
void SetCollectionId(CollectionIdT &&value)
virtual const char * GetServiceRequestName() const override
CreateIngestionStreamRequest & WithIngestionStreamName(IngestionStreamNameT &&value)
void SetClientToken(ClientTokenT &&value)
void SetIngestionStreamName(IngestionStreamNameT &&value)
const Aws::String & GetRoleArn() const
CreateIngestionStreamRequest & AddTags(TagsT &&value)
CreateIngestionStreamRequest & WithClientToken(ClientTokenT &&value)
bool CollectionIdHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector