7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/TargetSelection.h>
10#include <aws/iot/model/JobStatus.h>
11#include <aws/core/utils/DateTime.h>
49 template<
typename JobArnT = Aws::String>
50 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet =
true; m_jobArn = std::forward<JobArnT>(value); }
51 template<
typename JobArnT = Aws::String>
61 template<
typename JobIdT = Aws::String>
62 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
63 template<
typename JobIdT = Aws::String>
73 template<
typename ThingGroupIdT = Aws::String>
74 void SetThingGroupId(ThingGroupIdT&& value) { m_thingGroupIdHasBeenSet =
true; m_thingGroupId = std::forward<ThingGroupIdT>(value); }
75 template<
typename ThingGroupIdT = Aws::String>
113 template<
typename CreatedAtT = Aws::Utils::DateTime>
114 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
115 template<
typename CreatedAtT = Aws::Utils::DateTime>
125 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
126 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
127 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
137 template<
typename CompletedAtT = Aws::Utils::DateTime>
138 void SetCompletedAt(CompletedAtT&& value) { m_completedAtHasBeenSet =
true; m_completedAt = std::forward<CompletedAtT>(value); }
139 template<
typename CompletedAtT = Aws::Utils::DateTime>
151 inline void SetIsConcurrent(
bool value) { m_isConcurrentHasBeenSet =
true; m_isConcurrent = value; }
157 bool m_jobArnHasBeenSet =
false;
160 bool m_jobIdHasBeenSet =
false;
163 bool m_thingGroupIdHasBeenSet =
false;
166 bool m_targetSelectionHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
172 bool m_createdAtHasBeenSet =
false;
175 bool m_lastUpdatedAtHasBeenSet =
false;
178 bool m_completedAtHasBeenSet =
false;
180 bool m_isConcurrent{
false};
181 bool m_isConcurrentHasBeenSet =
false;
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(JobStatus value)
JobSummary & WithStatus(JobStatus value)
AWS_IOT_API JobSummary()=default
const Aws::String & GetJobArn() const
const Aws::Utils::DateTime & GetCompletedAt() const
bool ThingGroupIdHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
JobSummary & WithCompletedAt(CompletedAtT &&value)
bool CompletedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
bool CreatedAtHasBeenSet() const
JobSummary & WithJobId(JobIdT &&value)
JobSummary & WithIsConcurrent(bool value)
JobSummary & WithTargetSelection(TargetSelection value)
bool TargetSelectionHasBeenSet() const
void SetThingGroupId(ThingGroupIdT &&value)
void SetTargetSelection(TargetSelection value)
JobStatus GetStatus() const
const Aws::String & GetJobId() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
void SetCompletedAt(CompletedAtT &&value)
JobSummary & WithThingGroupId(ThingGroupIdT &&value)
void SetJobArn(JobArnT &&value)
bool LastUpdatedAtHasBeenSet() const
AWS_IOT_API JobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetIsConcurrent() const
JobSummary & WithJobArn(JobArnT &&value)
void SetIsConcurrent(bool value)
void SetJobId(JobIdT &&value)
bool JobArnHasBeenSet() const
bool JobIdHasBeenSet() const
bool IsConcurrentHasBeenSet() const
JobSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
JobSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetThingGroupId() const
AWS_IOT_API JobSummary(Aws::Utils::Json::JsonView jsonValue)
TargetSelection GetTargetSelection() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue