AWS SDK for C++  1.9.160
AWS SDK for C++
SuiteRunConfiguration.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 IoTDeviceAdvisor
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const DeviceUnderTest& GetPrimaryDevice() const{ return m_primaryDevice; }
46 
50  inline bool PrimaryDeviceHasBeenSet() const { return m_primaryDeviceHasBeenSet; }
51 
55  inline void SetPrimaryDevice(const DeviceUnderTest& value) { m_primaryDeviceHasBeenSet = true; m_primaryDevice = value; }
56 
60  inline void SetPrimaryDevice(DeviceUnderTest&& value) { m_primaryDeviceHasBeenSet = true; m_primaryDevice = std::move(value); }
61 
65  inline SuiteRunConfiguration& WithPrimaryDevice(const DeviceUnderTest& value) { SetPrimaryDevice(value); return *this;}
66 
70  inline SuiteRunConfiguration& WithPrimaryDevice(DeviceUnderTest&& value) { SetPrimaryDevice(std::move(value)); return *this;}
71 
72 
76  inline const Aws::Vector<Aws::String>& GetSelectedTestList() const{ return m_selectedTestList; }
77 
81  inline bool SelectedTestListHasBeenSet() const { return m_selectedTestListHasBeenSet; }
82 
86  inline void SetSelectedTestList(const Aws::Vector<Aws::String>& value) { m_selectedTestListHasBeenSet = true; m_selectedTestList = value; }
87 
91  inline void SetSelectedTestList(Aws::Vector<Aws::String>&& value) { m_selectedTestListHasBeenSet = true; m_selectedTestList = std::move(value); }
92 
96  inline SuiteRunConfiguration& WithSelectedTestList(const Aws::Vector<Aws::String>& value) { SetSelectedTestList(value); return *this;}
97 
101  inline SuiteRunConfiguration& WithSelectedTestList(Aws::Vector<Aws::String>&& value) { SetSelectedTestList(std::move(value)); return *this;}
102 
106  inline SuiteRunConfiguration& AddSelectedTestList(const Aws::String& value) { m_selectedTestListHasBeenSet = true; m_selectedTestList.push_back(value); return *this; }
107 
111  inline SuiteRunConfiguration& AddSelectedTestList(Aws::String&& value) { m_selectedTestListHasBeenSet = true; m_selectedTestList.push_back(std::move(value)); return *this; }
112 
116  inline SuiteRunConfiguration& AddSelectedTestList(const char* value) { m_selectedTestListHasBeenSet = true; m_selectedTestList.push_back(value); return *this; }
117 
118 
122  inline bool GetParallelRun() const{ return m_parallelRun; }
123 
127  inline bool ParallelRunHasBeenSet() const { return m_parallelRunHasBeenSet; }
128 
132  inline void SetParallelRun(bool value) { m_parallelRunHasBeenSet = true; m_parallelRun = value; }
133 
137  inline SuiteRunConfiguration& WithParallelRun(bool value) { SetParallelRun(value); return *this;}
138 
139  private:
140 
141  DeviceUnderTest m_primaryDevice;
142  bool m_primaryDeviceHasBeenSet;
143 
144  Aws::Vector<Aws::String> m_selectedTestList;
145  bool m_selectedTestListHasBeenSet;
146 
147  bool m_parallelRun;
148  bool m_parallelRunHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace IoTDeviceAdvisor
153 } // namespace Aws
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::AddSelectedTestList
SuiteRunConfiguration & AddSelectedTestList(Aws::String &&value)
Definition: SuiteRunConfiguration.h:111
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::WithParallelRun
SuiteRunConfiguration & WithParallelRun(bool value)
Definition: SuiteRunConfiguration.h:137
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::AddSelectedTestList
SuiteRunConfiguration & AddSelectedTestList(const Aws::String &value)
Definition: SuiteRunConfiguration.h:106
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::WithSelectedTestList
SuiteRunConfiguration & WithSelectedTestList(Aws::Vector< Aws::String > &&value)
Definition: SuiteRunConfiguration.h:101
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::SetSelectedTestList
void SetSelectedTestList(Aws::Vector< Aws::String > &&value)
Definition: SuiteRunConfiguration.h:91
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::SetPrimaryDevice
void SetPrimaryDevice(DeviceUnderTest &&value)
Definition: SuiteRunConfiguration.h:60
Aws::IoTDeviceAdvisor::Model::DeviceUnderTest
Definition: DeviceUnderTest.h:33
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::SetParallelRun
void SetParallelRun(bool value)
Definition: SuiteRunConfiguration.h:132
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::SetSelectedTestList
void SetSelectedTestList(const Aws::Vector< Aws::String > &value)
Definition: SuiteRunConfiguration.h:86
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::PrimaryDeviceHasBeenSet
bool PrimaryDeviceHasBeenSet() const
Definition: SuiteRunConfiguration.h:50
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::GetPrimaryDevice
const DeviceUnderTest & GetPrimaryDevice() const
Definition: SuiteRunConfiguration.h:45
AWSVector.h
AWS_IOTDEVICEADVISOR_API
#define AWS_IOTDEVICEADVISOR_API
Definition: IoTDeviceAdvisor_EXPORTS.h:28
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::SuiteRunConfiguration
SuiteRunConfiguration()
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::operator=
SuiteRunConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::SelectedTestListHasBeenSet
bool SelectedTestListHasBeenSet() const
Definition: SuiteRunConfiguration.h:81
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::WithPrimaryDevice
SuiteRunConfiguration & WithPrimaryDevice(DeviceUnderTest &&value)
Definition: SuiteRunConfiguration.h:70
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::SetPrimaryDevice
void SetPrimaryDevice(const DeviceUnderTest &value)
Definition: SuiteRunConfiguration.h:55
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::GetParallelRun
bool GetParallelRun() const
Definition: SuiteRunConfiguration.h:122
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration
Definition: SuiteRunConfiguration.h:34
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::WithSelectedTestList
SuiteRunConfiguration & WithSelectedTestList(const Aws::Vector< Aws::String > &value)
Definition: SuiteRunConfiguration.h:96
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::SuiteRunConfiguration
SuiteRunConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::ParallelRunHasBeenSet
bool ParallelRunHasBeenSet() const
Definition: SuiteRunConfiguration.h:127
Aws
Definition: AccessManagementClient.h:15
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::WithPrimaryDevice
SuiteRunConfiguration & WithPrimaryDevice(const DeviceUnderTest &value)
Definition: SuiteRunConfiguration.h:65
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::AddSelectedTestList
SuiteRunConfiguration & AddSelectedTestList(const char *value)
Definition: SuiteRunConfiguration.h:116
DeviceUnderTest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTDeviceAdvisor::Model::SuiteRunConfiguration::GetSelectedTestList
const Aws::Vector< Aws::String > & GetSelectedTestList() const
Definition: SuiteRunConfiguration.h:76
IoTDeviceAdvisor_EXPORTS.h