AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetTestExecutionId() const{ return m_testExecutionId; }
44 inline void SetTestExecutionId(const Aws::String& value) { m_testExecutionId = value; }
45 inline void SetTestExecutionId(Aws::String&& value) { m_testExecutionId = std::move(value); }
46 inline void SetTestExecutionId(const char* value) { m_testExecutionId.assign(value); }
47 inline StartTestExecutionResult& WithTestExecutionId(const Aws::String& value) { SetTestExecutionId(value); return *this;}
48 inline StartTestExecutionResult& WithTestExecutionId(Aws::String&& value) { SetTestExecutionId(std::move(value)); return *this;}
49 inline StartTestExecutionResult& WithTestExecutionId(const char* value) { SetTestExecutionId(value); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
57 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
58 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
62
64
67 inline const Aws::String& GetTestSetId() const{ return m_testSetId; }
68 inline void SetTestSetId(const Aws::String& value) { m_testSetId = value; }
69 inline void SetTestSetId(Aws::String&& value) { m_testSetId = std::move(value); }
70 inline void SetTestSetId(const char* value) { m_testSetId.assign(value); }
71 inline StartTestExecutionResult& WithTestSetId(const Aws::String& value) { SetTestSetId(value); return *this;}
72 inline StartTestExecutionResult& WithTestSetId(Aws::String&& value) { SetTestSetId(std::move(value)); return *this;}
73 inline StartTestExecutionResult& WithTestSetId(const char* value) { SetTestSetId(value); return *this;}
75
77
80 inline const TestExecutionTarget& GetTarget() const{ return m_target; }
81 inline void SetTarget(const TestExecutionTarget& value) { m_target = value; }
82 inline void SetTarget(TestExecutionTarget&& value) { m_target = std::move(value); }
83 inline StartTestExecutionResult& WithTarget(const TestExecutionTarget& value) { SetTarget(value); return *this;}
84 inline StartTestExecutionResult& WithTarget(TestExecutionTarget&& value) { SetTarget(std::move(value)); return *this;}
86
88
94 inline const TestExecutionApiMode& GetApiMode() const{ return m_apiMode; }
95 inline void SetApiMode(const TestExecutionApiMode& value) { m_apiMode = value; }
96 inline void SetApiMode(TestExecutionApiMode&& value) { m_apiMode = std::move(value); }
97 inline StartTestExecutionResult& WithApiMode(const TestExecutionApiMode& value) { SetApiMode(value); return *this;}
98 inline StartTestExecutionResult& WithApiMode(TestExecutionApiMode&& value) { SetApiMode(std::move(value)); return *this;}
100
102
105 inline const TestExecutionModality& GetTestExecutionModality() const{ return m_testExecutionModality; }
106 inline void SetTestExecutionModality(const TestExecutionModality& value) { m_testExecutionModality = value; }
107 inline void SetTestExecutionModality(TestExecutionModality&& value) { m_testExecutionModality = std::move(value); }
111
113
114 inline const Aws::String& GetRequestId() const{ return m_requestId; }
115 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
116 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
117 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
118 inline StartTestExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
119 inline StartTestExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
120 inline StartTestExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
122 private:
123
124 Aws::String m_testExecutionId;
125
126 Aws::Utils::DateTime m_creationDateTime;
127
128 Aws::String m_testSetId;
129
130 TestExecutionTarget m_target;
131
132 TestExecutionApiMode m_apiMode;
133
134 TestExecutionModality m_testExecutionModality;
135
136 Aws::String m_requestId;
137 };
138
139} // namespace Model
140} // namespace LexModelsV2
141} // namespace Aws
StartTestExecutionResult & WithTarget(TestExecutionTarget &&value)
StartTestExecutionResult & WithApiMode(TestExecutionApiMode &&value)
const TestExecutionModality & GetTestExecutionModality() const
StartTestExecutionResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
StartTestExecutionResult & WithTestExecutionModality(const TestExecutionModality &value)
StartTestExecutionResult & WithRequestId(const Aws::String &value)
StartTestExecutionResult & WithRequestId(Aws::String &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetApiMode(const TestExecutionApiMode &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
StartTestExecutionResult & WithTestExecutionId(Aws::String &&value)
AWS_LEXMODELSV2_API StartTestExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartTestExecutionResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
StartTestExecutionResult & WithTestSetId(const char *value)
StartTestExecutionResult & WithTestSetId(Aws::String &&value)
StartTestExecutionResult & WithApiMode(const TestExecutionApiMode &value)
void SetTestExecutionModality(TestExecutionModality &&value)
StartTestExecutionResult & WithTestSetId(const Aws::String &value)
AWS_LEXMODELSV2_API StartTestExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartTestExecutionResult & WithTestExecutionModality(TestExecutionModality &&value)
void SetTestExecutionModality(const TestExecutionModality &value)
StartTestExecutionResult & WithTestExecutionId(const Aws::String &value)
StartTestExecutionResult & WithTestExecutionId(const char *value)
StartTestExecutionResult & WithRequestId(const char *value)
StartTestExecutionResult & WithTarget(const TestExecutionTarget &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue