AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
JobExecutionSummaryForJob.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
34 {
35 public:
36 AWS_IOT_API JobExecutionSummaryForJob() = default;
40
41
43
46 inline const Aws::String& GetThingArn() const { return m_thingArn; }
47 inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
48 template<typename ThingArnT = Aws::String>
49 void SetThingArn(ThingArnT&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::forward<ThingArnT>(value); }
50 template<typename ThingArnT = Aws::String>
51 JobExecutionSummaryForJob& WithThingArn(ThingArnT&& value) { SetThingArn(std::forward<ThingArnT>(value)); return *this;}
53
55
58 inline const JobExecutionSummary& GetJobExecutionSummary() const { return m_jobExecutionSummary; }
59 inline bool JobExecutionSummaryHasBeenSet() const { return m_jobExecutionSummaryHasBeenSet; }
60 template<typename JobExecutionSummaryT = JobExecutionSummary>
61 void SetJobExecutionSummary(JobExecutionSummaryT&& value) { m_jobExecutionSummaryHasBeenSet = true; m_jobExecutionSummary = std::forward<JobExecutionSummaryT>(value); }
62 template<typename JobExecutionSummaryT = JobExecutionSummary>
63 JobExecutionSummaryForJob& WithJobExecutionSummary(JobExecutionSummaryT&& value) { SetJobExecutionSummary(std::forward<JobExecutionSummaryT>(value)); return *this;}
65 private:
66
67 Aws::String m_thingArn;
68 bool m_thingArnHasBeenSet = false;
69
70 JobExecutionSummary m_jobExecutionSummary;
71 bool m_jobExecutionSummaryHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace IoT
76} // namespace Aws
JobExecutionSummaryForJob & WithJobExecutionSummary(JobExecutionSummaryT &&value)
const JobExecutionSummary & GetJobExecutionSummary() const
AWS_IOT_API JobExecutionSummaryForJob(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetJobExecutionSummary(JobExecutionSummaryT &&value)
JobExecutionSummaryForJob & WithThingArn(ThingArnT &&value)
AWS_IOT_API JobExecutionSummaryForJob()=default
AWS_IOT_API JobExecutionSummaryForJob & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue