AWS SDK for C++  1.9.124
AWS SDK for C++
JobExecutionSummaryForThing.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetJobId() const{ return m_jobId; }
45 
49  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
50 
54  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
55 
59  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
60 
64  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
65 
69  inline JobExecutionSummaryForThing& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
70 
74  inline JobExecutionSummaryForThing& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
75 
79  inline JobExecutionSummaryForThing& WithJobId(const char* value) { SetJobId(value); return *this;}
80 
81 
85  inline const JobExecutionSummary& GetJobExecutionSummary() const{ return m_jobExecutionSummary; }
86 
90  inline bool JobExecutionSummaryHasBeenSet() const { return m_jobExecutionSummaryHasBeenSet; }
91 
95  inline void SetJobExecutionSummary(const JobExecutionSummary& value) { m_jobExecutionSummaryHasBeenSet = true; m_jobExecutionSummary = value; }
96 
100  inline void SetJobExecutionSummary(JobExecutionSummary&& value) { m_jobExecutionSummaryHasBeenSet = true; m_jobExecutionSummary = std::move(value); }
101 
105  inline JobExecutionSummaryForThing& WithJobExecutionSummary(const JobExecutionSummary& value) { SetJobExecutionSummary(value); return *this;}
106 
110  inline JobExecutionSummaryForThing& WithJobExecutionSummary(JobExecutionSummary&& value) { SetJobExecutionSummary(std::move(value)); return *this;}
111 
112  private:
113 
114  Aws::String m_jobId;
115  bool m_jobIdHasBeenSet;
116 
117  JobExecutionSummary m_jobExecutionSummary;
118  bool m_jobExecutionSummaryHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace IoT
123 } // namespace Aws
Aws::IoT::Model::JobExecutionSummaryForThing::WithJobId
JobExecutionSummaryForThing & WithJobId(const Aws::String &value)
Definition: JobExecutionSummaryForThing.h:69
Aws::IoT::Model::JobExecutionSummaryForThing
Definition: JobExecutionSummaryForThing.h:33
Aws::IoT::Model::JobExecutionSummaryForThing::SetJobExecutionSummary
void SetJobExecutionSummary(const JobExecutionSummary &value)
Definition: JobExecutionSummaryForThing.h:95
Aws::IoT::Model::JobExecutionSummaryForThing::SetJobId
void SetJobId(const Aws::String &value)
Definition: JobExecutionSummaryForThing.h:54
Aws::IoT::Model::JobExecutionSummaryForThing::SetJobExecutionSummary
void SetJobExecutionSummary(JobExecutionSummary &&value)
Definition: JobExecutionSummaryForThing.h:100
Aws::IoT::Model::JobExecutionSummary
Definition: JobExecutionSummary.h:33
Aws::IoT::Model::JobExecutionSummaryForThing::JobExecutionSummaryForThing
JobExecutionSummaryForThing()
Aws::IoT::Model::JobExecutionSummaryForThing::WithJobExecutionSummary
JobExecutionSummaryForThing & WithJobExecutionSummary(const JobExecutionSummary &value)
Definition: JobExecutionSummaryForThing.h:105
Aws::IoT::Model::JobExecutionSummaryForThing::JobExecutionSummaryForThing
JobExecutionSummaryForThing(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::JobExecutionSummaryForThing::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
JobExecutionSummary.h
Aws::IoT::Model::JobExecutionSummaryForThing::GetJobExecutionSummary
const JobExecutionSummary & GetJobExecutionSummary() const
Definition: JobExecutionSummaryForThing.h:85
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::JobExecutionSummaryForThing::GetJobId
const Aws::String & GetJobId() const
Definition: JobExecutionSummaryForThing.h:44
Aws::IoT::Model::JobExecutionSummaryForThing::WithJobExecutionSummary
JobExecutionSummaryForThing & WithJobExecutionSummary(JobExecutionSummary &&value)
Definition: JobExecutionSummaryForThing.h:110
Aws::IoT::Model::JobExecutionSummaryForThing::SetJobId
void SetJobId(const char *value)
Definition: JobExecutionSummaryForThing.h:64
Aws
Definition: AccessManagementClient.h:15
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::JobExecutionSummaryForThing::WithJobId
JobExecutionSummaryForThing & WithJobId(Aws::String &&value)
Definition: JobExecutionSummaryForThing.h:74
Aws::IoT::Model::JobExecutionSummaryForThing::WithJobId
JobExecutionSummaryForThing & WithJobId(const char *value)
Definition: JobExecutionSummaryForThing.h:79
Aws::IoT::Model::JobExecutionSummaryForThing::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: JobExecutionSummaryForThing.h:49
IoT_EXPORTS.h
Aws::IoT::Model::JobExecutionSummaryForThing::operator=
JobExecutionSummaryForThing & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::JobExecutionSummaryForThing::SetJobId
void SetJobId(Aws::String &&value)
Definition: JobExecutionSummaryForThing.h:59
Aws::IoT::Model::JobExecutionSummaryForThing::JobExecutionSummaryHasBeenSet
bool JobExecutionSummaryHasBeenSet() const
Definition: JobExecutionSummaryForThing.h:90