AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ScheduleRunTest.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/model/TestType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DeviceFarm
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_DEVICEFARM_API ScheduleRunTest() = default;
39 AWS_DEVICEFARM_API ScheduleRunTest(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
55 inline TestType GetType() const { return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(TestType value) { m_typeHasBeenSet = true; m_type = value; }
58 inline ScheduleRunTest& WithType(TestType value) { SetType(value); return *this;}
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) { m_testPackageArnHasBeenSet = true; m_testPackageArn = std::forward<TestPackageArnT>(value); }
69 template<typename TestPackageArnT = Aws::String>
70 ScheduleRunTest& WithTestPackageArn(TestPackageArnT&& value) { SetTestPackageArn(std::forward<TestPackageArnT>(value)); return *this;}
72
74
77 inline const Aws::String& GetTestSpecArn() const { return m_testSpecArn; }
78 inline bool TestSpecArnHasBeenSet() const { return m_testSpecArnHasBeenSet; }
79 template<typename TestSpecArnT = Aws::String>
80 void SetTestSpecArn(TestSpecArnT&& value) { m_testSpecArnHasBeenSet = true; m_testSpecArn = std::forward<TestSpecArnT>(value); }
81 template<typename TestSpecArnT = Aws::String>
82 ScheduleRunTest& WithTestSpecArn(TestSpecArnT&& value) { SetTestSpecArn(std::forward<TestSpecArnT>(value)); return *this;}
84
86
89 inline const Aws::String& GetFilter() const { return m_filter; }
90 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
91 template<typename FilterT = Aws::String>
92 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
93 template<typename FilterT = Aws::String>
94 ScheduleRunTest& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
96
98
128 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
129 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
130 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
131 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
132 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
133 ScheduleRunTest& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
134 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
135 ScheduleRunTest& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
136 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
137 }
139 private:
140
142 bool m_typeHasBeenSet = false;
143
144 Aws::String m_testPackageArn;
145 bool m_testPackageArnHasBeenSet = false;
146
147 Aws::String m_testSpecArn;
148 bool m_testSpecArnHasBeenSet = false;
149
150 Aws::String m_filter;
151 bool m_filterHasBeenSet = false;
152
154 bool m_parametersHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace DeviceFarm
159} // 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