AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateJobForDevicesRequest.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/PanoramaRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/panorama/model/DeviceJobConfig.h>
11#include <aws/panorama/model/JobType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Panorama
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_PANORAMA_API CreateJobForDevicesRequest() = default;
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
35 AWS_PANORAMA_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::Vector<Aws::String>& GetDeviceIds() const { return m_deviceIds; }
43 inline bool DeviceIdsHasBeenSet() const { return m_deviceIdsHasBeenSet; }
44 template<typename DeviceIdsT = Aws::Vector<Aws::String>>
45 void SetDeviceIds(DeviceIdsT&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds = std::forward<DeviceIdsT>(value); }
46 template<typename DeviceIdsT = Aws::Vector<Aws::String>>
47 CreateJobForDevicesRequest& WithDeviceIds(DeviceIdsT&& value) { SetDeviceIds(std::forward<DeviceIdsT>(value)); return *this;}
48 template<typename DeviceIdsT = Aws::String>
49 CreateJobForDevicesRequest& AddDeviceIds(DeviceIdsT&& value) { m_deviceIdsHasBeenSet = true; m_deviceIds.emplace_back(std::forward<DeviceIdsT>(value)); return *this; }
51
53
56 inline const DeviceJobConfig& GetDeviceJobConfig() const { return m_deviceJobConfig; }
57 inline bool DeviceJobConfigHasBeenSet() const { return m_deviceJobConfigHasBeenSet; }
58 template<typename DeviceJobConfigT = DeviceJobConfig>
59 void SetDeviceJobConfig(DeviceJobConfigT&& value) { m_deviceJobConfigHasBeenSet = true; m_deviceJobConfig = std::forward<DeviceJobConfigT>(value); }
60 template<typename DeviceJobConfigT = DeviceJobConfig>
61 CreateJobForDevicesRequest& WithDeviceJobConfig(DeviceJobConfigT&& value) { SetDeviceJobConfig(std::forward<DeviceJobConfigT>(value)); return *this;}
63
65
68 inline JobType GetJobType() const { return m_jobType; }
69 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
70 inline void SetJobType(JobType value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
71 inline CreateJobForDevicesRequest& WithJobType(JobType value) { SetJobType(value); return *this;}
73 private:
74
75 Aws::Vector<Aws::String> m_deviceIds;
76 bool m_deviceIdsHasBeenSet = false;
77
78 DeviceJobConfig m_deviceJobConfig;
79 bool m_deviceJobConfigHasBeenSet = false;
80
81 JobType m_jobType{JobType::NOT_SET};
82 bool m_jobTypeHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Panorama
87} // namespace Aws
CreateJobForDevicesRequest & WithDeviceIds(DeviceIdsT &&value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetDeviceIds() const
CreateJobForDevicesRequest & AddDeviceIds(DeviceIdsT &&value)
virtual const char * GetServiceRequestName() const override
AWS_PANORAMA_API CreateJobForDevicesRequest()=default
CreateJobForDevicesRequest & WithJobType(JobType value)
CreateJobForDevicesRequest & WithDeviceJobConfig(DeviceJobConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector