AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsAgent {
21namespace Model {
22
29 public:
30 AWS_DEVOPSAGENT_API ChatExecution() = default;
31 AWS_DEVOPSAGENT_API ChatExecution(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DEVOPSAGENT_API ChatExecution& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetExecutionId() const { return m_executionId; }
40 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
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 ChatExecution& 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 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
59 template <typename CreatedAtT = Aws::Utils::DateTime>
60 void SetCreatedAt(CreatedAtT&& value) {
61 m_createdAtHasBeenSet = true;
62 m_createdAt = std::forward<CreatedAtT>(value);
63 }
64 template <typename CreatedAtT = Aws::Utils::DateTime>
65 ChatExecution& WithCreatedAt(CreatedAtT&& value) {
66 SetCreatedAt(std::forward<CreatedAtT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
76 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
77 template <typename UpdatedAtT = Aws::Utils::DateTime>
78 void SetUpdatedAt(UpdatedAtT&& value) {
79 m_updatedAtHasBeenSet = true;
80 m_updatedAt = std::forward<UpdatedAtT>(value);
81 }
82 template <typename UpdatedAtT = Aws::Utils::DateTime>
83 ChatExecution& WithUpdatedAt(UpdatedAtT&& value) {
84 SetUpdatedAt(std::forward<UpdatedAtT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetSummary() const { return m_summary; }
94 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
95 template <typename SummaryT = Aws::String>
96 void SetSummary(SummaryT&& value) {
97 m_summaryHasBeenSet = true;
98 m_summary = std::forward<SummaryT>(value);
99 }
100 template <typename SummaryT = Aws::String>
101 ChatExecution& WithSummary(SummaryT&& value) {
102 SetSummary(std::forward<SummaryT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_executionId;
108
109 Aws::Utils::DateTime m_createdAt{};
110
111 Aws::Utils::DateTime m_updatedAt{};
112
113 Aws::String m_summary;
114 bool m_executionIdHasBeenSet = false;
115 bool m_createdAtHasBeenSet = false;
116 bool m_updatedAtHasBeenSet = false;
117 bool m_summaryHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace DevOpsAgent
122} // 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)
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 & WithUpdatedAt(UpdatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue