AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTestExecutionId(const Aws::String& value) { m_testExecutionIdHasBeenSet = true; m_testExecutionId = value; }
52 inline void SetTestExecutionId(Aws::String&& value) { m_testExecutionIdHasBeenSet = true; m_testExecutionId = std::move(value); }
53 inline void SetTestExecutionId(const char* value) { m_testExecutionIdHasBeenSet = true; m_testExecutionId.assign(value); }
54 inline TestExecutionSummary& WithTestExecutionId(const Aws::String& value) { SetTestExecutionId(value); return *this;}
55 inline TestExecutionSummary& WithTestExecutionId(Aws::String&& value) { SetTestExecutionId(std::move(value)); return *this;}
56 inline TestExecutionSummary& WithTestExecutionId(const char* value) { SetTestExecutionId(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
64 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
65 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
66 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
68 inline TestExecutionSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
76 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
77 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
78 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
82
84
87 inline const TestExecutionStatus& GetTestExecutionStatus() const{ return m_testExecutionStatus; }
88 inline bool TestExecutionStatusHasBeenSet() const { return m_testExecutionStatusHasBeenSet; }
89 inline void SetTestExecutionStatus(const TestExecutionStatus& value) { m_testExecutionStatusHasBeenSet = true; m_testExecutionStatus = value; }
90 inline void SetTestExecutionStatus(TestExecutionStatus&& value) { m_testExecutionStatusHasBeenSet = true; m_testExecutionStatus = std::move(value); }
94
96
99 inline const Aws::String& GetTestSetId() const{ return m_testSetId; }
100 inline bool TestSetIdHasBeenSet() const { return m_testSetIdHasBeenSet; }
101 inline void SetTestSetId(const Aws::String& value) { m_testSetIdHasBeenSet = true; m_testSetId = value; }
102 inline void SetTestSetId(Aws::String&& value) { m_testSetIdHasBeenSet = true; m_testSetId = std::move(value); }
103 inline void SetTestSetId(const char* value) { m_testSetIdHasBeenSet = true; m_testSetId.assign(value); }
104 inline TestExecutionSummary& WithTestSetId(const Aws::String& value) { SetTestSetId(value); return *this;}
105 inline TestExecutionSummary& WithTestSetId(Aws::String&& value) { SetTestSetId(std::move(value)); return *this;}
106 inline TestExecutionSummary& WithTestSetId(const char* value) { SetTestSetId(value); return *this;}
108
110
113 inline const Aws::String& GetTestSetName() const{ return m_testSetName; }
114 inline bool TestSetNameHasBeenSet() const { return m_testSetNameHasBeenSet; }
115 inline void SetTestSetName(const Aws::String& value) { m_testSetNameHasBeenSet = true; m_testSetName = value; }
116 inline void SetTestSetName(Aws::String&& value) { m_testSetNameHasBeenSet = true; m_testSetName = std::move(value); }
117 inline void SetTestSetName(const char* value) { m_testSetNameHasBeenSet = true; m_testSetName.assign(value); }
118 inline TestExecutionSummary& WithTestSetName(const Aws::String& value) { SetTestSetName(value); return *this;}
119 inline TestExecutionSummary& WithTestSetName(Aws::String&& value) { SetTestSetName(std::move(value)); return *this;}
120 inline TestExecutionSummary& WithTestSetName(const char* value) { SetTestSetName(value); return *this;}
122
124
127 inline const TestExecutionTarget& GetTarget() const{ return m_target; }
128 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
129 inline void SetTarget(const TestExecutionTarget& value) { m_targetHasBeenSet = true; m_target = value; }
130 inline void SetTarget(TestExecutionTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
131 inline TestExecutionSummary& WithTarget(const TestExecutionTarget& value) { SetTarget(value); return *this;}
132 inline TestExecutionSummary& WithTarget(TestExecutionTarget&& value) { SetTarget(std::move(value)); return *this;}
134
136
140 inline const TestExecutionApiMode& GetApiMode() const{ return m_apiMode; }
141 inline bool ApiModeHasBeenSet() const { return m_apiModeHasBeenSet; }
142 inline void SetApiMode(const TestExecutionApiMode& value) { m_apiModeHasBeenSet = true; m_apiMode = value; }
143 inline void SetApiMode(TestExecutionApiMode&& value) { m_apiModeHasBeenSet = true; m_apiMode = std::move(value); }
144 inline TestExecutionSummary& WithApiMode(const TestExecutionApiMode& value) { SetApiMode(value); return *this;}
145 inline TestExecutionSummary& WithApiMode(TestExecutionApiMode&& value) { SetApiMode(std::move(value)); return *this;}
147
149
153 inline const TestExecutionModality& GetTestExecutionModality() const{ return m_testExecutionModality; }
154 inline bool TestExecutionModalityHasBeenSet() const { return m_testExecutionModalityHasBeenSet; }
155 inline void SetTestExecutionModality(const TestExecutionModality& value) { m_testExecutionModalityHasBeenSet = true; m_testExecutionModality = value; }
156 inline void SetTestExecutionModality(TestExecutionModality&& value) { m_testExecutionModalityHasBeenSet = true; m_testExecutionModality = std::move(value); }
160 private:
161
162 Aws::String m_testExecutionId;
163 bool m_testExecutionIdHasBeenSet = false;
164
165 Aws::Utils::DateTime m_creationDateTime;
166 bool m_creationDateTimeHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastUpdatedDateTime;
169 bool m_lastUpdatedDateTimeHasBeenSet = false;
170
171 TestExecutionStatus m_testExecutionStatus;
172 bool m_testExecutionStatusHasBeenSet = false;
173
174 Aws::String m_testSetId;
175 bool m_testSetIdHasBeenSet = false;
176
177 Aws::String m_testSetName;
178 bool m_testSetNameHasBeenSet = false;
179
180 TestExecutionTarget m_target;
181 bool m_targetHasBeenSet = false;
182
183 TestExecutionApiMode m_apiMode;
184 bool m_apiModeHasBeenSet = false;
185
186 TestExecutionModality m_testExecutionModality;
187 bool m_testExecutionModalityHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace LexModelsV2
192} // namespace Aws
TestExecutionSummary & WithTestSetId(Aws::String &&value)
const TestExecutionModality & GetTestExecutionModality() const
const TestExecutionStatus & GetTestExecutionStatus() const
TestExecutionSummary & WithTestExecutionStatus(const TestExecutionStatus &value)
TestExecutionSummary & WithTestExecutionId(const Aws::String &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationDateTime(Aws::Utils::DateTime &&value)
TestExecutionSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
TestExecutionSummary & WithTestSetName(const Aws::String &value)
void SetTestExecutionModality(const TestExecutionModality &value)
AWS_LEXMODELSV2_API TestExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
TestExecutionSummary & WithTestExecutionModality(TestExecutionModality &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
TestExecutionSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
TestExecutionSummary & WithTestSetId(const Aws::String &value)
TestExecutionSummary & WithTestExecutionId(const char *value)
const TestExecutionTarget & GetTarget() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetTarget(const TestExecutionTarget &value)
TestExecutionSummary & WithTestExecutionModality(const TestExecutionModality &value)
TestExecutionSummary & WithTestExecutionStatus(TestExecutionStatus &&value)
void SetTestExecutionStatus(const TestExecutionStatus &value)
TestExecutionSummary & WithTestSetName(const char *value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
AWS_LEXMODELSV2_API TestExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetTestExecutionStatus(TestExecutionStatus &&value)
void SetTestExecutionModality(TestExecutionModality &&value)
void SetApiMode(const TestExecutionApiMode &value)
TestExecutionSummary & WithTestExecutionId(Aws::String &&value)
TestExecutionSummary & WithApiMode(const TestExecutionApiMode &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const TestExecutionApiMode & GetApiMode() const
TestExecutionSummary & WithApiMode(TestExecutionApiMode &&value)
TestExecutionSummary & WithTarget(const TestExecutionTarget &value)
TestExecutionSummary & WithTarget(TestExecutionTarget &&value)
TestExecutionSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
TestExecutionSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetTestExecutionId(const Aws::String &value)
TestExecutionSummary & WithTestSetId(const char *value)
TestExecutionSummary & WithTestSetName(Aws::String &&value)
void SetApiMode(TestExecutionApiMode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue