AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TestExecutionSummary.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lexv2-models/model/TestExecutionStatus.h>
11#include <aws/lexv2-models/model/TestExecutionTarget.h>
12#include <aws/lexv2-models/model/TestExecutionApiMode.h>
13#include <aws/lexv2-models/model/TestExecutionModality.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace LexModelsV2
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_LEXMODELSV2_API TestExecutionSummary() = default;
40 AWS_LEXMODELSV2_API TestExecutionSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetTestExecutionId() const { return m_testExecutionId; }
50 inline bool TestExecutionIdHasBeenSet() const { return m_testExecutionIdHasBeenSet; }
51 template<typename TestExecutionIdT = Aws::String>
52 void SetTestExecutionId(TestExecutionIdT&& value) { m_testExecutionIdHasBeenSet = true; m_testExecutionId = std::forward<TestExecutionIdT>(value); }
53 template<typename TestExecutionIdT = Aws::String>
54 TestExecutionSummary& WithTestExecutionId(TestExecutionIdT&& value) { SetTestExecutionId(std::forward<TestExecutionIdT>(value)); return *this;}
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) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
65 template<typename CreationDateTimeT = Aws::Utils::DateTime>
66 TestExecutionSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
74 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
75 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
76 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
77 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
78 TestExecutionSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
80
82
85 inline TestExecutionStatus GetTestExecutionStatus() const { return m_testExecutionStatus; }
86 inline bool TestExecutionStatusHasBeenSet() const { return m_testExecutionStatusHasBeenSet; }
87 inline void SetTestExecutionStatus(TestExecutionStatus value) { m_testExecutionStatusHasBeenSet = true; m_testExecutionStatus = value; }
90
92
95 inline const Aws::String& GetTestSetId() const { return m_testSetId; }
96 inline bool TestSetIdHasBeenSet() const { return m_testSetIdHasBeenSet; }
97 template<typename TestSetIdT = Aws::String>
98 void SetTestSetId(TestSetIdT&& value) { m_testSetIdHasBeenSet = true; m_testSetId = std::forward<TestSetIdT>(value); }
99 template<typename TestSetIdT = Aws::String>
100 TestExecutionSummary& WithTestSetId(TestSetIdT&& value) { SetTestSetId(std::forward<TestSetIdT>(value)); return *this;}
102
104
107 inline const Aws::String& GetTestSetName() const { return m_testSetName; }
108 inline bool TestSetNameHasBeenSet() const { return m_testSetNameHasBeenSet; }
109 template<typename TestSetNameT = Aws::String>
110 void SetTestSetName(TestSetNameT&& value) { m_testSetNameHasBeenSet = true; m_testSetName = std::forward<TestSetNameT>(value); }
111 template<typename TestSetNameT = Aws::String>
112 TestExecutionSummary& WithTestSetName(TestSetNameT&& value) { SetTestSetName(std::forward<TestSetNameT>(value)); return *this;}
114
116
119 inline const TestExecutionTarget& GetTarget() const { return m_target; }
120 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
121 template<typename TargetT = TestExecutionTarget>
122 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
123 template<typename TargetT = TestExecutionTarget>
124 TestExecutionSummary& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
126
128
132 inline TestExecutionApiMode GetApiMode() const { return m_apiMode; }
133 inline bool ApiModeHasBeenSet() const { return m_apiModeHasBeenSet; }
134 inline void SetApiMode(TestExecutionApiMode value) { m_apiModeHasBeenSet = true; m_apiMode = value; }
135 inline TestExecutionSummary& WithApiMode(TestExecutionApiMode value) { SetApiMode(value); return *this;}
137
139
143 inline TestExecutionModality GetTestExecutionModality() const { return m_testExecutionModality; }
144 inline bool TestExecutionModalityHasBeenSet() const { return m_testExecutionModalityHasBeenSet; }
145 inline void SetTestExecutionModality(TestExecutionModality value) { m_testExecutionModalityHasBeenSet = true; m_testExecutionModality = value; }
148 private:
149
150 Aws::String m_testExecutionId;
151 bool m_testExecutionIdHasBeenSet = false;
152
153 Aws::Utils::DateTime m_creationDateTime{};
154 bool m_creationDateTimeHasBeenSet = false;
155
156 Aws::Utils::DateTime m_lastUpdatedDateTime{};
157 bool m_lastUpdatedDateTimeHasBeenSet = false;
158
160 bool m_testExecutionStatusHasBeenSet = false;
161
162 Aws::String m_testSetId;
163 bool m_testSetIdHasBeenSet = false;
164
165 Aws::String m_testSetName;
166 bool m_testSetNameHasBeenSet = false;
167
168 TestExecutionTarget m_target;
169 bool m_targetHasBeenSet = false;
170
172 bool m_apiModeHasBeenSet = false;
173
175 bool m_testExecutionModalityHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace LexModelsV2
180} // 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