7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent-runtime/model/ConfirmationState.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/bedrock-agent-runtime/model/ResponseState.h>
12#include <aws/bedrock-agent-runtime/model/ContentBody.h>
25namespace BedrockAgentRuntime
57 inline void SetActionGroup(
const char* value) { m_actionGroupHasBeenSet =
true; m_actionGroup.assign(value); }
71 inline void SetApiPath(
const char* value) { m_apiPathHasBeenSet =
true; m_apiPath.assign(value); }
98 inline void SetHttpMethod(
const char* value) { m_httpMethodHasBeenSet =
true; m_httpMethod.assign(value); }
111 inline void SetHttpStatusCode(
int value) { m_httpStatusCodeHasBeenSet =
true; m_httpStatusCode = value; }
152 bool m_actionGroupHasBeenSet =
false;
155 bool m_apiPathHasBeenSet =
false;
158 bool m_confirmationStateHasBeenSet =
false;
161 bool m_httpMethodHasBeenSet =
false;
163 int m_httpStatusCode;
164 bool m_httpStatusCodeHasBeenSet =
false;
167 bool m_responseBodyHasBeenSet =
false;
170 bool m_responseStateHasBeenSet =
false;
void SetConfirmationState(const ConfirmationState &value)
ApiResult & AddResponseBody(const Aws::String &key, const ContentBody &value)
bool ResponseStateHasBeenSet() const
ApiResult & AddResponseBody(const char *key, const ContentBody &value)
void SetResponseBody(Aws::Map< Aws::String, ContentBody > &&value)
AWS_BEDROCKAGENTRUNTIME_API ApiResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResponseState(ResponseState &&value)
ApiResult & WithHttpMethod(const Aws::String &value)
ApiResult & WithConfirmationState(ConfirmationState &&value)
bool ApiPathHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API ApiResult()
int GetHttpStatusCode() const
ApiResult & WithActionGroup(const char *value)
ApiResult & WithResponseState(const ResponseState &value)
void SetApiPath(Aws::String &&value)
ApiResult & WithResponseBody(const Aws::Map< Aws::String, ContentBody > &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ApiResult & WithHttpStatusCode(int value)
void SetResponseState(const ResponseState &value)
const Aws::String & GetHttpMethod() const
void SetActionGroup(const char *value)
ApiResult & WithResponseState(ResponseState &&value)
const Aws::String & GetApiPath() const
ApiResult & AddResponseBody(const Aws::String &key, ContentBody &&value)
void SetApiPath(const char *value)
void SetApiPath(const Aws::String &value)
ApiResult & AddResponseBody(const char *key, ContentBody &&value)
ApiResult & WithConfirmationState(const ConfirmationState &value)
AWS_BEDROCKAGENTRUNTIME_API ApiResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetActionGroup() const
ApiResult & AddResponseBody(Aws::String &&key, const ContentBody &value)
bool ActionGroupHasBeenSet() const
const ResponseState & GetResponseState() const
ApiResult & WithApiPath(Aws::String &&value)
void SetHttpMethod(const Aws::String &value)
void SetHttpStatusCode(int value)
const ConfirmationState & GetConfirmationState() const
void SetActionGroup(const Aws::String &value)
void SetResponseBody(const Aws::Map< Aws::String, ContentBody > &value)
bool HttpStatusCodeHasBeenSet() const
ApiResult & WithHttpMethod(Aws::String &&value)
ApiResult & WithActionGroup(const Aws::String &value)
bool ResponseBodyHasBeenSet() const
const Aws::Map< Aws::String, ContentBody > & GetResponseBody() const
ApiResult & WithApiPath(const char *value)
ApiResult & WithActionGroup(Aws::String &&value)
void SetConfirmationState(ConfirmationState &&value)
void SetHttpMethod(Aws::String &&value)
bool HttpMethodHasBeenSet() const
ApiResult & WithHttpMethod(const char *value)
ApiResult & AddResponseBody(Aws::String &&key, ContentBody &&value)
void SetHttpMethod(const char *value)
bool ConfirmationStateHasBeenSet() const
ApiResult & WithApiPath(const Aws::String &value)
void SetActionGroup(Aws::String &&value)
ApiResult & WithResponseBody(Aws::Map< Aws::String, ContentBody > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue