AWS SDK for C++  1.9.129
AWS SDK for C++
JobExecutionSummaryForJob.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetThingArn() const{ return m_thingArn; }
46 
50  inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
51 
55  inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; }
56 
60  inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); }
61 
65  inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); }
66 
70  inline JobExecutionSummaryForJob& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
71 
75  inline JobExecutionSummaryForJob& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
76 
80  inline JobExecutionSummaryForJob& WithThingArn(const char* value) { SetThingArn(value); return *this;}
81 
82 
86  inline const JobExecutionSummary& GetJobExecutionSummary() const{ return m_jobExecutionSummary; }
87 
91  inline bool JobExecutionSummaryHasBeenSet() const { return m_jobExecutionSummaryHasBeenSet; }
92 
96  inline void SetJobExecutionSummary(const JobExecutionSummary& value) { m_jobExecutionSummaryHasBeenSet = true; m_jobExecutionSummary = value; }
97 
101  inline void SetJobExecutionSummary(JobExecutionSummary&& value) { m_jobExecutionSummaryHasBeenSet = true; m_jobExecutionSummary = std::move(value); }
102 
106  inline JobExecutionSummaryForJob& WithJobExecutionSummary(const JobExecutionSummary& value) { SetJobExecutionSummary(value); return *this;}
107 
111  inline JobExecutionSummaryForJob& WithJobExecutionSummary(JobExecutionSummary&& value) { SetJobExecutionSummary(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_thingArn;
116  bool m_thingArnHasBeenSet;
117 
118  JobExecutionSummary m_jobExecutionSummary;
119  bool m_jobExecutionSummaryHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace IoT
124 } // namespace Aws
Aws::IoT::Model::JobExecutionSummaryForJob::ThingArnHasBeenSet
bool ThingArnHasBeenSet() const
Definition: JobExecutionSummaryForJob.h:50
Aws::IoT::Model::JobExecutionSummaryForJob::JobExecutionSummaryForJob
JobExecutionSummaryForJob(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::JobExecutionSummaryForJob::SetJobExecutionSummary
void SetJobExecutionSummary(JobExecutionSummary &&value)
Definition: JobExecutionSummaryForJob.h:101
Aws::IoT::Model::JobExecutionSummaryForJob::SetThingArn
void SetThingArn(Aws::String &&value)
Definition: JobExecutionSummaryForJob.h:60
Aws::IoT::Model::JobExecutionSummaryForJob
Definition: JobExecutionSummaryForJob.h:34
Aws::IoT::Model::JobExecutionSummary
Definition: JobExecutionSummary.h:33
Aws::IoT::Model::JobExecutionSummaryForJob::SetThingArn
void SetThingArn(const char *value)
Definition: JobExecutionSummaryForJob.h:65
Aws::IoT::Model::JobExecutionSummaryForJob::operator=
JobExecutionSummaryForJob & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::JobExecutionSummaryForJob::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::JobExecutionSummaryForJob::WithJobExecutionSummary
JobExecutionSummaryForJob & WithJobExecutionSummary(JobExecutionSummary &&value)
Definition: JobExecutionSummaryForJob.h:111
Aws::IoT::Model::JobExecutionSummaryForJob::JobExecutionSummaryHasBeenSet
bool JobExecutionSummaryHasBeenSet() const
Definition: JobExecutionSummaryForJob.h:91
JobExecutionSummary.h
Aws::IoT::Model::JobExecutionSummaryForJob::GetThingArn
const Aws::String & GetThingArn() const
Definition: JobExecutionSummaryForJob.h:45
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::JobExecutionSummaryForJob::WithThingArn
JobExecutionSummaryForJob & WithThingArn(const Aws::String &value)
Definition: JobExecutionSummaryForJob.h:70
Aws::IoT::Model::JobExecutionSummaryForJob::WithThingArn
JobExecutionSummaryForJob & WithThingArn(Aws::String &&value)
Definition: JobExecutionSummaryForJob.h:75
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::JobExecutionSummaryForJob::JobExecutionSummaryForJob
JobExecutionSummaryForJob()
Aws::IoT::Model::JobExecutionSummaryForJob::WithJobExecutionSummary
JobExecutionSummaryForJob & WithJobExecutionSummary(const JobExecutionSummary &value)
Definition: JobExecutionSummaryForJob.h:106
Aws::IoT::Model::JobExecutionSummaryForJob::SetJobExecutionSummary
void SetJobExecutionSummary(const JobExecutionSummary &value)
Definition: JobExecutionSummaryForJob.h:96
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::JobExecutionSummaryForJob::SetThingArn
void SetThingArn(const Aws::String &value)
Definition: JobExecutionSummaryForJob.h:55
Aws::IoT::Model::JobExecutionSummaryForJob::WithThingArn
JobExecutionSummaryForJob & WithThingArn(const char *value)
Definition: JobExecutionSummaryForJob.h:80
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::JobExecutionSummaryForJob::GetJobExecutionSummary
const JobExecutionSummary & GetJobExecutionSummary() const
Definition: JobExecutionSummaryForJob.h:86
IoT_EXPORTS.h