AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTestExecutionResult.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 <aws/core/utils/memory/stl/AWSVector.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace LexModelsV2
30{
31namespace Model
32{
34 {
35 public:
36 AWS_LEXMODELSV2_API DescribeTestExecutionResult();
39
40
42
45 inline const Aws::String& GetTestExecutionId() const{ return m_testExecutionId; }
46 inline void SetTestExecutionId(const Aws::String& value) { m_testExecutionId = value; }
47 inline void SetTestExecutionId(Aws::String&& value) { m_testExecutionId = std::move(value); }
48 inline void SetTestExecutionId(const char* value) { m_testExecutionId.assign(value); }
50 inline DescribeTestExecutionResult& WithTestExecutionId(Aws::String&& value) { SetTestExecutionId(std::move(value)); return *this;}
51 inline DescribeTestExecutionResult& WithTestExecutionId(const char* value) { SetTestExecutionId(value); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
59 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
60 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
64
66
69 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
70 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
71 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
75
77
80 inline const TestExecutionStatus& GetTestExecutionStatus() const{ return m_testExecutionStatus; }
81 inline void SetTestExecutionStatus(const TestExecutionStatus& value) { m_testExecutionStatus = value; }
82 inline void SetTestExecutionStatus(TestExecutionStatus&& value) { m_testExecutionStatus = std::move(value); }
86
88
91 inline const Aws::String& GetTestSetId() const{ return m_testSetId; }
92 inline void SetTestSetId(const Aws::String& value) { m_testSetId = value; }
93 inline void SetTestSetId(Aws::String&& value) { m_testSetId = std::move(value); }
94 inline void SetTestSetId(const char* value) { m_testSetId.assign(value); }
95 inline DescribeTestExecutionResult& WithTestSetId(const Aws::String& value) { SetTestSetId(value); return *this;}
96 inline DescribeTestExecutionResult& WithTestSetId(Aws::String&& value) { SetTestSetId(std::move(value)); return *this;}
97 inline DescribeTestExecutionResult& WithTestSetId(const char* value) { SetTestSetId(value); return *this;}
99
101
104 inline const Aws::String& GetTestSetName() const{ return m_testSetName; }
105 inline void SetTestSetName(const Aws::String& value) { m_testSetName = value; }
106 inline void SetTestSetName(Aws::String&& value) { m_testSetName = std::move(value); }
107 inline void SetTestSetName(const char* value) { m_testSetName.assign(value); }
108 inline DescribeTestExecutionResult& WithTestSetName(const Aws::String& value) { SetTestSetName(value); return *this;}
109 inline DescribeTestExecutionResult& WithTestSetName(Aws::String&& value) { SetTestSetName(std::move(value)); return *this;}
110 inline DescribeTestExecutionResult& WithTestSetName(const char* value) { SetTestSetName(value); return *this;}
112
114
117 inline const TestExecutionTarget& GetTarget() const{ return m_target; }
118 inline void SetTarget(const TestExecutionTarget& value) { m_target = value; }
119 inline void SetTarget(TestExecutionTarget&& value) { m_target = std::move(value); }
120 inline DescribeTestExecutionResult& WithTarget(const TestExecutionTarget& value) { SetTarget(value); return *this;}
121 inline DescribeTestExecutionResult& WithTarget(TestExecutionTarget&& value) { SetTarget(std::move(value)); return *this;}
123
125
131 inline const TestExecutionApiMode& GetApiMode() const{ return m_apiMode; }
132 inline void SetApiMode(const TestExecutionApiMode& value) { m_apiMode = value; }
133 inline void SetApiMode(TestExecutionApiMode&& value) { m_apiMode = std::move(value); }
134 inline DescribeTestExecutionResult& WithApiMode(const TestExecutionApiMode& value) { SetApiMode(value); return *this;}
135 inline DescribeTestExecutionResult& WithApiMode(TestExecutionApiMode&& value) { SetApiMode(std::move(value)); return *this;}
137
139
142 inline const TestExecutionModality& GetTestExecutionModality() const{ return m_testExecutionModality; }
143 inline void SetTestExecutionModality(const TestExecutionModality& value) { m_testExecutionModality = value; }
144 inline void SetTestExecutionModality(TestExecutionModality&& value) { m_testExecutionModality = std::move(value); }
148
150
153 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
154 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasons = value; }
155 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasons = std::move(value); }
158 inline DescribeTestExecutionResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; }
159 inline DescribeTestExecutionResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; }
160 inline DescribeTestExecutionResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; }
162
164
165 inline const Aws::String& GetRequestId() const{ return m_requestId; }
166 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
167 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
168 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
169 inline DescribeTestExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
170 inline DescribeTestExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
171 inline DescribeTestExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
173 private:
174
175 Aws::String m_testExecutionId;
176
177 Aws::Utils::DateTime m_creationDateTime;
178
179 Aws::Utils::DateTime m_lastUpdatedDateTime;
180
181 TestExecutionStatus m_testExecutionStatus;
182
183 Aws::String m_testSetId;
184
185 Aws::String m_testSetName;
186
187 TestExecutionTarget m_target;
188
189 TestExecutionApiMode m_apiMode;
190
191 TestExecutionModality m_testExecutionModality;
192
193 Aws::Vector<Aws::String> m_failureReasons;
194
195 Aws::String m_requestId;
196 };
197
198} // namespace Model
199} // namespace LexModelsV2
200} // namespace Aws
DescribeTestExecutionResult & WithTestSetId(const char *value)
DescribeTestExecutionResult & WithApiMode(TestExecutionApiMode &&value)
DescribeTestExecutionResult & WithTestSetName(Aws::String &&value)
DescribeTestExecutionResult & WithTestExecutionId(const Aws::String &value)
DescribeTestExecutionResult & WithTestExecutionModality(TestExecutionModality &&value)
DescribeTestExecutionResult & WithRequestId(const char *value)
DescribeTestExecutionResult & AddFailureReasons(Aws::String &&value)
AWS_LEXMODELSV2_API DescribeTestExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTestExecutionResult & WithTestSetId(Aws::String &&value)
void SetTestExecutionStatus(const TestExecutionStatus &value)
DescribeTestExecutionResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DescribeTestExecutionResult & WithApiMode(const TestExecutionApiMode &value)
DescribeTestExecutionResult & WithTestExecutionStatus(TestExecutionStatus &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeTestExecutionResult & WithTestSetName(const Aws::String &value)
DescribeTestExecutionResult & WithTestSetName(const char *value)
void SetTestExecutionModality(const TestExecutionModality &value)
DescribeTestExecutionResult & AddFailureReasons(const char *value)
DescribeTestExecutionResult & WithFailureReasons(const Aws::Vector< Aws::String > &value)
AWS_LEXMODELSV2_API DescribeTestExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTestExecutionResult & WithTestExecutionId(Aws::String &&value)
DescribeTestExecutionResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeTestExecutionResult & WithFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeTestExecutionResult & WithTestExecutionId(const char *value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DescribeTestExecutionResult & WithTestExecutionStatus(const TestExecutionStatus &value)
DescribeTestExecutionResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
DescribeTestExecutionResult & WithTestSetId(const Aws::String &value)
DescribeTestExecutionResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
DescribeTestExecutionResult & WithTarget(const TestExecutionTarget &value)
DescribeTestExecutionResult & AddFailureReasons(const Aws::String &value)
DescribeTestExecutionResult & WithTarget(TestExecutionTarget &&value)
DescribeTestExecutionResult & WithTestExecutionModality(const TestExecutionModality &value)
DescribeTestExecutionResult & WithRequestId(Aws::String &&value)
DescribeTestExecutionResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue