AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
46 inline const Aws::String& GetThingArn() const{ return m_thingArn; }
47 inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
48 inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; }
49 inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); }
50 inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); }
51 inline JobExecutionSummaryForJob& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
52 inline JobExecutionSummaryForJob& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
53 inline JobExecutionSummaryForJob& WithThingArn(const char* value) { SetThingArn(value); return *this;}
55
57
60 inline const JobExecutionSummary& GetJobExecutionSummary() const{ return m_jobExecutionSummary; }
61 inline bool JobExecutionSummaryHasBeenSet() const { return m_jobExecutionSummaryHasBeenSet; }
62 inline void SetJobExecutionSummary(const JobExecutionSummary& value) { m_jobExecutionSummaryHasBeenSet = true; m_jobExecutionSummary = value; }
63 inline void SetJobExecutionSummary(JobExecutionSummary&& value) { m_jobExecutionSummaryHasBeenSet = true; m_jobExecutionSummary = std::move(value); }
67 private:
68
69 Aws::String m_thingArn;
70 bool m_thingArnHasBeenSet = false;
71
72 JobExecutionSummary m_jobExecutionSummary;
73 bool m_jobExecutionSummaryHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoT
78} // namespace Aws
const JobExecutionSummary & GetJobExecutionSummary() const
AWS_IOT_API JobExecutionSummaryForJob(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetJobExecutionSummary(const JobExecutionSummary &value)
JobExecutionSummaryForJob & WithThingArn(const char *value)
JobExecutionSummaryForJob & WithThingArn(const Aws::String &value)
JobExecutionSummaryForJob & WithJobExecutionSummary(const JobExecutionSummary &value)
JobExecutionSummaryForJob & WithJobExecutionSummary(JobExecutionSummary &&value)
JobExecutionSummaryForJob & WithThingArn(Aws::String &&value)
AWS_IOT_API JobExecutionSummaryForJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobExecutionSummary(JobExecutionSummary &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue