AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
StartTestCaseExecutionRequest.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 StartTestCaseExecutionRequest() = 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 "StartTestCaseExecution"; }
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& GetTestCaseId() const { return m_testCaseId; }
55 inline bool TestCaseIdHasBeenSet() const { return m_testCaseIdHasBeenSet; }
56 template <typename TestCaseIdT = Aws::String>
57 void SetTestCaseId(TestCaseIdT&& value) {
58 m_testCaseIdHasBeenSet = true;
59 m_testCaseId = std::forward<TestCaseIdT>(value);
60 }
61 template <typename TestCaseIdT = Aws::String>
63 SetTestCaseId(std::forward<TestCaseIdT>(value));
64 return *this;
65 }
67
69
76 inline const Aws::String& GetClientToken() const { return m_clientToken; }
77 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
78 template <typename ClientTokenT = Aws::String>
79 void SetClientToken(ClientTokenT&& value) {
80 m_clientTokenHasBeenSet = true;
81 m_clientToken = std::forward<ClientTokenT>(value);
82 }
83 template <typename ClientTokenT = Aws::String>
85 SetClientToken(std::forward<ClientTokenT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_instanceId;
91
92 Aws::String m_testCaseId;
93
95 bool m_instanceIdHasBeenSet = false;
96 bool m_testCaseIdHasBeenSet = false;
97 bool m_clientTokenHasBeenSet = true;
98};
99
100} // namespace Model
101} // namespace Connect
102} // namespace Aws
StartTestCaseExecutionRequest & WithClientToken(ClientTokenT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
StartTestCaseExecutionRequest & WithTestCaseId(TestCaseIdT &&value)
StartTestCaseExecutionRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API StartTestCaseExecutionRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String