AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartTestExecutionResult.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/TestExecutionTarget.h>
11#include <aws/lexv2-models/model/TestExecutionApiMode.h>
12#include <aws/lexv2-models/model/TestExecutionModality.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LexModelsV2
28{
29namespace Model
30{
32 {
33 public:
34 AWS_LEXMODELSV2_API StartTestExecutionResult() = default;
37
38
40
43 inline const Aws::String& GetTestExecutionId() const { return m_testExecutionId; }
44 template<typename TestExecutionIdT = Aws::String>
45 void SetTestExecutionId(TestExecutionIdT&& value) { m_testExecutionIdHasBeenSet = true; m_testExecutionId = std::forward<TestExecutionIdT>(value); }
46 template<typename TestExecutionIdT = Aws::String>
47 StartTestExecutionResult& WithTestExecutionId(TestExecutionIdT&& value) { SetTestExecutionId(std::forward<TestExecutionIdT>(value)); return *this;}
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) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
57 template<typename CreationDateTimeT = Aws::Utils::DateTime>
58 StartTestExecutionResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
60
62
65 inline const Aws::String& GetTestSetId() const { return m_testSetId; }
66 template<typename TestSetIdT = Aws::String>
67 void SetTestSetId(TestSetIdT&& value) { m_testSetIdHasBeenSet = true; m_testSetId = std::forward<TestSetIdT>(value); }
68 template<typename TestSetIdT = Aws::String>
69 StartTestExecutionResult& WithTestSetId(TestSetIdT&& value) { SetTestSetId(std::forward<TestSetIdT>(value)); return *this;}
71
73
76 inline const TestExecutionTarget& GetTarget() const { return m_target; }
77 template<typename TargetT = TestExecutionTarget>
78 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
79 template<typename TargetT = TestExecutionTarget>
80 StartTestExecutionResult& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
82
84
90 inline TestExecutionApiMode GetApiMode() const { return m_apiMode; }
91 inline void SetApiMode(TestExecutionApiMode value) { m_apiModeHasBeenSet = true; m_apiMode = value; }
94
96
99 inline TestExecutionModality GetTestExecutionModality() const { return m_testExecutionModality; }
100 inline void SetTestExecutionModality(TestExecutionModality value) { m_testExecutionModalityHasBeenSet = true; m_testExecutionModality = value; }
103
105
106 inline const Aws::String& GetRequestId() const { return m_requestId; }
107 template<typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
109 template<typename RequestIdT = Aws::String>
110 StartTestExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
112 private:
113
114 Aws::String m_testExecutionId;
115 bool m_testExecutionIdHasBeenSet = false;
116
117 Aws::Utils::DateTime m_creationDateTime{};
118 bool m_creationDateTimeHasBeenSet = false;
119
120 Aws::String m_testSetId;
121 bool m_testSetIdHasBeenSet = false;
122
123 TestExecutionTarget m_target;
124 bool m_targetHasBeenSet = false;
125
127 bool m_apiModeHasBeenSet = false;
128
130 bool m_testExecutionModalityHasBeenSet = false;
131
132 Aws::String m_requestId;
133 bool m_requestIdHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace LexModelsV2
138} // 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