7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/Agent.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace BedrockAgent {
35 template <
typename AgentT = Agent>
37 m_agentHasBeenSet =
true;
38 m_agent = std::forward<AgentT>(value);
40 template <
typename AgentT = Agent>
42 SetAgent(std::forward<AgentT>(value));
50 template <
typename RequestIdT = Aws::String>
52 m_requestIdHasBeenSet =
true;
53 m_requestId = std::forward<RequestIdT>(value);
55 template <
typename RequestIdT = Aws::String>
65 bool m_agentHasBeenSet =
false;
66 bool m_requestIdHasBeenSet =
false;
CreateAgentResult & WithAgent(AgentT &&value)
AWS_BEDROCKAGENT_API CreateAgentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKAGENT_API CreateAgentResult()=default
void SetAgent(AgentT &&value)
AWS_BEDROCKAGENT_API CreateAgentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Agent & GetAgent() const
void SetRequestId(RequestIdT &&value)
CreateAgentResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue