AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetDevicePoolCompatibilityRequest.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devicefarm/model/TestType.h>
11#include <aws/devicefarm/model/ScheduleRunTest.h>
12#include <aws/devicefarm/model/ScheduleRunConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace DeviceFarm
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_DEVICEFARM_API GetDevicePoolCompatibilityRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "GetDevicePoolCompatibility"; }
38
39 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
40
42
43
45
48 inline const Aws::String& GetDevicePoolArn() const { return m_devicePoolArn; }
49 inline bool DevicePoolArnHasBeenSet() const { return m_devicePoolArnHasBeenSet; }
50 template<typename DevicePoolArnT = Aws::String>
51 void SetDevicePoolArn(DevicePoolArnT&& value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn = std::forward<DevicePoolArnT>(value); }
52 template<typename DevicePoolArnT = Aws::String>
53 GetDevicePoolCompatibilityRequest& WithDevicePoolArn(DevicePoolArnT&& value) { SetDevicePoolArn(std::forward<DevicePoolArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetAppArn() const { return m_appArn; }
61 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
62 template<typename AppArnT = Aws::String>
63 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
64 template<typename AppArnT = Aws::String>
65 GetDevicePoolCompatibilityRequest& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
67
69
80 inline TestType GetTestType() const { return m_testType; }
81 inline bool TestTypeHasBeenSet() const { return m_testTypeHasBeenSet; }
82 inline void SetTestType(TestType value) { m_testTypeHasBeenSet = true; m_testType = value; }
85
87
90 inline const ScheduleRunTest& GetTest() const { return m_test; }
91 inline bool TestHasBeenSet() const { return m_testHasBeenSet; }
92 template<typename TestT = ScheduleRunTest>
93 void SetTest(TestT&& value) { m_testHasBeenSet = true; m_test = std::forward<TestT>(value); }
94 template<typename TestT = ScheduleRunTest>
95 GetDevicePoolCompatibilityRequest& WithTest(TestT&& value) { SetTest(std::forward<TestT>(value)); return *this;}
97
99
102 inline const ScheduleRunConfiguration& GetConfiguration() const { return m_configuration; }
103 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
104 template<typename ConfigurationT = ScheduleRunConfiguration>
105 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
106 template<typename ConfigurationT = ScheduleRunConfiguration>
107 GetDevicePoolCompatibilityRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
109
111
115 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
116 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
117 template<typename ProjectArnT = Aws::String>
118 void SetProjectArn(ProjectArnT&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::forward<ProjectArnT>(value); }
119 template<typename ProjectArnT = Aws::String>
120 GetDevicePoolCompatibilityRequest& WithProjectArn(ProjectArnT&& value) { SetProjectArn(std::forward<ProjectArnT>(value)); return *this;}
122 private:
123
124 Aws::String m_devicePoolArn;
125 bool m_devicePoolArnHasBeenSet = false;
126
127 Aws::String m_appArn;
128 bool m_appArnHasBeenSet = false;
129
130 TestType m_testType{TestType::NOT_SET};
131 bool m_testTypeHasBeenSet = false;
132
133 ScheduleRunTest m_test;
134 bool m_testHasBeenSet = false;
135
136 ScheduleRunConfiguration m_configuration;
137 bool m_configurationHasBeenSet = false;
138
139 Aws::String m_projectArn;
140 bool m_projectArnHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace DeviceFarm
145} // namespace Aws
GetDevicePoolCompatibilityRequest & WithConfiguration(ConfigurationT &&value)
GetDevicePoolCompatibilityRequest & WithProjectArn(ProjectArnT &&value)
GetDevicePoolCompatibilityRequest & WithAppArn(AppArnT &&value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
GetDevicePoolCompatibilityRequest & WithTestType(TestType value)
AWS_DEVICEFARM_API GetDevicePoolCompatibilityRequest()=default
GetDevicePoolCompatibilityRequest & WithDevicePoolArn(DevicePoolArnT &&value)
GetDevicePoolCompatibilityRequest & WithTest(TestT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String