AWS SDK for C++  1.9.124
AWS SDK for C++
JobProcessDetails.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 
46  inline const Aws::Vector<Aws::String>& GetProcessingTargets() const{ return m_processingTargets; }
47 
53  inline bool ProcessingTargetsHasBeenSet() const { return m_processingTargetsHasBeenSet; }
54 
60  inline void SetProcessingTargets(const Aws::Vector<Aws::String>& value) { m_processingTargetsHasBeenSet = true; m_processingTargets = value; }
61 
67  inline void SetProcessingTargets(Aws::Vector<Aws::String>&& value) { m_processingTargetsHasBeenSet = true; m_processingTargets = std::move(value); }
68 
74  inline JobProcessDetails& WithProcessingTargets(const Aws::Vector<Aws::String>& value) { SetProcessingTargets(value); return *this;}
75 
81  inline JobProcessDetails& WithProcessingTargets(Aws::Vector<Aws::String>&& value) { SetProcessingTargets(std::move(value)); return *this;}
82 
88  inline JobProcessDetails& AddProcessingTargets(const Aws::String& value) { m_processingTargetsHasBeenSet = true; m_processingTargets.push_back(value); return *this; }
89 
95  inline JobProcessDetails& AddProcessingTargets(Aws::String&& value) { m_processingTargetsHasBeenSet = true; m_processingTargets.push_back(std::move(value)); return *this; }
96 
102  inline JobProcessDetails& AddProcessingTargets(const char* value) { m_processingTargetsHasBeenSet = true; m_processingTargets.push_back(value); return *this; }
103 
104 
108  inline int GetNumberOfCanceledThings() const{ return m_numberOfCanceledThings; }
109 
113  inline bool NumberOfCanceledThingsHasBeenSet() const { return m_numberOfCanceledThingsHasBeenSet; }
114 
118  inline void SetNumberOfCanceledThings(int value) { m_numberOfCanceledThingsHasBeenSet = true; m_numberOfCanceledThings = value; }
119 
123  inline JobProcessDetails& WithNumberOfCanceledThings(int value) { SetNumberOfCanceledThings(value); return *this;}
124 
125 
129  inline int GetNumberOfSucceededThings() const{ return m_numberOfSucceededThings; }
130 
134  inline bool NumberOfSucceededThingsHasBeenSet() const { return m_numberOfSucceededThingsHasBeenSet; }
135 
139  inline void SetNumberOfSucceededThings(int value) { m_numberOfSucceededThingsHasBeenSet = true; m_numberOfSucceededThings = value; }
140 
144  inline JobProcessDetails& WithNumberOfSucceededThings(int value) { SetNumberOfSucceededThings(value); return *this;}
145 
146 
150  inline int GetNumberOfFailedThings() const{ return m_numberOfFailedThings; }
151 
155  inline bool NumberOfFailedThingsHasBeenSet() const { return m_numberOfFailedThingsHasBeenSet; }
156 
160  inline void SetNumberOfFailedThings(int value) { m_numberOfFailedThingsHasBeenSet = true; m_numberOfFailedThings = value; }
161 
165  inline JobProcessDetails& WithNumberOfFailedThings(int value) { SetNumberOfFailedThings(value); return *this;}
166 
167 
171  inline int GetNumberOfRejectedThings() const{ return m_numberOfRejectedThings; }
172 
176  inline bool NumberOfRejectedThingsHasBeenSet() const { return m_numberOfRejectedThingsHasBeenSet; }
177 
181  inline void SetNumberOfRejectedThings(int value) { m_numberOfRejectedThingsHasBeenSet = true; m_numberOfRejectedThings = value; }
182 
186  inline JobProcessDetails& WithNumberOfRejectedThings(int value) { SetNumberOfRejectedThings(value); return *this;}
187 
188 
192  inline int GetNumberOfQueuedThings() const{ return m_numberOfQueuedThings; }
193 
197  inline bool NumberOfQueuedThingsHasBeenSet() const { return m_numberOfQueuedThingsHasBeenSet; }
198 
202  inline void SetNumberOfQueuedThings(int value) { m_numberOfQueuedThingsHasBeenSet = true; m_numberOfQueuedThings = value; }
203 
207  inline JobProcessDetails& WithNumberOfQueuedThings(int value) { SetNumberOfQueuedThings(value); return *this;}
208 
209 
213  inline int GetNumberOfInProgressThings() const{ return m_numberOfInProgressThings; }
214 
218  inline bool NumberOfInProgressThingsHasBeenSet() const { return m_numberOfInProgressThingsHasBeenSet; }
219 
223  inline void SetNumberOfInProgressThings(int value) { m_numberOfInProgressThingsHasBeenSet = true; m_numberOfInProgressThings = value; }
224 
228  inline JobProcessDetails& WithNumberOfInProgressThings(int value) { SetNumberOfInProgressThings(value); return *this;}
229 
230 
236  inline int GetNumberOfRemovedThings() const{ return m_numberOfRemovedThings; }
237 
243  inline bool NumberOfRemovedThingsHasBeenSet() const { return m_numberOfRemovedThingsHasBeenSet; }
244 
250  inline void SetNumberOfRemovedThings(int value) { m_numberOfRemovedThingsHasBeenSet = true; m_numberOfRemovedThings = value; }
251 
257  inline JobProcessDetails& WithNumberOfRemovedThings(int value) { SetNumberOfRemovedThings(value); return *this;}
258 
259 
264  inline int GetNumberOfTimedOutThings() const{ return m_numberOfTimedOutThings; }
265 
270  inline bool NumberOfTimedOutThingsHasBeenSet() const { return m_numberOfTimedOutThingsHasBeenSet; }
271 
276  inline void SetNumberOfTimedOutThings(int value) { m_numberOfTimedOutThingsHasBeenSet = true; m_numberOfTimedOutThings = value; }
277 
282  inline JobProcessDetails& WithNumberOfTimedOutThings(int value) { SetNumberOfTimedOutThings(value); return *this;}
283 
284  private:
285 
286  Aws::Vector<Aws::String> m_processingTargets;
287  bool m_processingTargetsHasBeenSet;
288 
289  int m_numberOfCanceledThings;
290  bool m_numberOfCanceledThingsHasBeenSet;
291 
292  int m_numberOfSucceededThings;
293  bool m_numberOfSucceededThingsHasBeenSet;
294 
295  int m_numberOfFailedThings;
296  bool m_numberOfFailedThingsHasBeenSet;
297 
298  int m_numberOfRejectedThings;
299  bool m_numberOfRejectedThingsHasBeenSet;
300 
301  int m_numberOfQueuedThings;
302  bool m_numberOfQueuedThingsHasBeenSet;
303 
304  int m_numberOfInProgressThings;
305  bool m_numberOfInProgressThingsHasBeenSet;
306 
307  int m_numberOfRemovedThings;
308  bool m_numberOfRemovedThingsHasBeenSet;
309 
310  int m_numberOfTimedOutThings;
311  bool m_numberOfTimedOutThingsHasBeenSet;
312  };
313 
314 } // namespace Model
315 } // namespace IoT
316 } // namespace Aws
Aws::IoT::Model::JobProcessDetails::WithNumberOfRejectedThings
JobProcessDetails & WithNumberOfRejectedThings(int value)
Definition: JobProcessDetails.h:186
Aws::IoT::Model::JobProcessDetails::JobProcessDetails
JobProcessDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::JobProcessDetails::WithProcessingTargets
JobProcessDetails & WithProcessingTargets(Aws::Vector< Aws::String > &&value)
Definition: JobProcessDetails.h:81
Aws::IoT::Model::JobProcessDetails::WithNumberOfCanceledThings
JobProcessDetails & WithNumberOfCanceledThings(int value)
Definition: JobProcessDetails.h:123
Aws::IoT::Model::JobProcessDetails::ProcessingTargetsHasBeenSet
bool ProcessingTargetsHasBeenSet() const
Definition: JobProcessDetails.h:53
Aws::IoT::Model::JobProcessDetails::SetProcessingTargets
void SetProcessingTargets(const Aws::Vector< Aws::String > &value)
Definition: JobProcessDetails.h:60
Aws::IoT::Model::JobProcessDetails::JobProcessDetails
JobProcessDetails()
Aws::IoT::Model::JobProcessDetails::SetNumberOfQueuedThings
void SetNumberOfQueuedThings(int value)
Definition: JobProcessDetails.h:202
Aws::IoT::Model::JobProcessDetails::GetNumberOfFailedThings
int GetNumberOfFailedThings() const
Definition: JobProcessDetails.h:150
Aws::IoT::Model::JobProcessDetails::GetNumberOfRejectedThings
int GetNumberOfRejectedThings() const
Definition: JobProcessDetails.h:171
Aws::IoT::Model::JobProcessDetails::WithNumberOfRemovedThings
JobProcessDetails & WithNumberOfRemovedThings(int value)
Definition: JobProcessDetails.h:257
Aws::IoT::Model::JobProcessDetails::WithProcessingTargets
JobProcessDetails & WithProcessingTargets(const Aws::Vector< Aws::String > &value)
Definition: JobProcessDetails.h:74
Aws::IoT::Model::JobProcessDetails::GetNumberOfInProgressThings
int GetNumberOfInProgressThings() const
Definition: JobProcessDetails.h:213
Aws::IoT::Model::JobProcessDetails::WithNumberOfQueuedThings
JobProcessDetails & WithNumberOfQueuedThings(int value)
Definition: JobProcessDetails.h:207
Aws::IoT::Model::JobProcessDetails::GetNumberOfQueuedThings
int GetNumberOfQueuedThings() const
Definition: JobProcessDetails.h:192
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::JobProcessDetails::SetNumberOfFailedThings
void SetNumberOfFailedThings(int value)
Definition: JobProcessDetails.h:160
Aws::IoT::Model::JobProcessDetails::WithNumberOfSucceededThings
JobProcessDetails & WithNumberOfSucceededThings(int value)
Definition: JobProcessDetails.h:144
Aws::IoT::Model::JobProcessDetails::SetNumberOfInProgressThings
void SetNumberOfInProgressThings(int value)
Definition: JobProcessDetails.h:223
Aws::IoT::Model::JobProcessDetails::AddProcessingTargets
JobProcessDetails & AddProcessingTargets(const Aws::String &value)
Definition: JobProcessDetails.h:88
Aws::IoT::Model::JobProcessDetails::SetNumberOfTimedOutThings
void SetNumberOfTimedOutThings(int value)
Definition: JobProcessDetails.h:276
AWSVector.h
Aws::IoT::Model::JobProcessDetails::NumberOfRejectedThingsHasBeenSet
bool NumberOfRejectedThingsHasBeenSet() const
Definition: JobProcessDetails.h:176
Aws::IoT::Model::JobProcessDetails::WithNumberOfTimedOutThings
JobProcessDetails & WithNumberOfTimedOutThings(int value)
Definition: JobProcessDetails.h:282
Aws::IoT::Model::JobProcessDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::JobProcessDetails::GetNumberOfTimedOutThings
int GetNumberOfTimedOutThings() const
Definition: JobProcessDetails.h:264
Aws::IoT::Model::JobProcessDetails::NumberOfInProgressThingsHasBeenSet
bool NumberOfInProgressThingsHasBeenSet() const
Definition: JobProcessDetails.h:218
Aws::IoT::Model::JobProcessDetails::SetNumberOfRemovedThings
void SetNumberOfRemovedThings(int value)
Definition: JobProcessDetails.h:250
Aws::IoT::Model::JobProcessDetails::SetProcessingTargets
void SetProcessingTargets(Aws::Vector< Aws::String > &&value)
Definition: JobProcessDetails.h:67
Aws::IoT::Model::JobProcessDetails::SetNumberOfRejectedThings
void SetNumberOfRejectedThings(int value)
Definition: JobProcessDetails.h:181
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::JobProcessDetails::NumberOfRemovedThingsHasBeenSet
bool NumberOfRemovedThingsHasBeenSet() const
Definition: JobProcessDetails.h:243
Aws::IoT::Model::JobProcessDetails::WithNumberOfFailedThings
JobProcessDetails & WithNumberOfFailedThings(int value)
Definition: JobProcessDetails.h:165
Aws::IoT::Model::JobProcessDetails::NumberOfTimedOutThingsHasBeenSet
bool NumberOfTimedOutThingsHasBeenSet() const
Definition: JobProcessDetails.h:270
Aws::IoT::Model::JobProcessDetails::NumberOfFailedThingsHasBeenSet
bool NumberOfFailedThingsHasBeenSet() const
Definition: JobProcessDetails.h:155
Aws::IoT::Model::JobProcessDetails::GetNumberOfSucceededThings
int GetNumberOfSucceededThings() const
Definition: JobProcessDetails.h:129
Aws::IoT::Model::JobProcessDetails::NumberOfQueuedThingsHasBeenSet
bool NumberOfQueuedThingsHasBeenSet() const
Definition: JobProcessDetails.h:197
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::JobProcessDetails::operator=
JobProcessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::JobProcessDetails::GetProcessingTargets
const Aws::Vector< Aws::String > & GetProcessingTargets() const
Definition: JobProcessDetails.h:46
Aws::IoT::Model::JobProcessDetails::AddProcessingTargets
JobProcessDetails & AddProcessingTargets(Aws::String &&value)
Definition: JobProcessDetails.h:95
Aws::IoT::Model::JobProcessDetails::AddProcessingTargets
JobProcessDetails & AddProcessingTargets(const char *value)
Definition: JobProcessDetails.h:102
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::JobProcessDetails::NumberOfCanceledThingsHasBeenSet
bool NumberOfCanceledThingsHasBeenSet() const
Definition: JobProcessDetails.h:113
Aws::IoT::Model::JobProcessDetails::GetNumberOfCanceledThings
int GetNumberOfCanceledThings() const
Definition: JobProcessDetails.h:108
Aws::IoT::Model::JobProcessDetails::NumberOfSucceededThingsHasBeenSet
bool NumberOfSucceededThingsHasBeenSet() const
Definition: JobProcessDetails.h:134
Aws::IoT::Model::JobProcessDetails
Definition: JobProcessDetails.h:33
Aws::IoT::Model::JobProcessDetails::WithNumberOfInProgressThings
JobProcessDetails & WithNumberOfInProgressThings(int value)
Definition: JobProcessDetails.h:228
Aws::IoT::Model::JobProcessDetails::SetNumberOfCanceledThings
void SetNumberOfCanceledThings(int value)
Definition: JobProcessDetails.h:118
IoT_EXPORTS.h
Aws::IoT::Model::JobProcessDetails::SetNumberOfSucceededThings
void SetNumberOfSucceededThings(int value)
Definition: JobProcessDetails.h:139
Aws::IoT::Model::JobProcessDetails::GetNumberOfRemovedThings
int GetNumberOfRemovedThings() const
Definition: JobProcessDetails.h:236