AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
StartTestCaseExecutionResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/TestCaseExecutionStatus.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Connect {
24namespace Model {
26 public:
27 AWS_CONNECT_API StartTestCaseExecutionResult() = default;
30
32
35 inline const Aws::String& GetTestCaseExecutionId() const { return m_testCaseExecutionId; }
36 template <typename TestCaseExecutionIdT = Aws::String>
37 void SetTestCaseExecutionId(TestCaseExecutionIdT&& value) {
38 m_testCaseExecutionIdHasBeenSet = true;
39 m_testCaseExecutionId = std::forward<TestCaseExecutionIdT>(value);
40 }
41 template <typename TestCaseExecutionIdT = Aws::String>
43 SetTestCaseExecutionId(std::forward<TestCaseExecutionIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetTestCaseId() const { return m_testCaseId; }
53 template <typename TestCaseIdT = Aws::String>
54 void SetTestCaseId(TestCaseIdT&& value) {
55 m_testCaseIdHasBeenSet = true;
56 m_testCaseId = std::forward<TestCaseIdT>(value);
57 }
58 template <typename TestCaseIdT = Aws::String>
60 SetTestCaseId(std::forward<TestCaseIdT>(value));
61 return *this;
62 }
64
66
67 inline TestCaseExecutionStatus GetStatus() const { return m_status; }
69 m_statusHasBeenSet = true;
70 m_status = value;
71 }
73 SetStatus(value);
74 return *this;
75 }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template <typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) {
83 m_requestIdHasBeenSet = true;
84 m_requestId = std::forward<RequestIdT>(value);
85 }
86 template <typename RequestIdT = Aws::String>
88 SetRequestId(std::forward<RequestIdT>(value));
89 return *this;
90 }
92 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
93
94 private:
95 Aws::String m_testCaseExecutionId;
96
97 Aws::String m_testCaseId;
98
100
101 Aws::String m_requestId;
102 Aws::Http::HttpResponseCode m_HttpResponseCode;
103 bool m_testCaseExecutionIdHasBeenSet = false;
104 bool m_testCaseIdHasBeenSet = false;
105 bool m_statusHasBeenSet = false;
106 bool m_requestIdHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Connect
111} // namespace Aws
StartTestCaseExecutionResult & WithStatus(TestCaseExecutionStatus value)
AWS_CONNECT_API StartTestCaseExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartTestCaseExecutionResult & WithRequestId(RequestIdT &&value)
AWS_CONNECT_API StartTestCaseExecutionResult()=default
StartTestCaseExecutionResult & WithTestCaseExecutionId(TestCaseExecutionIdT &&value)
AWS_CONNECT_API StartTestCaseExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartTestCaseExecutionResult & WithTestCaseId(TestCaseIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue