AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAgentVersionResult.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 <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BEDROCKAGENT_API DeleteAgentVersionResult();
34
35
37
40 inline const Aws::String& GetAgentId() const{ return m_agentId; }
41 inline void SetAgentId(const Aws::String& value) { m_agentId = value; }
42 inline void SetAgentId(Aws::String&& value) { m_agentId = std::move(value); }
43 inline void SetAgentId(const char* value) { m_agentId.assign(value); }
44 inline DeleteAgentVersionResult& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
45 inline DeleteAgentVersionResult& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
46 inline DeleteAgentVersionResult& WithAgentId(const char* value) { SetAgentId(value); return *this;}
48
50
53 inline const AgentStatus& GetAgentStatus() const{ return m_agentStatus; }
54 inline void SetAgentStatus(const AgentStatus& value) { m_agentStatus = value; }
55 inline void SetAgentStatus(AgentStatus&& value) { m_agentStatus = std::move(value); }
56 inline DeleteAgentVersionResult& WithAgentStatus(const AgentStatus& value) { SetAgentStatus(value); return *this;}
57 inline DeleteAgentVersionResult& WithAgentStatus(AgentStatus&& value) { SetAgentStatus(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
65 inline void SetAgentVersion(const Aws::String& value) { m_agentVersion = value; }
66 inline void SetAgentVersion(Aws::String&& value) { m_agentVersion = std::move(value); }
67 inline void SetAgentVersion(const char* value) { m_agentVersion.assign(value); }
68 inline DeleteAgentVersionResult& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
69 inline DeleteAgentVersionResult& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
70 inline DeleteAgentVersionResult& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline DeleteAgentVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline DeleteAgentVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline DeleteAgentVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_agentId;
86
87 AgentStatus m_agentStatus;
88
89 Aws::String m_agentVersion;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace BedrockAgent
96} // namespace Aws
DeleteAgentVersionResult & WithRequestId(const char *value)
DeleteAgentVersionResult & WithAgentId(Aws::String &&value)
DeleteAgentVersionResult & WithAgentVersion(Aws::String &&value)
DeleteAgentVersionResult & WithAgentId(const char *value)
AWS_BEDROCKAGENT_API DeleteAgentVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteAgentVersionResult & WithAgentVersion(const Aws::String &value)
DeleteAgentVersionResult & WithAgentId(const Aws::String &value)
AWS_BEDROCKAGENT_API DeleteAgentVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteAgentVersionResult & WithRequestId(Aws::String &&value)
DeleteAgentVersionResult & WithRequestId(const Aws::String &value)
DeleteAgentVersionResult & WithAgentStatus(AgentStatus &&value)
DeleteAgentVersionResult & WithAgentStatus(const AgentStatus &value)
DeleteAgentVersionResult & WithAgentVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue