AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const TestType& GetType() const{ return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(const TestType& value) { m_typeHasBeenSet = true; m_type = value; }
58 inline void SetType(TestType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
59 inline ScheduleRunTest& WithType(const TestType& value) { SetType(value); return *this;}
60 inline ScheduleRunTest& WithType(TestType&& value) { SetType(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetTestPackageArn() const{ return m_testPackageArn; }
68 inline bool TestPackageArnHasBeenSet() const { return m_testPackageArnHasBeenSet; }
69 inline void SetTestPackageArn(const Aws::String& value) { m_testPackageArnHasBeenSet = true; m_testPackageArn = value; }
70 inline void SetTestPackageArn(Aws::String&& value) { m_testPackageArnHasBeenSet = true; m_testPackageArn = std::move(value); }
71 inline void SetTestPackageArn(const char* value) { m_testPackageArnHasBeenSet = true; m_testPackageArn.assign(value); }
72 inline ScheduleRunTest& WithTestPackageArn(const Aws::String& value) { SetTestPackageArn(value); return *this;}
73 inline ScheduleRunTest& WithTestPackageArn(Aws::String&& value) { SetTestPackageArn(std::move(value)); return *this;}
74 inline ScheduleRunTest& WithTestPackageArn(const char* value) { SetTestPackageArn(value); return *this;}
76
78
81 inline const Aws::String& GetTestSpecArn() const{ return m_testSpecArn; }
82 inline bool TestSpecArnHasBeenSet() const { return m_testSpecArnHasBeenSet; }
83 inline void SetTestSpecArn(const Aws::String& value) { m_testSpecArnHasBeenSet = true; m_testSpecArn = value; }
84 inline void SetTestSpecArn(Aws::String&& value) { m_testSpecArnHasBeenSet = true; m_testSpecArn = std::move(value); }
85 inline void SetTestSpecArn(const char* value) { m_testSpecArnHasBeenSet = true; m_testSpecArn.assign(value); }
86 inline ScheduleRunTest& WithTestSpecArn(const Aws::String& value) { SetTestSpecArn(value); return *this;}
87 inline ScheduleRunTest& WithTestSpecArn(Aws::String&& value) { SetTestSpecArn(std::move(value)); return *this;}
88 inline ScheduleRunTest& WithTestSpecArn(const char* value) { SetTestSpecArn(value); return *this;}
90
92
95 inline const Aws::String& GetFilter() const{ return m_filter; }
96 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
97 inline void SetFilter(const Aws::String& value) { m_filterHasBeenSet = true; m_filter = value; }
98 inline void SetFilter(Aws::String&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
99 inline void SetFilter(const char* value) { m_filterHasBeenSet = true; m_filter.assign(value); }
100 inline ScheduleRunTest& WithFilter(const Aws::String& value) { SetFilter(value); return *this;}
101 inline ScheduleRunTest& WithFilter(Aws::String&& value) { SetFilter(std::move(value)); return *this;}
102 inline ScheduleRunTest& WithFilter(const char* value) { SetFilter(value); return *this;}
104
106
136 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
137 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
138 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
139 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
141 inline ScheduleRunTest& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
142 inline ScheduleRunTest& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
143 inline ScheduleRunTest& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
144 inline ScheduleRunTest& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
145 inline ScheduleRunTest& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
146 inline ScheduleRunTest& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
147 inline ScheduleRunTest& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
148 inline ScheduleRunTest& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
150 private:
151
152 TestType m_type;
153 bool m_typeHasBeenSet = false;
154
155 Aws::String m_testPackageArn;
156 bool m_testPackageArnHasBeenSet = false;
157
158 Aws::String m_testSpecArn;
159 bool m_testSpecArnHasBeenSet = false;
160
161 Aws::String m_filter;
162 bool m_filterHasBeenSet = false;
163
165 bool m_parametersHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace DeviceFarm
170} // namespace Aws
const Aws::String & GetTestPackageArn() const
void SetFilter(const Aws::String &value)
AWS_DEVICEFARM_API ScheduleRunTest(Aws::Utils::Json::JsonView jsonValue)
ScheduleRunTest & WithFilter(Aws::String &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduleRunTest & AddParameters(const char *key, Aws::String &&value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
ScheduleRunTest & WithType(TestType &&value)
const Aws::String & GetTestSpecArn() const
ScheduleRunTest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetTestPackageArn(const Aws::String &value)
const Aws::String & GetFilter() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
ScheduleRunTest & WithTestSpecArn(const Aws::String &value)
ScheduleRunTest & WithTestSpecArn(Aws::String &&value)
void SetTestSpecArn(const Aws::String &value)
ScheduleRunTest & WithFilter(const Aws::String &value)
ScheduleRunTest & AddParameters(const char *key, const char *value)
void SetType(const TestType &value)
void SetTestSpecArn(Aws::String &&value)
void SetTestPackageArn(Aws::String &&value)
void SetTestPackageArn(const char *value)
ScheduleRunTest & WithTestPackageArn(const char *value)
ScheduleRunTest & AddParameters(const Aws::String &key, const Aws::String &value)
ScheduleRunTest & AddParameters(Aws::String &&key, const Aws::String &value)
ScheduleRunTest & WithTestPackageArn(Aws::String &&value)
ScheduleRunTest & WithTestSpecArn(const char *value)
ScheduleRunTest & AddParameters(const Aws::String &key, Aws::String &&value)
ScheduleRunTest & WithTestPackageArn(const Aws::String &value)
ScheduleRunTest & AddParameters(Aws::String &&key, Aws::String &&value)
AWS_DEVICEFARM_API ScheduleRunTest & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleRunTest & AddParameters(Aws::String &&key, const char *value)
ScheduleRunTest & WithType(const TestType &value)
ScheduleRunTest & WithFilter(const char *value)
ScheduleRunTest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &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