AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
GetDevicePoolCompatibilityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/ScheduleRunConfiguration.h>
11#include <aws/devicefarm/model/ScheduleRunTest.h>
12#include <aws/devicefarm/model/TestType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace DeviceFarm {
18namespace Model {
19
27 public:
28 AWS_DEVICEFARM_API GetDevicePoolCompatibilityRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetDevicePoolCompatibility"; }
35
36 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
37
39
41
44 inline const Aws::String& GetDevicePoolArn() const { return m_devicePoolArn; }
45 inline bool DevicePoolArnHasBeenSet() const { return m_devicePoolArnHasBeenSet; }
46 template <typename DevicePoolArnT = Aws::String>
47 void SetDevicePoolArn(DevicePoolArnT&& value) {
48 m_devicePoolArnHasBeenSet = true;
49 m_devicePoolArn = std::forward<DevicePoolArnT>(value);
50 }
51 template <typename DevicePoolArnT = Aws::String>
53 SetDevicePoolArn(std::forward<DevicePoolArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetAppArn() const { return m_appArn; }
63 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
64 template <typename AppArnT = Aws::String>
65 void SetAppArn(AppArnT&& value) {
66 m_appArnHasBeenSet = true;
67 m_appArn = std::forward<AppArnT>(value);
68 }
69 template <typename AppArnT = Aws::String>
71 SetAppArn(std::forward<AppArnT>(value));
72 return *this;
73 }
75
77
88 inline TestType GetTestType() const { return m_testType; }
89 inline bool TestTypeHasBeenSet() const { return m_testTypeHasBeenSet; }
90 inline void SetTestType(TestType value) {
91 m_testTypeHasBeenSet = true;
92 m_testType = value;
93 }
95 SetTestType(value);
96 return *this;
97 }
99
101
104 inline const ScheduleRunTest& GetTest() const { return m_test; }
105 inline bool TestHasBeenSet() const { return m_testHasBeenSet; }
106 template <typename TestT = ScheduleRunTest>
107 void SetTest(TestT&& value) {
108 m_testHasBeenSet = true;
109 m_test = std::forward<TestT>(value);
110 }
111 template <typename TestT = ScheduleRunTest>
113 SetTest(std::forward<TestT>(value));
114 return *this;
115 }
117
119
122 inline const ScheduleRunConfiguration& GetConfiguration() const { return m_configuration; }
123 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
124 template <typename ConfigurationT = ScheduleRunConfiguration>
125 void SetConfiguration(ConfigurationT&& value) {
126 m_configurationHasBeenSet = true;
127 m_configuration = std::forward<ConfigurationT>(value);
128 }
129 template <typename ConfigurationT = ScheduleRunConfiguration>
131 SetConfiguration(std::forward<ConfigurationT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
142 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
143 template <typename ProjectArnT = Aws::String>
144 void SetProjectArn(ProjectArnT&& value) {
145 m_projectArnHasBeenSet = true;
146 m_projectArn = std::forward<ProjectArnT>(value);
147 }
148 template <typename ProjectArnT = Aws::String>
150 SetProjectArn(std::forward<ProjectArnT>(value));
151 return *this;
152 }
154 private:
155 Aws::String m_devicePoolArn;
156
157 Aws::String m_appArn;
158
159 TestType m_testType{TestType::NOT_SET};
160
161 ScheduleRunTest m_test;
162
163 ScheduleRunConfiguration m_configuration;
164
165 Aws::String m_projectArn;
166 bool m_devicePoolArnHasBeenSet = false;
167 bool m_appArnHasBeenSet = false;
168 bool m_testTypeHasBeenSet = false;
169 bool m_testHasBeenSet = false;
170 bool m_configurationHasBeenSet = false;
171 bool m_projectArnHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace DeviceFarm
176} // 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)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String