AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LatestDeviceJob.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/panorama/model/JobType.h>
10#include <aws/panorama/model/UpdateProgress.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Panorama
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PANORAMA_API LatestDeviceJob();
38 AWS_PANORAMA_API LatestDeviceJob(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetImageVersion() const{ return m_imageVersion; }
48 inline bool ImageVersionHasBeenSet() const { return m_imageVersionHasBeenSet; }
49 inline void SetImageVersion(const Aws::String& value) { m_imageVersionHasBeenSet = true; m_imageVersion = value; }
50 inline void SetImageVersion(Aws::String&& value) { m_imageVersionHasBeenSet = true; m_imageVersion = std::move(value); }
51 inline void SetImageVersion(const char* value) { m_imageVersionHasBeenSet = true; m_imageVersion.assign(value); }
52 inline LatestDeviceJob& WithImageVersion(const Aws::String& value) { SetImageVersion(value); return *this;}
53 inline LatestDeviceJob& WithImageVersion(Aws::String&& value) { SetImageVersion(std::move(value)); return *this;}
54 inline LatestDeviceJob& WithImageVersion(const char* value) { SetImageVersion(value); return *this;}
56
58
61 inline const JobType& GetJobType() const{ return m_jobType; }
62 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
63 inline void SetJobType(const JobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
64 inline void SetJobType(JobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
65 inline LatestDeviceJob& WithJobType(const JobType& value) { SetJobType(value); return *this;}
66 inline LatestDeviceJob& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;}
68
70
73 inline const UpdateProgress& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const UpdateProgress& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(UpdateProgress&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline LatestDeviceJob& WithStatus(const UpdateProgress& value) { SetStatus(value); return *this;}
78 inline LatestDeviceJob& WithStatus(UpdateProgress&& value) { SetStatus(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_imageVersion;
83 bool m_imageVersionHasBeenSet = false;
84
85 JobType m_jobType;
86 bool m_jobTypeHasBeenSet = false;
87
88 UpdateProgress m_status;
89 bool m_statusHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Panorama
94} // namespace Aws
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetJobType(const JobType &value)
LatestDeviceJob & WithStatus(const UpdateProgress &value)
LatestDeviceJob & WithImageVersion(const Aws::String &value)
void SetImageVersion(const char *value)
void SetImageVersion(const Aws::String &value)
void SetImageVersion(Aws::String &&value)
void SetStatus(const UpdateProgress &value)
const Aws::String & GetImageVersion() const
AWS_PANORAMA_API LatestDeviceJob & operator=(Aws::Utils::Json::JsonView jsonValue)
LatestDeviceJob & WithImageVersion(Aws::String &&value)
AWS_PANORAMA_API LatestDeviceJob(Aws::Utils::Json::JsonView jsonValue)
LatestDeviceJob & WithImageVersion(const char *value)
LatestDeviceJob & WithJobType(const JobType &value)
const UpdateProgress & GetStatus() const
LatestDeviceJob & WithStatus(UpdateProgress &&value)
LatestDeviceJob & WithJobType(JobType &&value)
void SetStatus(UpdateProgress &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue