AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
DeleteAgentVersionResult.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/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent {
23namespace Model {
25 public:
26 AWS_BEDROCKAGENT_API DeleteAgentVersionResult() = default;
29
31
34 inline const Aws::String& GetAgentId() const { return m_agentId; }
35 template <typename AgentIdT = Aws::String>
36 void SetAgentId(AgentIdT&& value) {
37 m_agentIdHasBeenSet = true;
38 m_agentId = std::forward<AgentIdT>(value);
39 }
40 template <typename AgentIdT = Aws::String>
42 SetAgentId(std::forward<AgentIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
52 template <typename AgentVersionT = Aws::String>
53 void SetAgentVersion(AgentVersionT&& value) {
54 m_agentVersionHasBeenSet = true;
55 m_agentVersion = std::forward<AgentVersionT>(value);
56 }
57 template <typename AgentVersionT = Aws::String>
59 SetAgentVersion(std::forward<AgentVersionT>(value));
60 return *this;
61 }
63
65
68 inline AgentStatus GetAgentStatus() const { return m_agentStatus; }
69 inline void SetAgentStatus(AgentStatus value) {
70 m_agentStatusHasBeenSet = true;
71 m_agentStatus = value;
72 }
74 SetAgentStatus(value);
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_agentId;
95 bool m_agentIdHasBeenSet = false;
96
97 Aws::String m_agentVersion;
98 bool m_agentVersionHasBeenSet = false;
99
100 AgentStatus m_agentStatus{AgentStatus::NOT_SET};
101 bool m_agentStatusHasBeenSet = false;
102
103 Aws::String m_requestId;
104 bool m_requestIdHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace BedrockAgent
109} // namespace Aws
DeleteAgentVersionResult & WithAgentVersion(AgentVersionT &&value)
DeleteAgentVersionResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENT_API DeleteAgentVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteAgentVersionResult & WithAgentStatus(AgentStatus value)
DeleteAgentVersionResult & WithAgentId(AgentIdT &&value)
AWS_BEDROCKAGENT_API DeleteAgentVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKAGENT_API DeleteAgentVersionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue