AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GetAIAgentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10#include <aws/qconnect/model/AIAgentData.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 QConnect {
24namespace Model {
26 public:
27 AWS_QCONNECT_API GetAIAgentResult() = default;
30
32
35 inline const AIAgentData& GetAiAgent() const { return m_aiAgent; }
36 template <typename AiAgentT = AIAgentData>
37 void SetAiAgent(AiAgentT&& value) {
38 m_aiAgentHasBeenSet = true;
39 m_aiAgent = std::forward<AiAgentT>(value);
40 }
41 template <typename AiAgentT = AIAgentData>
43 SetAiAgent(std::forward<AiAgentT>(value));
44 return *this;
45 }
47
49
54 inline long long GetVersionNumber() const { return m_versionNumber; }
55 inline void SetVersionNumber(long long value) {
56 m_versionNumberHasBeenSet = true;
57 m_versionNumber = value;
58 }
59 inline GetAIAgentResult& WithVersionNumber(long long value) {
60 SetVersionNumber(value);
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 AIAgentData m_aiAgent;
83
84 long long m_versionNumber{0};
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_aiAgentHasBeenSet = false;
89 bool m_versionNumberHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace QConnect
95} // namespace Aws
AWS_QCONNECT_API GetAIAgentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QCONNECT_API GetAIAgentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_QCONNECT_API GetAIAgentResult()=default
const Aws::String & GetRequestId() const
GetAIAgentResult & WithVersionNumber(long long value)
GetAIAgentResult & WithAiAgent(AiAgentT &&value)
GetAIAgentResult & WithRequestId(RequestIdT &&value)
const AIAgentData & GetAiAgent() const
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