AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrepareAgentResult.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 <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgent
26{
27namespace Model
28{
30 {
31 public:
32 AWS_BEDROCKAGENT_API PrepareAgentResult();
35
36
38
42 inline const Aws::String& GetAgentId() const{ return m_agentId; }
43 inline void SetAgentId(const Aws::String& value) { m_agentId = value; }
44 inline void SetAgentId(Aws::String&& value) { m_agentId = std::move(value); }
45 inline void SetAgentId(const char* value) { m_agentId.assign(value); }
46 inline PrepareAgentResult& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
47 inline PrepareAgentResult& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
48 inline PrepareAgentResult& WithAgentId(const char* value) { SetAgentId(value); return *this;}
50
52
56 inline const AgentStatus& GetAgentStatus() const{ return m_agentStatus; }
57 inline void SetAgentStatus(const AgentStatus& value) { m_agentStatus = value; }
58 inline void SetAgentStatus(AgentStatus&& value) { m_agentStatus = std::move(value); }
59 inline PrepareAgentResult& WithAgentStatus(const AgentStatus& value) { SetAgentStatus(value); return *this;}
60 inline PrepareAgentResult& WithAgentStatus(AgentStatus&& value) { SetAgentStatus(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
68 inline void SetAgentVersion(const Aws::String& value) { m_agentVersion = value; }
69 inline void SetAgentVersion(Aws::String&& value) { m_agentVersion = std::move(value); }
70 inline void SetAgentVersion(const char* value) { m_agentVersion.assign(value); }
71 inline PrepareAgentResult& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
72 inline PrepareAgentResult& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
73 inline PrepareAgentResult& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
75
77
81 inline const Aws::Utils::DateTime& GetPreparedAt() const{ return m_preparedAt; }
82 inline void SetPreparedAt(const Aws::Utils::DateTime& value) { m_preparedAt = value; }
83 inline void SetPreparedAt(Aws::Utils::DateTime&& value) { m_preparedAt = std::move(value); }
84 inline PrepareAgentResult& WithPreparedAt(const Aws::Utils::DateTime& value) { SetPreparedAt(value); return *this;}
85 inline PrepareAgentResult& WithPreparedAt(Aws::Utils::DateTime&& value) { SetPreparedAt(std::move(value)); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline PrepareAgentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline PrepareAgentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline PrepareAgentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::String m_agentId;
101
102 AgentStatus m_agentStatus;
103
104 Aws::String m_agentVersion;
105
106 Aws::Utils::DateTime m_preparedAt;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace BedrockAgent
113} // namespace Aws
PrepareAgentResult & WithRequestId(Aws::String &&value)
PrepareAgentResult & WithAgentVersion(const char *value)
AWS_BEDROCKAGENT_API PrepareAgentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PrepareAgentResult & WithAgentId(const char *value)
PrepareAgentResult & WithAgentId(const Aws::String &value)
PrepareAgentResult & WithRequestId(const char *value)
AWS_BEDROCKAGENT_API PrepareAgentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetPreparedAt() const
PrepareAgentResult & WithAgentVersion(Aws::String &&value)
PrepareAgentResult & WithPreparedAt(Aws::Utils::DateTime &&value)
PrepareAgentResult & WithRequestId(const Aws::String &value)
PrepareAgentResult & WithAgentStatus(const AgentStatus &value)
PrepareAgentResult & WithPreparedAt(const Aws::Utils::DateTime &value)
void SetPreparedAt(Aws::Utils::DateTime &&value)
PrepareAgentResult & WithAgentStatus(AgentStatus &&value)
void SetAgentVersion(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetPreparedAt(const Aws::Utils::DateTime &value)
void SetAgentStatus(const AgentStatus &value)
PrepareAgentResult & WithAgentId(Aws::String &&value)
PrepareAgentResult & WithAgentVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue