AWS SDK for C++  1.9.154
AWS SDK for C++
ScheduleRunTest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace DeviceFarm
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
58  inline const TestType& GetType() const{ return m_type; }
59 
74  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 
90  inline void SetType(const TestType& value) { m_typeHasBeenSet = true; m_type = value; }
91 
106  inline void SetType(TestType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
107 
122  inline ScheduleRunTest& WithType(const TestType& value) { SetType(value); return *this;}
123 
138  inline ScheduleRunTest& WithType(TestType&& value) { SetType(std::move(value)); return *this;}
139 
140 
144  inline const Aws::String& GetTestPackageArn() const{ return m_testPackageArn; }
145 
149  inline bool TestPackageArnHasBeenSet() const { return m_testPackageArnHasBeenSet; }
150 
154  inline void SetTestPackageArn(const Aws::String& value) { m_testPackageArnHasBeenSet = true; m_testPackageArn = value; }
155 
159  inline void SetTestPackageArn(Aws::String&& value) { m_testPackageArnHasBeenSet = true; m_testPackageArn = std::move(value); }
160 
164  inline void SetTestPackageArn(const char* value) { m_testPackageArnHasBeenSet = true; m_testPackageArn.assign(value); }
165 
169  inline ScheduleRunTest& WithTestPackageArn(const Aws::String& value) { SetTestPackageArn(value); return *this;}
170 
174  inline ScheduleRunTest& WithTestPackageArn(Aws::String&& value) { SetTestPackageArn(std::move(value)); return *this;}
175 
179  inline ScheduleRunTest& WithTestPackageArn(const char* value) { SetTestPackageArn(value); return *this;}
180 
181 
185  inline const Aws::String& GetTestSpecArn() const{ return m_testSpecArn; }
186 
190  inline bool TestSpecArnHasBeenSet() const { return m_testSpecArnHasBeenSet; }
191 
195  inline void SetTestSpecArn(const Aws::String& value) { m_testSpecArnHasBeenSet = true; m_testSpecArn = value; }
196 
200  inline void SetTestSpecArn(Aws::String&& value) { m_testSpecArnHasBeenSet = true; m_testSpecArn = std::move(value); }
201 
205  inline void SetTestSpecArn(const char* value) { m_testSpecArnHasBeenSet = true; m_testSpecArn.assign(value); }
206 
210  inline ScheduleRunTest& WithTestSpecArn(const Aws::String& value) { SetTestSpecArn(value); return *this;}
211 
215  inline ScheduleRunTest& WithTestSpecArn(Aws::String&& value) { SetTestSpecArn(std::move(value)); return *this;}
216 
220  inline ScheduleRunTest& WithTestSpecArn(const char* value) { SetTestSpecArn(value); return *this;}
221 
222 
226  inline const Aws::String& GetFilter() const{ return m_filter; }
227 
231  inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
232 
236  inline void SetFilter(const Aws::String& value) { m_filterHasBeenSet = true; m_filter = value; }
237 
241  inline void SetFilter(Aws::String&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
242 
246  inline void SetFilter(const char* value) { m_filterHasBeenSet = true; m_filter.assign(value); }
247 
251  inline ScheduleRunTest& WithFilter(const Aws::String& value) { SetFilter(value); return *this;}
252 
256  inline ScheduleRunTest& WithFilter(Aws::String&& value) { SetFilter(std::move(value)); return *this;}
257 
261  inline ScheduleRunTest& WithFilter(const char* value) { SetFilter(value); return *this;}
262 
263 
307  inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
308 
352  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
353 
397  inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
398 
442  inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
443 
487  inline ScheduleRunTest& WithParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetParameters(value); return *this;}
488 
532  inline ScheduleRunTest& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
533 
577  inline ScheduleRunTest& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
578 
622  inline ScheduleRunTest& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
623 
667  inline ScheduleRunTest& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
668 
712  inline ScheduleRunTest& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
713 
757  inline ScheduleRunTest& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
758 
802  inline ScheduleRunTest& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
803 
847  inline ScheduleRunTest& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
848 
849  private:
850 
851  TestType m_type;
852  bool m_typeHasBeenSet;
853 
854  Aws::String m_testPackageArn;
855  bool m_testPackageArnHasBeenSet;
856 
857  Aws::String m_testSpecArn;
858  bool m_testSpecArnHasBeenSet;
859 
860  Aws::String m_filter;
861  bool m_filterHasBeenSet;
862 
864  bool m_parametersHasBeenSet;
865  };
866 
867 } // namespace Model
868 } // namespace DeviceFarm
869 } // namespace Aws
Aws::DeviceFarm::Model::ScheduleRunTest::AddParameters
ScheduleRunTest & AddParameters(Aws::String &&key, Aws::String &&value)
Definition: ScheduleRunTest.h:712
Aws::DeviceFarm::Model::ScheduleRunTest::SetTestSpecArn
void SetTestSpecArn(const Aws::String &value)
Definition: ScheduleRunTest.h:195
Aws::DeviceFarm::Model::ScheduleRunTest::WithFilter
ScheduleRunTest & WithFilter(const Aws::String &value)
Definition: ScheduleRunTest.h:251
Aws::DeviceFarm::Model::ScheduleRunTest::GetType
const TestType & GetType() const
Definition: ScheduleRunTest.h:58
Aws::DeviceFarm::Model::ScheduleRunTest::WithTestPackageArn
ScheduleRunTest & WithTestPackageArn(Aws::String &&value)
Definition: ScheduleRunTest.h:174
Aws::DeviceFarm::Model::ScheduleRunTest::WithParameters
ScheduleRunTest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ScheduleRunTest.h:487
Aws::DeviceFarm::Model::ScheduleRunTest::SetTestSpecArn
void SetTestSpecArn(Aws::String &&value)
Definition: ScheduleRunTest.h:200
Aws::DeviceFarm::Model::ScheduleRunTest::WithTestSpecArn
ScheduleRunTest & WithTestSpecArn(Aws::String &&value)
Definition: ScheduleRunTest.h:215
Aws::DeviceFarm::Model::ScheduleRunTest::WithType
ScheduleRunTest & WithType(const TestType &value)
Definition: ScheduleRunTest.h:122
Aws::DeviceFarm::Model::ScheduleRunTest::GetTestSpecArn
const Aws::String & GetTestSpecArn() const
Definition: ScheduleRunTest.h:185
Aws::DeviceFarm::Model::ScheduleRunTest::SetFilter
void SetFilter(Aws::String &&value)
Definition: ScheduleRunTest.h:241
Aws::DeviceFarm::Model::ScheduleRunTest::ScheduleRunTest
ScheduleRunTest()
Aws::DeviceFarm::Model::ScheduleRunTest::SetFilter
void SetFilter(const Aws::String &value)
Definition: ScheduleRunTest.h:236
Aws::DeviceFarm::Model::ScheduleRunTest
Definition: ScheduleRunTest.h:36
Aws::DeviceFarm::Model::ScheduleRunTest::AddParameters
ScheduleRunTest & AddParameters(const Aws::String &key, Aws::String &&value)
Definition: ScheduleRunTest.h:667
Aws::DeviceFarm::Model::ScheduleRunTest::WithType
ScheduleRunTest & WithType(TestType &&value)
Definition: ScheduleRunTest.h:138
Aws::DeviceFarm::Model::ScheduleRunTest::AddParameters
ScheduleRunTest & AddParameters(const char *key, Aws::String &&value)
Definition: ScheduleRunTest.h:757
Aws::DeviceFarm::Model::ScheduleRunTest::TestPackageArnHasBeenSet
bool TestPackageArnHasBeenSet() const
Definition: ScheduleRunTest.h:149
Aws::DeviceFarm::Model::ScheduleRunTest::SetParameters
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ScheduleRunTest.h:397
Aws::DeviceFarm::Model::ScheduleRunTest::AddParameters
ScheduleRunTest & AddParameters(const char *key, const char *value)
Definition: ScheduleRunTest.h:847
Aws::DeviceFarm::Model::ScheduleRunTest::WithParameters
ScheduleRunTest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ScheduleRunTest.h:532
Aws::DeviceFarm::Model::ScheduleRunTest::SetTestPackageArn
void SetTestPackageArn(const Aws::String &value)
Definition: ScheduleRunTest.h:154
Aws::DeviceFarm::Model::ScheduleRunTest::AddParameters
ScheduleRunTest & AddParameters(Aws::String &&key, const Aws::String &value)
Definition: ScheduleRunTest.h:622
Aws::DeviceFarm::Model::ScheduleRunTest::WithTestPackageArn
ScheduleRunTest & WithTestPackageArn(const char *value)
Definition: ScheduleRunTest.h:179
Aws::DeviceFarm::Model::ScheduleRunTest::ScheduleRunTest
ScheduleRunTest(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::ScheduleRunTest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ScheduleRunTest.h:74
Aws::DeviceFarm::Model::ScheduleRunTest::AddParameters
ScheduleRunTest & AddParameters(const Aws::String &key, const Aws::String &value)
Definition: ScheduleRunTest.h:577
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DeviceFarm::Model::ScheduleRunTest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DeviceFarm::Model::ScheduleRunTest::WithTestSpecArn
ScheduleRunTest & WithTestSpecArn(const char *value)
Definition: ScheduleRunTest.h:220
Aws::DeviceFarm::Model::ScheduleRunTest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: ScheduleRunTest.h:352
Aws::DeviceFarm::Model::ScheduleRunTest::WithTestPackageArn
ScheduleRunTest & WithTestPackageArn(const Aws::String &value)
Definition: ScheduleRunTest.h:169
Aws::DeviceFarm::Model::ScheduleRunTest::operator=
ScheduleRunTest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::ScheduleRunTest::SetTestPackageArn
void SetTestPackageArn(const char *value)
Definition: ScheduleRunTest.h:164
Aws::DeviceFarm::Model::ScheduleRunTest::AddParameters
ScheduleRunTest & AddParameters(Aws::String &&key, const char *value)
Definition: ScheduleRunTest.h:802
Aws::DeviceFarm::Model::ScheduleRunTest::SetTestPackageArn
void SetTestPackageArn(Aws::String &&value)
Definition: ScheduleRunTest.h:159
Aws::DeviceFarm::Model::TestType
TestType
Definition: TestType.h:17
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DeviceFarm::Model::ScheduleRunTest::WithFilter
ScheduleRunTest & WithFilter(Aws::String &&value)
Definition: ScheduleRunTest.h:256
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::ScheduleRunTest::SetType
void SetType(const TestType &value)
Definition: ScheduleRunTest.h:90
Aws::DeviceFarm::Model::ScheduleRunTest::SetFilter
void SetFilter(const char *value)
Definition: ScheduleRunTest.h:246
Aws::DeviceFarm::Model::ScheduleRunTest::WithFilter
ScheduleRunTest & WithFilter(const char *value)
Definition: ScheduleRunTest.h:261
Aws::DeviceFarm::Model::ScheduleRunTest::SetType
void SetType(TestType &&value)
Definition: ScheduleRunTest.h:106
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DeviceFarm::Model::ScheduleRunTest::SetTestSpecArn
void SetTestSpecArn(const char *value)
Definition: ScheduleRunTest.h:205
TestType.h
AWSMap.h
Aws::DeviceFarm::Model::ScheduleRunTest::GetTestPackageArn
const Aws::String & GetTestPackageArn() const
Definition: ScheduleRunTest.h:144
Aws::DeviceFarm::Model::ScheduleRunTest::SetParameters
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ScheduleRunTest.h:442
Aws::DeviceFarm::Model::ScheduleRunTest::GetParameters
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Definition: ScheduleRunTest.h:307
Aws::DeviceFarm::Model::ScheduleRunTest::TestSpecArnHasBeenSet
bool TestSpecArnHasBeenSet() const
Definition: ScheduleRunTest.h:190
Aws::DeviceFarm::Model::ScheduleRunTest::FilterHasBeenSet
bool FilterHasBeenSet() const
Definition: ScheduleRunTest.h:231
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::DeviceFarm::Model::ScheduleRunTest::GetFilter
const Aws::String & GetFilter() const
Definition: ScheduleRunTest.h:226
Aws::DeviceFarm::Model::ScheduleRunTest::WithTestSpecArn
ScheduleRunTest & WithTestSpecArn(const Aws::String &value)
Definition: ScheduleRunTest.h:210