AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobProcessDetails.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
33 {
34 public:
35 AWS_IOT_API JobProcessDetails();
39
40
42
47 inline const Aws::Vector<Aws::String>& GetProcessingTargets() const{ return m_processingTargets; }
48 inline bool ProcessingTargetsHasBeenSet() const { return m_processingTargetsHasBeenSet; }
49 inline void SetProcessingTargets(const Aws::Vector<Aws::String>& value) { m_processingTargetsHasBeenSet = true; m_processingTargets = value; }
50 inline void SetProcessingTargets(Aws::Vector<Aws::String>&& value) { m_processingTargetsHasBeenSet = true; m_processingTargets = std::move(value); }
52 inline JobProcessDetails& WithProcessingTargets(Aws::Vector<Aws::String>&& value) { SetProcessingTargets(std::move(value)); return *this;}
53 inline JobProcessDetails& AddProcessingTargets(const Aws::String& value) { m_processingTargetsHasBeenSet = true; m_processingTargets.push_back(value); return *this; }
54 inline JobProcessDetails& AddProcessingTargets(Aws::String&& value) { m_processingTargetsHasBeenSet = true; m_processingTargets.push_back(std::move(value)); return *this; }
55 inline JobProcessDetails& AddProcessingTargets(const char* value) { m_processingTargetsHasBeenSet = true; m_processingTargets.push_back(value); return *this; }
57
59
62 inline int GetNumberOfCanceledThings() const{ return m_numberOfCanceledThings; }
63 inline bool NumberOfCanceledThingsHasBeenSet() const { return m_numberOfCanceledThingsHasBeenSet; }
64 inline void SetNumberOfCanceledThings(int value) { m_numberOfCanceledThingsHasBeenSet = true; m_numberOfCanceledThings = value; }
67
69
72 inline int GetNumberOfSucceededThings() const{ return m_numberOfSucceededThings; }
73 inline bool NumberOfSucceededThingsHasBeenSet() const { return m_numberOfSucceededThingsHasBeenSet; }
74 inline void SetNumberOfSucceededThings(int value) { m_numberOfSucceededThingsHasBeenSet = true; m_numberOfSucceededThings = value; }
77
79
82 inline int GetNumberOfFailedThings() const{ return m_numberOfFailedThings; }
83 inline bool NumberOfFailedThingsHasBeenSet() const { return m_numberOfFailedThingsHasBeenSet; }
84 inline void SetNumberOfFailedThings(int value) { m_numberOfFailedThingsHasBeenSet = true; m_numberOfFailedThings = value; }
85 inline JobProcessDetails& WithNumberOfFailedThings(int value) { SetNumberOfFailedThings(value); return *this;}
87
89
92 inline int GetNumberOfRejectedThings() const{ return m_numberOfRejectedThings; }
93 inline bool NumberOfRejectedThingsHasBeenSet() const { return m_numberOfRejectedThingsHasBeenSet; }
94 inline void SetNumberOfRejectedThings(int value) { m_numberOfRejectedThingsHasBeenSet = true; m_numberOfRejectedThings = value; }
97
99
102 inline int GetNumberOfQueuedThings() const{ return m_numberOfQueuedThings; }
103 inline bool NumberOfQueuedThingsHasBeenSet() const { return m_numberOfQueuedThingsHasBeenSet; }
104 inline void SetNumberOfQueuedThings(int value) { m_numberOfQueuedThingsHasBeenSet = true; m_numberOfQueuedThings = value; }
105 inline JobProcessDetails& WithNumberOfQueuedThings(int value) { SetNumberOfQueuedThings(value); return *this;}
107
109
112 inline int GetNumberOfInProgressThings() const{ return m_numberOfInProgressThings; }
113 inline bool NumberOfInProgressThingsHasBeenSet() const { return m_numberOfInProgressThingsHasBeenSet; }
114 inline void SetNumberOfInProgressThings(int value) { m_numberOfInProgressThingsHasBeenSet = true; m_numberOfInProgressThings = value; }
117
119
124 inline int GetNumberOfRemovedThings() const{ return m_numberOfRemovedThings; }
125 inline bool NumberOfRemovedThingsHasBeenSet() const { return m_numberOfRemovedThingsHasBeenSet; }
126 inline void SetNumberOfRemovedThings(int value) { m_numberOfRemovedThingsHasBeenSet = true; m_numberOfRemovedThings = value; }
127 inline JobProcessDetails& WithNumberOfRemovedThings(int value) { SetNumberOfRemovedThings(value); return *this;}
129
131
135 inline int GetNumberOfTimedOutThings() const{ return m_numberOfTimedOutThings; }
136 inline bool NumberOfTimedOutThingsHasBeenSet() const { return m_numberOfTimedOutThingsHasBeenSet; }
137 inline void SetNumberOfTimedOutThings(int value) { m_numberOfTimedOutThingsHasBeenSet = true; m_numberOfTimedOutThings = value; }
140 private:
141
142 Aws::Vector<Aws::String> m_processingTargets;
143 bool m_processingTargetsHasBeenSet = false;
144
145 int m_numberOfCanceledThings;
146 bool m_numberOfCanceledThingsHasBeenSet = false;
147
148 int m_numberOfSucceededThings;
149 bool m_numberOfSucceededThingsHasBeenSet = false;
150
151 int m_numberOfFailedThings;
152 bool m_numberOfFailedThingsHasBeenSet = false;
153
154 int m_numberOfRejectedThings;
155 bool m_numberOfRejectedThingsHasBeenSet = false;
156
157 int m_numberOfQueuedThings;
158 bool m_numberOfQueuedThingsHasBeenSet = false;
159
160 int m_numberOfInProgressThings;
161 bool m_numberOfInProgressThingsHasBeenSet = false;
162
163 int m_numberOfRemovedThings;
164 bool m_numberOfRemovedThingsHasBeenSet = false;
165
166 int m_numberOfTimedOutThings;
167 bool m_numberOfTimedOutThingsHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace IoT
172} // namespace Aws
AWS_IOT_API JobProcessDetails(Aws::Utils::Json::JsonView jsonValue)
JobProcessDetails & WithProcessingTargets(Aws::Vector< Aws::String > &&value)
JobProcessDetails & WithProcessingTargets(const Aws::Vector< Aws::String > &value)
JobProcessDetails & WithNumberOfFailedThings(int value)
JobProcessDetails & AddProcessingTargets(Aws::String &&value)
AWS_IOT_API JobProcessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
JobProcessDetails & WithNumberOfTimedOutThings(int value)
JobProcessDetails & AddProcessingTargets(const char *value)
const Aws::Vector< Aws::String > & GetProcessingTargets() const
JobProcessDetails & WithNumberOfQueuedThings(int value)
JobProcessDetails & WithNumberOfRemovedThings(int value)
JobProcessDetails & WithNumberOfInProgressThings(int value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
JobProcessDetails & WithNumberOfSucceededThings(int value)
JobProcessDetails & WithNumberOfRejectedThings(int value)
void SetProcessingTargets(Aws::Vector< Aws::String > &&value)
void SetProcessingTargets(const Aws::Vector< Aws::String > &value)
JobProcessDetails & WithNumberOfCanceledThings(int value)
JobProcessDetails & AddProcessingTargets(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue