AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PrepareAgentResult.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/AgentStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgent
26{
27namespace Model
28{
30 {
31 public:
32 AWS_BEDROCKAGENT_API PrepareAgentResult() = default;
35
36
38
42 inline const Aws::String& GetAgentId() const { return m_agentId; }
43 template<typename AgentIdT = Aws::String>
44 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
45 template<typename AgentIdT = Aws::String>
46 PrepareAgentResult& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
48
50
54 inline AgentStatus GetAgentStatus() const { return m_agentStatus; }
55 inline void SetAgentStatus(AgentStatus value) { m_agentStatusHasBeenSet = true; m_agentStatus = value; }
56 inline PrepareAgentResult& WithAgentStatus(AgentStatus value) { SetAgentStatus(value); return *this;}
58
60
63 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
64 template<typename AgentVersionT = Aws::String>
65 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
66 template<typename AgentVersionT = Aws::String>
67 PrepareAgentResult& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetPreparedAt() const { return m_preparedAt; }
76 template<typename PreparedAtT = Aws::Utils::DateTime>
77 void SetPreparedAt(PreparedAtT&& value) { m_preparedAtHasBeenSet = true; m_preparedAt = std::forward<PreparedAtT>(value); }
78 template<typename PreparedAtT = Aws::Utils::DateTime>
79 PrepareAgentResult& WithPreparedAt(PreparedAtT&& value) { SetPreparedAt(std::forward<PreparedAtT>(value)); return *this;}
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template<typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
87 template<typename RequestIdT = Aws::String>
88 PrepareAgentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
90 private:
91
92 Aws::String m_agentId;
93 bool m_agentIdHasBeenSet = false;
94
95 AgentStatus m_agentStatus{AgentStatus::NOT_SET};
96 bool m_agentStatusHasBeenSet = false;
97
98 Aws::String m_agentVersion;
99 bool m_agentVersionHasBeenSet = false;
100
101 Aws::Utils::DateTime m_preparedAt{};
102 bool m_preparedAtHasBeenSet = false;
103
104 Aws::String m_requestId;
105 bool m_requestIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace BedrockAgent
110} // namespace Aws
AWS_BEDROCKAGENT_API PrepareAgentResult()=default
AWS_BEDROCKAGENT_API PrepareAgentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PrepareAgentResult & WithPreparedAt(PreparedAtT &&value)
PrepareAgentResult & WithAgentId(AgentIdT &&value)
PrepareAgentResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENT_API PrepareAgentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetPreparedAt() const
PrepareAgentResult & WithAgentVersion(AgentVersionT &&value)
PrepareAgentResult & WithAgentStatus(AgentStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue