7#include <aws/bedrock-runtime/BedrockRuntimeRequest.h>
8#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
9#include <aws/bedrock-runtime/model/AsyncInvokeOutputDataConfig.h>
10#include <aws/bedrock-runtime/model/Tag.h>
11#include <aws/core/utils/Document.h>
12#include <aws/core/utils/UUID.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19namespace BedrockRuntime {
42 template <
typename ClientRequestTokenT = Aws::String>
44 m_clientRequestTokenHasBeenSet =
true;
45 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
47 template <
typename ClientRequestTokenT = Aws::String>
60 template <
typename ModelIdT = Aws::String>
62 m_modelIdHasBeenSet =
true;
63 m_modelId = std::forward<ModelIdT>(value);
65 template <
typename ModelIdT = Aws::String>
78 template <
typename ModelInputT = Aws::Utils::Document>
80 m_modelInputHasBeenSet =
true;
81 m_modelInput = std::forward<ModelInputT>(value);
83 template <
typename ModelInputT = Aws::Utils::Document>
96 template <
typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
98 m_outputDataConfigHasBeenSet =
true;
99 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
101 template <
typename OutputDataConfigT = AsyncInvokeOutputDataConfig>
114 template <
typename TagsT = Aws::Vector<Tag>>
116 m_tagsHasBeenSet =
true;
117 m_tags = std::forward<TagsT>(value);
119 template <
typename TagsT = Aws::Vector<Tag>>
121 SetTags(std::forward<TagsT>(value));
124 template <
typename TagsT = Tag>
126 m_tagsHasBeenSet =
true;
127 m_tags.emplace_back(std::forward<TagsT>(value));
133 bool m_clientRequestTokenHasBeenSet =
true;
136 bool m_modelIdHasBeenSet =
false;
139 bool m_modelInputHasBeenSet =
false;
141 AsyncInvokeOutputDataConfig m_outputDataConfig;
142 bool m_outputDataConfigHasBeenSet =
false;
145 bool m_tagsHasBeenSet =
false;
bool ModelInputHasBeenSet() const
bool ModelIdHasBeenSet() const
StartAsyncInvokeRequest & WithOutputDataConfig(OutputDataConfigT &&value)
StartAsyncInvokeRequest & WithModelId(ModelIdT &&value)
const AsyncInvokeOutputDataConfig & GetOutputDataConfig() const
void SetClientRequestToken(ClientRequestTokenT &&value)
const Aws::String & GetClientRequestToken() const
Aws::Utils::DocumentView GetModelInput() const
StartAsyncInvokeRequest & WithTags(TagsT &&value)
StartAsyncInvokeRequest & AddTags(TagsT &&value)
StartAsyncInvokeRequest & WithClientRequestToken(ClientRequestTokenT &&value)
bool TagsHasBeenSet() const
bool ClientRequestTokenHasBeenSet() const
StartAsyncInvokeRequest & WithModelInput(ModelInputT &&value)
void SetModelId(ModelIdT &&value)
void SetTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_BEDROCKRUNTIME_API Aws::String SerializePayload() const override
const Aws::String & GetModelId() const
virtual const char * GetServiceRequestName() const override
bool OutputDataConfigHasBeenSet() const
void SetOutputDataConfig(OutputDataConfigT &&value)
AWS_BEDROCKRUNTIME_API StartAsyncInvokeRequest()=default
void SetModelInput(ModelInputT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector