AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ChatExecution.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10#include <aws/devops-agent/model/ChatArchiveStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DevOpsAgent {
22namespace Model {
23
30 public:
31 AWS_DEVOPSAGENT_API ChatExecution() = default;
32 AWS_DEVOPSAGENT_API ChatExecution(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DEVOPSAGENT_API ChatExecution& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetExecutionId() const { return m_executionId; }
41 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
42 template <typename ExecutionIdT = Aws::String>
43 void SetExecutionId(ExecutionIdT&& value) {
44 m_executionIdHasBeenSet = true;
45 m_executionId = std::forward<ExecutionIdT>(value);
46 }
47 template <typename ExecutionIdT = Aws::String>
48 ChatExecution& WithExecutionId(ExecutionIdT&& value) {
49 SetExecutionId(std::forward<ExecutionIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
60 template <typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) {
62 m_createdAtHasBeenSet = true;
63 m_createdAt = std::forward<CreatedAtT>(value);
64 }
65 template <typename CreatedAtT = Aws::Utils::DateTime>
66 ChatExecution& WithCreatedAt(CreatedAtT&& value) {
67 SetCreatedAt(std::forward<CreatedAtT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
77 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
78 template <typename UpdatedAtT = Aws::Utils::DateTime>
79 void SetUpdatedAt(UpdatedAtT&& value) {
80 m_updatedAtHasBeenSet = true;
81 m_updatedAt = std::forward<UpdatedAtT>(value);
82 }
83 template <typename UpdatedAtT = Aws::Utils::DateTime>
84 ChatExecution& WithUpdatedAt(UpdatedAtT&& value) {
85 SetUpdatedAt(std::forward<UpdatedAtT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetSummary() const { return m_summary; }
95 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
96 template <typename SummaryT = Aws::String>
97 void SetSummary(SummaryT&& value) {
98 m_summaryHasBeenSet = true;
99 m_summary = std::forward<SummaryT>(value);
100 }
101 template <typename SummaryT = Aws::String>
102 ChatExecution& WithSummary(SummaryT&& value) {
103 SetSummary(std::forward<SummaryT>(value));
104 return *this;
105 }
107
109
112 inline ChatArchiveStatus GetArchiveStatus() const { return m_archiveStatus; }
113 inline bool ArchiveStatusHasBeenSet() const { return m_archiveStatusHasBeenSet; }
115 m_archiveStatusHasBeenSet = true;
116 m_archiveStatus = value;
117 }
119 SetArchiveStatus(value);
120 return *this;
121 }
123 private:
124 Aws::String m_executionId;
125
126 Aws::Utils::DateTime m_createdAt{};
127
128 Aws::Utils::DateTime m_updatedAt{};
129
130 Aws::String m_summary;
131
133 bool m_executionIdHasBeenSet = false;
134 bool m_createdAtHasBeenSet = false;
135 bool m_updatedAtHasBeenSet = false;
136 bool m_summaryHasBeenSet = false;
137 bool m_archiveStatusHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace DevOpsAgent
142} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
ChatExecution & WithSummary(SummaryT &&value)
const Aws::String & GetExecutionId() const
AWS_DEVOPSAGENT_API ChatExecution()=default
ChatExecution & WithCreatedAt(CreatedAtT &&value)
ChatArchiveStatus GetArchiveStatus() const
const Aws::Utils::DateTime & GetUpdatedAt() const
ChatExecution & WithExecutionId(ExecutionIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSAGENT_API ChatExecution(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSummary() const
void SetExecutionId(ExecutionIdT &&value)
AWS_DEVOPSAGENT_API ChatExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
ChatExecution & WithArchiveStatus(ChatArchiveStatus value)
void SetArchiveStatus(ChatArchiveStatus value)
ChatExecution & WithUpdatedAt(UpdatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue