AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
PrepareAgentResult.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/AgentStatus.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent {
25namespace Model {
27 public:
28 AWS_BEDROCKAGENT_API PrepareAgentResult() = default;
31
33
37 inline const Aws::String& GetAgentId() const { return m_agentId; }
38 template <typename AgentIdT = Aws::String>
39 void SetAgentId(AgentIdT&& value) {
40 m_agentIdHasBeenSet = true;
41 m_agentId = std::forward<AgentIdT>(value);
42 }
43 template <typename AgentIdT = Aws::String>
45 SetAgentId(std::forward<AgentIdT>(value));
46 return *this;
47 }
49
51
55 inline AgentStatus GetAgentStatus() const { return m_agentStatus; }
56 inline void SetAgentStatus(AgentStatus value) {
57 m_agentStatusHasBeenSet = true;
58 m_agentStatus = value;
59 }
61 SetAgentStatus(value);
62 return *this;
63 }
65
67
70 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
71 template <typename AgentVersionT = Aws::String>
73 m_agentVersionHasBeenSet = true;
74 m_agentVersion = std::forward<AgentVersionT>(value);
75 }
76 template <typename AgentVersionT = Aws::String>
78 SetAgentVersion(std::forward<AgentVersionT>(value));
79 return *this;
80 }
82
84
88 inline const Aws::Utils::DateTime& GetPreparedAt() const { return m_preparedAt; }
89 template <typename PreparedAtT = Aws::Utils::DateTime>
90 void SetPreparedAt(PreparedAtT&& value) {
91 m_preparedAtHasBeenSet = true;
92 m_preparedAt = std::forward<PreparedAtT>(value);
93 }
94 template <typename PreparedAtT = Aws::Utils::DateTime>
96 SetPreparedAt(std::forward<PreparedAtT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
116
117 private:
118 Aws::String m_agentId;
119
120 AgentStatus m_agentStatus{AgentStatus::NOT_SET};
121
122 Aws::String m_agentVersion;
123
124 Aws::Utils::DateTime m_preparedAt{};
125
126 Aws::String m_requestId;
127 Aws::Http::HttpResponseCode m_HttpResponseCode;
128 bool m_agentIdHasBeenSet = false;
129 bool m_agentStatusHasBeenSet = false;
130 bool m_agentVersionHasBeenSet = false;
131 bool m_preparedAtHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace BedrockAgent
137} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() 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