AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TestExecutionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/TestExecutionApiMode.h>
11#include <aws/lexv2-models/model/TestExecutionModality.h>
12#include <aws/lexv2-models/model/TestExecutionStatus.h>
13#include <aws/lexv2-models/model/TestExecutionTarget.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2 {
25namespace Model {
26
33 public:
34 AWS_LEXMODELSV2_API TestExecutionSummary() = default;
35 AWS_LEXMODELSV2_API TestExecutionSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetTestExecutionId() const { return m_testExecutionId; }
44 inline bool TestExecutionIdHasBeenSet() const { return m_testExecutionIdHasBeenSet; }
45 template <typename TestExecutionIdT = Aws::String>
46 void SetTestExecutionId(TestExecutionIdT&& value) {
47 m_testExecutionIdHasBeenSet = true;
48 m_testExecutionId = std::forward<TestExecutionIdT>(value);
49 }
50 template <typename TestExecutionIdT = Aws::String>
51 TestExecutionSummary& WithTestExecutionId(TestExecutionIdT&& value) {
52 SetTestExecutionId(std::forward<TestExecutionIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
62 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
63 template <typename CreationDateTimeT = Aws::Utils::DateTime>
64 void SetCreationDateTime(CreationDateTimeT&& value) {
65 m_creationDateTimeHasBeenSet = true;
66 m_creationDateTime = std::forward<CreationDateTimeT>(value);
67 }
68 template <typename CreationDateTimeT = Aws::Utils::DateTime>
69 TestExecutionSummary& WithCreationDateTime(CreationDateTimeT&& value) {
70 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
80 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
81 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
82 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
83 m_lastUpdatedDateTimeHasBeenSet = true;
84 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
85 }
86 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
87 TestExecutionSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
88 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
89 return *this;
90 }
92
94
97 inline TestExecutionStatus GetTestExecutionStatus() const { return m_testExecutionStatus; }
98 inline bool TestExecutionStatusHasBeenSet() const { return m_testExecutionStatusHasBeenSet; }
100 m_testExecutionStatusHasBeenSet = true;
101 m_testExecutionStatus = value;
102 }
105 return *this;
106 }
108
110
113 inline const Aws::String& GetTestSetId() const { return m_testSetId; }
114 inline bool TestSetIdHasBeenSet() const { return m_testSetIdHasBeenSet; }
115 template <typename TestSetIdT = Aws::String>
116 void SetTestSetId(TestSetIdT&& value) {
117 m_testSetIdHasBeenSet = true;
118 m_testSetId = std::forward<TestSetIdT>(value);
119 }
120 template <typename TestSetIdT = Aws::String>
121 TestExecutionSummary& WithTestSetId(TestSetIdT&& value) {
122 SetTestSetId(std::forward<TestSetIdT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetTestSetName() const { return m_testSetName; }
132 inline bool TestSetNameHasBeenSet() const { return m_testSetNameHasBeenSet; }
133 template <typename TestSetNameT = Aws::String>
134 void SetTestSetName(TestSetNameT&& value) {
135 m_testSetNameHasBeenSet = true;
136 m_testSetName = std::forward<TestSetNameT>(value);
137 }
138 template <typename TestSetNameT = Aws::String>
139 TestExecutionSummary& WithTestSetName(TestSetNameT&& value) {
140 SetTestSetName(std::forward<TestSetNameT>(value));
141 return *this;
142 }
144
146
149 inline const TestExecutionTarget& GetTarget() const { return m_target; }
150 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
151 template <typename TargetT = TestExecutionTarget>
152 void SetTarget(TargetT&& value) {
153 m_targetHasBeenSet = true;
154 m_target = std::forward<TargetT>(value);
155 }
156 template <typename TargetT = TestExecutionTarget>
158 SetTarget(std::forward<TargetT>(value));
159 return *this;
160 }
162
164
168 inline TestExecutionApiMode GetApiMode() const { return m_apiMode; }
169 inline bool ApiModeHasBeenSet() const { return m_apiModeHasBeenSet; }
170 inline void SetApiMode(TestExecutionApiMode value) {
171 m_apiModeHasBeenSet = true;
172 m_apiMode = value;
173 }
175 SetApiMode(value);
176 return *this;
177 }
179
181
185 inline TestExecutionModality GetTestExecutionModality() const { return m_testExecutionModality; }
186 inline bool TestExecutionModalityHasBeenSet() const { return m_testExecutionModalityHasBeenSet; }
188 m_testExecutionModalityHasBeenSet = true;
189 m_testExecutionModality = value;
190 }
193 return *this;
194 }
196 private:
197 Aws::String m_testExecutionId;
198
199 Aws::Utils::DateTime m_creationDateTime{};
200
201 Aws::Utils::DateTime m_lastUpdatedDateTime{};
202
204
205 Aws::String m_testSetId;
206
207 Aws::String m_testSetName;
208
209 TestExecutionTarget m_target;
210
212
214 bool m_testExecutionIdHasBeenSet = false;
215 bool m_creationDateTimeHasBeenSet = false;
216 bool m_lastUpdatedDateTimeHasBeenSet = false;
217 bool m_testExecutionStatusHasBeenSet = false;
218 bool m_testSetIdHasBeenSet = false;
219 bool m_testSetNameHasBeenSet = false;
220 bool m_targetHasBeenSet = false;
221 bool m_apiModeHasBeenSet = false;
222 bool m_testExecutionModalityHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace LexModelsV2
227} // namespace Aws
TestExecutionSummary & WithTestSetId(TestSetIdT &&value)
TestExecutionSummary & WithTestSetName(TestSetNameT &&value)
TestExecutionSummary & WithApiMode(TestExecutionApiMode value)
TestExecutionModality GetTestExecutionModality() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
TestExecutionSummary & WithTestExecutionId(TestExecutionIdT &&value)
AWS_LEXMODELSV2_API TestExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTestExecutionId(TestExecutionIdT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const TestExecutionTarget & GetTarget() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetTestExecutionModality(TestExecutionModality value)
AWS_LEXMODELSV2_API TestExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTestExecutionStatus(TestExecutionStatus value)
TestExecutionSummary & WithTarget(TargetT &&value)
TestExecutionSummary & WithCreationDateTime(CreationDateTimeT &&value)
TestExecutionSummary & WithTestExecutionStatus(TestExecutionStatus value)
TestExecutionSummary & WithTestExecutionModality(TestExecutionModality value)
AWS_LEXMODELSV2_API TestExecutionSummary()=default
void SetCreationDateTime(CreationDateTimeT &&value)
TestExecutionSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue