AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobExecutionSummaryForThing.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/JobExecutionSummary.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 IoT
23{
24namespace Model
25{
26
33 {
34 public:
39
40
42
45 inline const Aws::String& GetJobId() const{ return m_jobId; }
46 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
47 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
48 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
49 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
50 inline JobExecutionSummaryForThing& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
51 inline JobExecutionSummaryForThing& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
52 inline JobExecutionSummaryForThing& WithJobId(const char* value) { SetJobId(value); return *this;}
54
56
59 inline const JobExecutionSummary& GetJobExecutionSummary() const{ return m_jobExecutionSummary; }
60 inline bool JobExecutionSummaryHasBeenSet() const { return m_jobExecutionSummaryHasBeenSet; }
61 inline void SetJobExecutionSummary(const JobExecutionSummary& value) { m_jobExecutionSummaryHasBeenSet = true; m_jobExecutionSummary = value; }
62 inline void SetJobExecutionSummary(JobExecutionSummary&& value) { m_jobExecutionSummaryHasBeenSet = true; m_jobExecutionSummary = std::move(value); }
66 private:
67
68 Aws::String m_jobId;
69 bool m_jobIdHasBeenSet = false;
70
71 JobExecutionSummary m_jobExecutionSummary;
72 bool m_jobExecutionSummaryHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoT
77} // namespace Aws
JobExecutionSummaryForThing & WithJobId(Aws::String &&value)
void SetJobExecutionSummary(const JobExecutionSummary &value)
AWS_IOT_API JobExecutionSummaryForThing & operator=(Aws::Utils::Json::JsonView jsonValue)
JobExecutionSummaryForThing & WithJobExecutionSummary(JobExecutionSummary &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
JobExecutionSummaryForThing & WithJobExecutionSummary(const JobExecutionSummary &value)
JobExecutionSummaryForThing & WithJobId(const Aws::String &value)
void SetJobExecutionSummary(JobExecutionSummary &&value)
AWS_IOT_API JobExecutionSummaryForThing(Aws::Utils::Json::JsonView jsonValue)
JobExecutionSummaryForThing & WithJobId(const char *value)
const JobExecutionSummary & GetJobExecutionSummary() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue