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/IngestionJobSource.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 IngestionJobNameT = Aws::String>
64 m_ingestionJobNameHasBeenSet =
true;
65 m_ingestionJobName = std::forward<IngestionJobNameT>(value);
67 template <
typename IngestionJobNameT = 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>
117 template <
typename SourceT = IngestionJobSource>
119 m_sourceHasBeenSet =
true;
120 m_source = std::forward<SourceT>(value);
122 template <
typename SourceT = IngestionJobSource>
136 template <
typename TagsT = Aws::Vector<Tag>>
138 m_tagsHasBeenSet =
true;
139 m_tags = std::forward<TagsT>(value);
141 template <
typename TagsT = Aws::Vector<Tag>>
143 SetTags(std::forward<TagsT>(value));
146 template <
typename TagsT = Tag>
148 m_tagsHasBeenSet =
true;
149 m_tags.emplace_back(std::forward<TagsT>(value));
160 template <
typename ClientTokenT = Aws::String>
162 m_clientTokenHasBeenSet =
true;
163 m_clientToken = std::forward<ClientTokenT>(value);
165 template <
typename ClientTokenT = Aws::String>
185 bool m_collectionIdHasBeenSet =
false;
186 bool m_ingestionJobNameHasBeenSet =
false;
187 bool m_indexNameHasBeenSet =
false;
188 bool m_failureIndexNameHasBeenSet =
false;
189 bool m_sourceHasBeenSet =
false;
190 bool m_tagsHasBeenSet =
false;
191 bool m_clientTokenHasBeenSet =
true;
void SetClientToken(ClientTokenT &&value)
void SetTags(TagsT &&value)
bool SourceHasBeenSet() const
const Aws::String & GetIndexName() const
const Aws::Vector< Tag > & GetTags() const
AWS_OPENSEARCHSERVERLESS_API CreateIngestionJobRequest()=default
const Aws::String & GetIngestionJobName() const
bool IndexNameHasBeenSet() const
CreateIngestionJobRequest & WithCollectionId(CollectionIdT &&value)
void SetSource(SourceT &&value)
bool TagsHasBeenSet() const
bool IngestionJobNameHasBeenSet() const
CreateIngestionJobRequest & WithTags(TagsT &&value)
CreateIngestionJobRequest & WithSource(SourceT &&value)
bool ClientTokenHasBeenSet() const
CreateIngestionJobRequest & WithIndexName(IndexNameT &&value)
void SetIndexName(IndexNameT &&value)
void SetIngestionJobName(IngestionJobNameT &&value)
const IngestionJobSource & GetSource() const
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool CollectionIdHasBeenSet() const
void SetCollectionId(CollectionIdT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
bool FailureIndexNameHasBeenSet() const
CreateIngestionJobRequest & AddTags(TagsT &&value)
const Aws::String & GetFailureIndexName() const
void SetFailureIndexName(FailureIndexNameT &&value)
const Aws::String & GetCollectionId() const
CreateIngestionJobRequest & WithFailureIndexName(FailureIndexNameT &&value)
CreateIngestionJobRequest & WithClientToken(ClientTokenT &&value)
CreateIngestionJobRequest & WithIngestionJobName(IngestionJobNameT &&value)
const Aws::String & GetClientToken() const
virtual const char * GetServiceRequestName() 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