AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
ScheduleRunTest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/TestType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DeviceFarm {
22namespace Model {
23
32 public:
33 AWS_DEVICEFARM_API ScheduleRunTest() = default;
34 AWS_DEVICEFARM_API ScheduleRunTest(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
49 inline TestType GetType() const { return m_type; }
50 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 inline void SetType(TestType value) {
52 m_typeHasBeenSet = true;
53 m_type = value;
54 }
56 SetType(value);
57 return *this;
58 }
60
62
65 inline const Aws::String& GetTestPackageArn() const { return m_testPackageArn; }
66 inline bool TestPackageArnHasBeenSet() const { return m_testPackageArnHasBeenSet; }
67 template <typename TestPackageArnT = Aws::String>
68 void SetTestPackageArn(TestPackageArnT&& value) {
69 m_testPackageArnHasBeenSet = true;
70 m_testPackageArn = std::forward<TestPackageArnT>(value);
71 }
72 template <typename TestPackageArnT = Aws::String>
73 ScheduleRunTest& WithTestPackageArn(TestPackageArnT&& value) {
74 SetTestPackageArn(std::forward<TestPackageArnT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetTestSpecArn() const { return m_testSpecArn; }
84 inline bool TestSpecArnHasBeenSet() const { return m_testSpecArnHasBeenSet; }
85 template <typename TestSpecArnT = Aws::String>
86 void SetTestSpecArn(TestSpecArnT&& value) {
87 m_testSpecArnHasBeenSet = true;
88 m_testSpecArn = std::forward<TestSpecArnT>(value);
89 }
90 template <typename TestSpecArnT = Aws::String>
91 ScheduleRunTest& WithTestSpecArn(TestSpecArnT&& value) {
92 SetTestSpecArn(std::forward<TestSpecArnT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetFilter() const { return m_filter; }
102 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
103 template <typename FilterT = Aws::String>
104 void SetFilter(FilterT&& value) {
105 m_filterHasBeenSet = true;
106 m_filter = std::forward<FilterT>(value);
107 }
108 template <typename FilterT = Aws::String>
109 ScheduleRunTest& WithFilter(FilterT&& value) {
110 SetFilter(std::forward<FilterT>(value));
111 return *this;
112 }
114
116
146 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
147 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
148 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
149 void SetParameters(ParametersT&& value) {
150 m_parametersHasBeenSet = true;
151 m_parameters = std::forward<ParametersT>(value);
152 }
153 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
154 ScheduleRunTest& WithParameters(ParametersT&& value) {
155 SetParameters(std::forward<ParametersT>(value));
156 return *this;
157 }
158 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
159 ScheduleRunTest& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
160 m_parametersHasBeenSet = true;
161 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
162 return *this;
163 }
165 private:
167
168 Aws::String m_testPackageArn;
169
170 Aws::String m_testSpecArn;
171
172 Aws::String m_filter;
173
175 bool m_typeHasBeenSet = false;
176 bool m_testPackageArnHasBeenSet = false;
177 bool m_testSpecArnHasBeenSet = false;
178 bool m_filterHasBeenSet = false;
179 bool m_parametersHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace DeviceFarm
184} // namespace Aws
const Aws::String & GetTestPackageArn() const
AWS_DEVICEFARM_API ScheduleRunTest(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTestSpecArn() const
const Aws::String & GetFilter() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
ScheduleRunTest & WithFilter(FilterT &&value)
ScheduleRunTest & WithParameters(ParametersT &&value)
AWS_DEVICEFARM_API ScheduleRunTest()=default
ScheduleRunTest & WithTestPackageArn(TestPackageArnT &&value)
ScheduleRunTest & WithType(TestType value)
ScheduleRunTest & WithTestSpecArn(TestSpecArnT &&value)
AWS_DEVICEFARM_API ScheduleRunTest & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleRunTest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
void SetTestSpecArn(TestSpecArnT &&value)
void SetParameters(ParametersT &&value)
void SetTestPackageArn(TestPackageArnT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue