AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
TestCaseScenario.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotdeviceadvisor/IoTDeviceAdvisor_EXPORTS.h>
9#include <aws/iotdeviceadvisor/model/TestCaseScenarioStatus.h>
10#include <aws/iotdeviceadvisor/model/TestCaseScenarioType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTDeviceAdvisor {
22namespace Model {
23
30 public:
31 AWS_IOTDEVICEADVISOR_API TestCaseScenario() = default;
32 AWS_IOTDEVICEADVISOR_API TestCaseScenario(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTDEVICEADVISOR_API TestCaseScenario& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTDEVICEADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetTestCaseScenarioId() const { return m_testCaseScenarioId; }
41 inline bool TestCaseScenarioIdHasBeenSet() const { return m_testCaseScenarioIdHasBeenSet; }
42 template <typename TestCaseScenarioIdT = Aws::String>
43 void SetTestCaseScenarioId(TestCaseScenarioIdT&& value) {
44 m_testCaseScenarioIdHasBeenSet = true;
45 m_testCaseScenarioId = std::forward<TestCaseScenarioIdT>(value);
46 }
47 template <typename TestCaseScenarioIdT = Aws::String>
48 TestCaseScenario& WithTestCaseScenarioId(TestCaseScenarioIdT&& value) {
49 SetTestCaseScenarioId(std::forward<TestCaseScenarioIdT>(value));
50 return *this;
51 }
53
55
59 inline TestCaseScenarioType GetTestCaseScenarioType() const { return m_testCaseScenarioType; }
60 inline bool TestCaseScenarioTypeHasBeenSet() const { return m_testCaseScenarioTypeHasBeenSet; }
62 m_testCaseScenarioTypeHasBeenSet = true;
63 m_testCaseScenarioType = value;
64 }
70
72
85 inline TestCaseScenarioStatus GetStatus() const { return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(TestCaseScenarioStatus value) {
88 m_statusHasBeenSet = true;
89 m_status = value;
90 }
92 SetStatus(value);
93 return *this;
94 }
96
98
101 inline const Aws::String& GetFailure() const { return m_failure; }
102 inline bool FailureHasBeenSet() const { return m_failureHasBeenSet; }
103 template <typename FailureT = Aws::String>
104 void SetFailure(FailureT&& value) {
105 m_failureHasBeenSet = true;
106 m_failure = std::forward<FailureT>(value);
107 }
108 template <typename FailureT = Aws::String>
109 TestCaseScenario& WithFailure(FailureT&& value) {
110 SetFailure(std::forward<FailureT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetSystemMessage() const { return m_systemMessage; }
120 inline bool SystemMessageHasBeenSet() const { return m_systemMessageHasBeenSet; }
121 template <typename SystemMessageT = Aws::String>
122 void SetSystemMessage(SystemMessageT&& value) {
123 m_systemMessageHasBeenSet = true;
124 m_systemMessage = std::forward<SystemMessageT>(value);
125 }
126 template <typename SystemMessageT = Aws::String>
127 TestCaseScenario& WithSystemMessage(SystemMessageT&& value) {
128 SetSystemMessage(std::forward<SystemMessageT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_testCaseScenarioId;
134
136
138
139 Aws::String m_failure;
140
141 Aws::String m_systemMessage;
142 bool m_testCaseScenarioIdHasBeenSet = false;
143 bool m_testCaseScenarioTypeHasBeenSet = false;
144 bool m_statusHasBeenSet = false;
145 bool m_failureHasBeenSet = false;
146 bool m_systemMessageHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace IoTDeviceAdvisor
151} // namespace Aws
AWS_IOTDEVICEADVISOR_API TestCaseScenario()=default
void SetTestCaseScenarioType(TestCaseScenarioType value)
TestCaseScenario & WithTestCaseScenarioId(TestCaseScenarioIdT &&value)
void SetTestCaseScenarioId(TestCaseScenarioIdT &&value)
TestCaseScenario & WithSystemMessage(SystemMessageT &&value)
TestCaseScenario & WithStatus(TestCaseScenarioStatus value)
TestCaseScenario & WithFailure(FailureT &&value)
TestCaseScenario & WithTestCaseScenarioType(TestCaseScenarioType value)
AWS_IOTDEVICEADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
TestCaseScenarioType GetTestCaseScenarioType() const
AWS_IOTDEVICEADVISOR_API TestCaseScenario & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(TestCaseScenarioStatus value)
AWS_IOTDEVICEADVISOR_API TestCaseScenario(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTestCaseScenarioId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue