AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
DescribeTestCaseRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/TestCaseStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace Connect {
19namespace Model {
20
24 public:
25 AWS_CONNECT_API DescribeTestCaseRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeTestCase"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
42 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
43 template <typename InstanceIdT = Aws::String>
44 void SetInstanceId(InstanceIdT&& value) {
45 m_instanceIdHasBeenSet = true;
46 m_instanceId = std::forward<InstanceIdT>(value);
47 }
48 template <typename InstanceIdT = Aws::String>
50 SetInstanceId(std::forward<InstanceIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetTestCaseId() const { return m_testCaseId; }
60 inline bool TestCaseIdHasBeenSet() const { return m_testCaseIdHasBeenSet; }
61 template <typename TestCaseIdT = Aws::String>
62 void SetTestCaseId(TestCaseIdT&& value) {
63 m_testCaseIdHasBeenSet = true;
64 m_testCaseId = std::forward<TestCaseIdT>(value);
65 }
66 template <typename TestCaseIdT = Aws::String>
68 SetTestCaseId(std::forward<TestCaseIdT>(value));
69 return *this;
70 }
72
74
78 inline TestCaseStatus GetStatus() const { return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(TestCaseStatus value) {
81 m_statusHasBeenSet = true;
82 m_status = value;
83 }
85 SetStatus(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_statusHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Connect
102} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_CONNECT_API Aws::String SerializePayload() const override
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeTestCaseRequest & WithTestCaseId(TestCaseIdT &&value)
AWS_CONNECT_API DescribeTestCaseRequest()=default
DescribeTestCaseRequest & WithStatus(TestCaseStatus value)
DescribeTestCaseRequest & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String