AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobSummary.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/JobStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTSiteWise
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTSITEWISE_API JobSummary();
36 AWS_IOTSITEWISE_API JobSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API JobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline JobSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline JobSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline JobSummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline JobSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline JobSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline JobSummary& WithName(const char* value) { SetName(value); return *this;}
68
70
85 inline const JobStatus& GetStatus() const{ return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
88 inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
89 inline JobSummary& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
90 inline JobSummary& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_id;
95 bool m_idHasBeenSet = false;
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99
100 JobStatus m_status;
101 bool m_statusHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace IoTSiteWise
106} // namespace Aws
JobSummary & WithId(const char *value)
Definition JobSummary.h:52
JobSummary & WithStatus(JobStatus &&value)
Definition JobSummary.h:90
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const JobStatus &value)
Definition JobSummary.h:87
AWS_IOTSITEWISE_API JobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(JobStatus &&value)
Definition JobSummary.h:88
void SetId(const Aws::String &value)
Definition JobSummary.h:47
void SetName(Aws::String &&value)
Definition JobSummary.h:62
void SetName(const Aws::String &value)
Definition JobSummary.h:61
const Aws::String & GetId() const
Definition JobSummary.h:45
JobSummary & WithName(const char *value)
Definition JobSummary.h:66
JobSummary & WithName(Aws::String &&value)
Definition JobSummary.h:65
const JobStatus & GetStatus() const
Definition JobSummary.h:85
AWS_IOTSITEWISE_API JobSummary(Aws::Utils::Json::JsonView jsonValue)
JobSummary & WithStatus(const JobStatus &value)
Definition JobSummary.h:89
JobSummary & WithId(const Aws::String &value)
Definition JobSummary.h:50
const Aws::String & GetName() const
Definition JobSummary.h:59
JobSummary & WithId(Aws::String &&value)
Definition JobSummary.h:51
void SetId(Aws::String &&value)
Definition JobSummary.h:48
void SetId(const char *value)
Definition JobSummary.h:49
JobSummary & WithName(const Aws::String &value)
Definition JobSummary.h:64
void SetName(const char *value)
Definition JobSummary.h:63
AWS_IOTSITEWISE_API JobSummary()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue