AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CreateChatResponseConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.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 QBusiness {
23namespace Model {
25 public:
26 AWS_QBUSINESS_API CreateChatResponseConfigurationResult() = default;
30
32
36 inline const Aws::String& GetChatResponseConfigurationId() const { return m_chatResponseConfigurationId; }
37 template <typename ChatResponseConfigurationIdT = Aws::String>
39 m_chatResponseConfigurationIdHasBeenSet = true;
40 m_chatResponseConfigurationId = std::forward<ChatResponseConfigurationIdT>(value);
41 }
42 template <typename ChatResponseConfigurationIdT = Aws::String>
44 SetChatResponseConfigurationId(std::forward<ChatResponseConfigurationIdT>(value));
45 return *this;
46 }
48
50
55 inline const Aws::String& GetChatResponseConfigurationArn() const { return m_chatResponseConfigurationArn; }
56 template <typename ChatResponseConfigurationArnT = Aws::String>
58 m_chatResponseConfigurationArnHasBeenSet = true;
59 m_chatResponseConfigurationArn = std::forward<ChatResponseConfigurationArnT>(value);
60 }
61 template <typename ChatResponseConfigurationArnT = Aws::String>
63 SetChatResponseConfigurationArn(std::forward<ChatResponseConfigurationArnT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template <typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) {
73 m_requestIdHasBeenSet = true;
74 m_requestId = std::forward<RequestIdT>(value);
75 }
76 template <typename RequestIdT = Aws::String>
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
83
84 private:
85 Aws::String m_chatResponseConfigurationId;
86
87 Aws::String m_chatResponseConfigurationArn;
88
89 Aws::String m_requestId;
90 Aws::Http::HttpResponseCode m_HttpResponseCode;
91 bool m_chatResponseConfigurationIdHasBeenSet = false;
92 bool m_chatResponseConfigurationArnHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace QBusiness
98} // namespace Aws
CreateChatResponseConfigurationResult & WithChatResponseConfigurationArn(ChatResponseConfigurationArnT &&value)
AWS_QBUSINESS_API CreateChatResponseConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QBUSINESS_API CreateChatResponseConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChatResponseConfigurationResult & WithRequestId(RequestIdT &&value)
CreateChatResponseConfigurationResult & WithChatResponseConfigurationId(ChatResponseConfigurationIdT &&value)
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