AWS SDK for C++

AWS SDK for C++ Version 1.11.751

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/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgent {
24namespace Model {
26 public:
27 AWS_BEDROCKAGENT_API PrepareAgentResult() = default;
30
32
36 inline const Aws::String& GetAgentId() const { return m_agentId; }
37 template <typename AgentIdT = Aws::String>
38 void SetAgentId(AgentIdT&& value) {
39 m_agentIdHasBeenSet = true;
40 m_agentId = std::forward<AgentIdT>(value);
41 }
42 template <typename AgentIdT = Aws::String>
44 SetAgentId(std::forward<AgentIdT>(value));
45 return *this;
46 }
48
50
54 inline AgentStatus GetAgentStatus() const { return m_agentStatus; }
55 inline void SetAgentStatus(AgentStatus value) {
56 m_agentStatusHasBeenSet = true;
57 m_agentStatus = value;
58 }
60 SetAgentStatus(value);
61 return *this;
62 }
64
66
69 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
70 template <typename AgentVersionT = Aws::String>
72 m_agentVersionHasBeenSet = true;
73 m_agentVersion = std::forward<AgentVersionT>(value);
74 }
75 template <typename AgentVersionT = Aws::String>
77 SetAgentVersion(std::forward<AgentVersionT>(value));
78 return *this;
79 }
81
83
87 inline const Aws::Utils::DateTime& GetPreparedAt() const { return m_preparedAt; }
88 template <typename PreparedAtT = Aws::Utils::DateTime>
89 void SetPreparedAt(PreparedAtT&& value) {
90 m_preparedAtHasBeenSet = true;
91 m_preparedAt = std::forward<PreparedAtT>(value);
92 }
93 template <typename PreparedAtT = Aws::Utils::DateTime>
95 SetPreparedAt(std::forward<PreparedAtT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_agentId;
116
117 AgentStatus m_agentStatus{AgentStatus::NOT_SET};
118
119 Aws::String m_agentVersion;
120
121 Aws::Utils::DateTime m_preparedAt{};
122
123 Aws::String m_requestId;
124 bool m_agentIdHasBeenSet = false;
125 bool m_agentStatusHasBeenSet = false;
126 bool m_agentVersionHasBeenSet = false;
127 bool m_preparedAtHasBeenSet = false;
128 bool m_requestIdHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace BedrockAgent
133} // 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::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