AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateChatResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devops-agent/DevOpsAgent_EXPORTS.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 DevOpsAgent {
24namespace Model {
31 public:
32 AWS_DEVOPSAGENT_API CreateChatResult() = default;
35
37
40 inline const Aws::String& GetExecutionId() const { return m_executionId; }
41 template <typename ExecutionIdT = Aws::String>
42 void SetExecutionId(ExecutionIdT&& value) {
43 m_executionIdHasBeenSet = true;
44 m_executionId = std::forward<ExecutionIdT>(value);
45 }
46 template <typename ExecutionIdT = Aws::String>
47 CreateChatResult& WithExecutionId(ExecutionIdT&& value) {
48 SetExecutionId(std::forward<ExecutionIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
58 template <typename CreatedAtT = Aws::Utils::DateTime>
59 void SetCreatedAt(CreatedAtT&& value) {
60 m_createdAtHasBeenSet = true;
61 m_createdAt = std::forward<CreatedAtT>(value);
62 }
63 template <typename CreatedAtT = Aws::Utils::DateTime>
64 CreateChatResult& WithCreatedAt(CreatedAtT&& value) {
65 SetCreatedAt(std::forward<CreatedAtT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
79 CreateChatResult& WithRequestId(RequestIdT&& value) {
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 Aws::String m_executionId;
88
89 Aws::Utils::DateTime m_createdAt{};
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_executionIdHasBeenSet = false;
94 bool m_createdAtHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DevOpsAgent
100} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
void SetExecutionId(ExecutionIdT &&value)
AWS_DEVOPSAGENT_API CreateChatResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChatResult & WithExecutionId(ExecutionIdT &&value)
CreateChatResult & WithCreatedAt(CreatedAtT &&value)
AWS_DEVOPSAGENT_API CreateChatResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
CreateChatResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetExecutionId() const
AWS_DEVOPSAGENT_API CreateChatResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue