AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
StartTestExecutionResult.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/TestExecutionTarget.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2 {
26namespace Model {
28 public:
29 AWS_LEXMODELSV2_API StartTestExecutionResult() = default;
32
34
37 inline const Aws::String& GetTestExecutionId() const { return m_testExecutionId; }
38 template <typename TestExecutionIdT = Aws::String>
39 void SetTestExecutionId(TestExecutionIdT&& value) {
40 m_testExecutionIdHasBeenSet = true;
41 m_testExecutionId = std::forward<TestExecutionIdT>(value);
42 }
43 template <typename TestExecutionIdT = Aws::String>
44 StartTestExecutionResult& WithTestExecutionId(TestExecutionIdT&& value) {
45 SetTestExecutionId(std::forward<TestExecutionIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
55 template <typename CreationDateTimeT = Aws::Utils::DateTime>
56 void SetCreationDateTime(CreationDateTimeT&& value) {
57 m_creationDateTimeHasBeenSet = true;
58 m_creationDateTime = std::forward<CreationDateTimeT>(value);
59 }
60 template <typename CreationDateTimeT = Aws::Utils::DateTime>
61 StartTestExecutionResult& WithCreationDateTime(CreationDateTimeT&& value) {
62 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetTestSetId() const { return m_testSetId; }
72 template <typename TestSetIdT = Aws::String>
73 void SetTestSetId(TestSetIdT&& value) {
74 m_testSetIdHasBeenSet = true;
75 m_testSetId = std::forward<TestSetIdT>(value);
76 }
77 template <typename TestSetIdT = Aws::String>
79 SetTestSetId(std::forward<TestSetIdT>(value));
80 return *this;
81 }
83
85
88 inline const TestExecutionTarget& GetTarget() const { return m_target; }
89 template <typename TargetT = TestExecutionTarget>
90 void SetTarget(TargetT&& value) {
91 m_targetHasBeenSet = true;
92 m_target = std::forward<TargetT>(value);
93 }
94 template <typename TargetT = TestExecutionTarget>
96 SetTarget(std::forward<TargetT>(value));
97 return *this;
98 }
100
102
108 inline TestExecutionApiMode GetApiMode() const { return m_apiMode; }
109 inline void SetApiMode(TestExecutionApiMode value) {
110 m_apiModeHasBeenSet = true;
111 m_apiMode = value;
112 }
114 SetApiMode(value);
115 return *this;
116 }
118
120
123 inline TestExecutionModality GetTestExecutionModality() const { return m_testExecutionModality; }
125 m_testExecutionModalityHasBeenSet = true;
126 m_testExecutionModality = value;
127 }
130 return *this;
131 }
133
135
136 inline const Aws::String& GetRequestId() const { return m_requestId; }
137 template <typename RequestIdT = Aws::String>
138 void SetRequestId(RequestIdT&& value) {
139 m_requestIdHasBeenSet = true;
140 m_requestId = std::forward<RequestIdT>(value);
141 }
142 template <typename RequestIdT = Aws::String>
144 SetRequestId(std::forward<RequestIdT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_testExecutionId;
150
151 Aws::Utils::DateTime m_creationDateTime{};
152
153 Aws::String m_testSetId;
154
155 TestExecutionTarget m_target;
156
158
160
161 Aws::String m_requestId;
162 bool m_testExecutionIdHasBeenSet = false;
163 bool m_creationDateTimeHasBeenSet = false;
164 bool m_testSetIdHasBeenSet = false;
165 bool m_targetHasBeenSet = false;
166 bool m_apiModeHasBeenSet = false;
167 bool m_testExecutionModalityHasBeenSet = false;
168 bool m_requestIdHasBeenSet = false;
169};
170
171} // namespace Model
172} // namespace LexModelsV2
173} // namespace Aws
StartTestExecutionResult & WithTestSetId(TestSetIdT &&value)
StartTestExecutionResult & WithTestExecutionId(TestExecutionIdT &&value)
StartTestExecutionResult & WithCreationDateTime(CreationDateTimeT &&value)
StartTestExecutionResult & WithTestExecutionModality(TestExecutionModality value)
StartTestExecutionResult & WithTarget(TargetT &&value)
StartTestExecutionResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_LEXMODELSV2_API StartTestExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartTestExecutionResult & WithApiMode(TestExecutionApiMode value)
AWS_LEXMODELSV2_API StartTestExecutionResult()=default
AWS_LEXMODELSV2_API StartTestExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue