AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateJobForDevicesRequest.h
Go to the documentation of this file.
1
6#pragma once
13#include <utility>
14
15namespace Aws
16{
17namespace Panorama
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateJobForDevices"; }
34
36
37
41 inline const Aws::Vector<Aws::String>& GetDeviceIds() const{ return m_deviceIds; }
42
46 inline bool DeviceIdsHasBeenSet() const { return m_deviceIdsHasBeenSet; }
47
51 inline void SetDeviceIds(const Aws::Vector<Aws::String>& value) { m_deviceIdsHasBeenSet = true; m_deviceIds = value; }
52
56 inline void SetDeviceIds(Aws::Vector<Aws::String>&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds = std::move(value); }
57
62
66 inline CreateJobForDevicesRequest& WithDeviceIds(Aws::Vector<Aws::String>&& value) { SetDeviceIds(std::move(value)); return *this;}
67
71 inline CreateJobForDevicesRequest& AddDeviceIds(const Aws::String& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; }
72
76 inline CreateJobForDevicesRequest& AddDeviceIds(Aws::String&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(std::move(value)); return *this; }
77
81 inline CreateJobForDevicesRequest& AddDeviceIds(const char* value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; }
82
83
87 inline const DeviceJobConfig& GetDeviceJobConfig() const{ return m_deviceJobConfig; }
88
92 inline bool DeviceJobConfigHasBeenSet() const { return m_deviceJobConfigHasBeenSet; }
93
97 inline void SetDeviceJobConfig(const DeviceJobConfig& value) { m_deviceJobConfigHasBeenSet = true; m_deviceJobConfig = value; }
98
102 inline void SetDeviceJobConfig(DeviceJobConfig&& value) { m_deviceJobConfigHasBeenSet = true; m_deviceJobConfig = std::move(value); }
103
108
112 inline CreateJobForDevicesRequest& WithDeviceJobConfig(DeviceJobConfig&& value) { SetDeviceJobConfig(std::move(value)); return *this;}
113
114
118 inline const JobType& GetJobType() const{ return m_jobType; }
119
123 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
124
128 inline void SetJobType(const JobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
129
133 inline void SetJobType(JobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
134
138 inline CreateJobForDevicesRequest& WithJobType(const JobType& value) { SetJobType(value); return *this;}
139
143 inline CreateJobForDevicesRequest& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;}
144
145 private:
146
147 Aws::Vector<Aws::String> m_deviceIds;
148 bool m_deviceIdsHasBeenSet = false;
149
150 DeviceJobConfig m_deviceJobConfig;
151 bool m_deviceJobConfigHasBeenSet = false;
152
153 JobType m_jobType;
154 bool m_jobTypeHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace Panorama
159} // namespace Aws
#define AWS_PANORAMA_API
CreateJobForDevicesRequest & WithJobType(const JobType &value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
CreateJobForDevicesRequest & WithDeviceJobConfig(const DeviceJobConfig &value)
const Aws::Vector< Aws::String > & GetDeviceIds() const
CreateJobForDevicesRequest & WithDeviceJobConfig(DeviceJobConfig &&value)
void SetDeviceIds(Aws::Vector< Aws::String > &&value)
CreateJobForDevicesRequest & WithDeviceIds(const Aws::Vector< Aws::String > &value)
CreateJobForDevicesRequest & AddDeviceIds(Aws::String &&value)
void SetDeviceIds(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
CreateJobForDevicesRequest & WithJobType(JobType &&value)
CreateJobForDevicesRequest & AddDeviceIds(const char *value)
CreateJobForDevicesRequest & WithDeviceIds(Aws::Vector< Aws::String > &&value)
CreateJobForDevicesRequest & AddDeviceIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector