AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
StopTestCaseExecutionRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Connect {
16namespace Model {
17
21 public:
22 AWS_CONNECT_API StopTestCaseExecutionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StopTestCaseExecution"; }
29
30 AWS_CONNECT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
37 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
38 template <typename InstanceIdT = Aws::String>
39 void SetInstanceId(InstanceIdT&& value) {
40 m_instanceIdHasBeenSet = true;
41 m_instanceId = std::forward<InstanceIdT>(value);
42 }
43 template <typename InstanceIdT = Aws::String>
45 SetInstanceId(std::forward<InstanceIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetTestCaseExecutionId() const { return m_testCaseExecutionId; }
55 inline bool TestCaseExecutionIdHasBeenSet() const { return m_testCaseExecutionIdHasBeenSet; }
56 template <typename TestCaseExecutionIdT = Aws::String>
57 void SetTestCaseExecutionId(TestCaseExecutionIdT&& value) {
58 m_testCaseExecutionIdHasBeenSet = true;
59 m_testCaseExecutionId = std::forward<TestCaseExecutionIdT>(value);
60 }
61 template <typename TestCaseExecutionIdT = Aws::String>
63 SetTestCaseExecutionId(std::forward<TestCaseExecutionIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetTestCaseId() const { return m_testCaseId; }
73 inline bool TestCaseIdHasBeenSet() const { return m_testCaseIdHasBeenSet; }
74 template <typename TestCaseIdT = Aws::String>
75 void SetTestCaseId(TestCaseIdT&& value) {
76 m_testCaseIdHasBeenSet = true;
77 m_testCaseId = std::forward<TestCaseIdT>(value);
78 }
79 template <typename TestCaseIdT = Aws::String>
81 SetTestCaseId(std::forward<TestCaseIdT>(value));
82 return *this;
83 }
85
87
94 inline const Aws::String& GetClientToken() const { return m_clientToken; }
95 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
96 template <typename ClientTokenT = Aws::String>
97 void SetClientToken(ClientTokenT&& value) {
98 m_clientTokenHasBeenSet = true;
99 m_clientToken = std::forward<ClientTokenT>(value);
100 }
101 template <typename ClientTokenT = Aws::String>
103 SetClientToken(std::forward<ClientTokenT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_instanceId;
109
110 Aws::String m_testCaseExecutionId;
111
112 Aws::String m_testCaseId;
113
115 bool m_instanceIdHasBeenSet = false;
116 bool m_testCaseExecutionIdHasBeenSet = false;
117 bool m_testCaseIdHasBeenSet = false;
118 bool m_clientTokenHasBeenSet = true;
119};
120
121} // namespace Model
122} // namespace Connect
123} // namespace Aws
AWS_CONNECT_API StopTestCaseExecutionRequest()=default
virtual const char * GetServiceRequestName() const override
StopTestCaseExecutionRequest & WithClientToken(ClientTokenT &&value)
StopTestCaseExecutionRequest & WithTestCaseExecutionId(TestCaseExecutionIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
StopTestCaseExecutionRequest & WithInstanceId(InstanceIdT &&value)
StopTestCaseExecutionRequest & WithTestCaseId(TestCaseIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String