AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
Job.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/panorama/Panorama_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Panorama {
20namespace Model {
21
27class Job {
28 public:
29 AWS_PANORAMA_API Job() = default;
30 AWS_PANORAMA_API Job(Aws::Utils::Json::JsonView jsonValue);
31 AWS_PANORAMA_API Job& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
39 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
40 template <typename DeviceIdT = Aws::String>
41 void SetDeviceId(DeviceIdT&& value) {
42 m_deviceIdHasBeenSet = true;
43 m_deviceId = std::forward<DeviceIdT>(value);
44 }
45 template <typename DeviceIdT = Aws::String>
46 Job& WithDeviceId(DeviceIdT&& value) {
47 SetDeviceId(std::forward<DeviceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetJobId() const { return m_jobId; }
57 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
58 template <typename JobIdT = Aws::String>
59 void SetJobId(JobIdT&& value) {
60 m_jobIdHasBeenSet = true;
61 m_jobId = std::forward<JobIdT>(value);
62 }
63 template <typename JobIdT = Aws::String>
64 Job& WithJobId(JobIdT&& value) {
65 SetJobId(std::forward<JobIdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_deviceId;
71
72 Aws::String m_jobId;
73 bool m_deviceIdHasBeenSet = false;
74 bool m_jobIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Panorama
79} // namespace Aws
AWS_PANORAMA_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
bool JobIdHasBeenSet() const
Definition Job.h:57
AWS_PANORAMA_API Job()=default
const Aws::String & GetJobId() const
Definition Job.h:56
Job & WithDeviceId(DeviceIdT &&value)
Definition Job.h:46
void SetDeviceId(DeviceIdT &&value)
Definition Job.h:41
void SetJobId(JobIdT &&value)
Definition Job.h:59
const Aws::String & GetDeviceId() const
Definition Job.h:38
Job & WithJobId(JobIdT &&value)
Definition Job.h:64
AWS_PANORAMA_API Job(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
bool DeviceIdHasBeenSet() const
Definition Job.h:39
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue