AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAgentResult.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 DeleteAgentResult();
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 DeleteAgentResult& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
45 inline DeleteAgentResult& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
46 inline DeleteAgentResult& 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 DeleteAgentResult& WithAgentStatus(const AgentStatus& value) { SetAgentStatus(value); return *this;}
57 inline DeleteAgentResult& WithAgentStatus(AgentStatus&& value) { SetAgentStatus(std::move(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline DeleteAgentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline DeleteAgentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline DeleteAgentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 Aws::String m_agentId;
73
74 AgentStatus m_agentStatus;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace BedrockAgent
81} // namespace Aws
void SetAgentId(const Aws::String &value)
DeleteAgentResult & WithAgentStatus(const AgentStatus &value)
DeleteAgentResult & WithAgentId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
DeleteAgentResult & WithAgentId(const char *value)
DeleteAgentResult & WithAgentId(Aws::String &&value)
AWS_BEDROCKAGENT_API DeleteAgentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteAgentResult & WithRequestId(Aws::String &&value)
DeleteAgentResult & WithAgentStatus(AgentStatus &&value)
void SetAgentStatus(const AgentStatus &value)
DeleteAgentResult & WithRequestId(const Aws::String &value)
AWS_BEDROCKAGENT_API DeleteAgentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteAgentResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue