AWS SDK for C++  0.12.9
AWS SDK for C++
InstancesCount.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace OpsWorks
28 {
29 namespace Model
30 {
31 
36  {
37  public:
40  InstancesCount& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
41  Aws::Utils::Json::JsonValue Jsonize() const;
42 
46  inline long GetAssigning() const{ return m_assigning; }
47 
51  inline void SetAssigning(long value) { m_assigningHasBeenSet = true; m_assigning = value; }
52 
56  inline InstancesCount& WithAssigning(long value) { SetAssigning(value); return *this;}
57 
61  inline long GetBooting() const{ return m_booting; }
62 
66  inline void SetBooting(long value) { m_bootingHasBeenSet = true; m_booting = value; }
67 
71  inline InstancesCount& WithBooting(long value) { SetBooting(value); return *this;}
72 
76  inline long GetConnectionLost() const{ return m_connectionLost; }
77 
81  inline void SetConnectionLost(long value) { m_connectionLostHasBeenSet = true; m_connectionLost = value; }
82 
86  inline InstancesCount& WithConnectionLost(long value) { SetConnectionLost(value); return *this;}
87 
91  inline long GetDeregistering() const{ return m_deregistering; }
92 
96  inline void SetDeregistering(long value) { m_deregisteringHasBeenSet = true; m_deregistering = value; }
97 
101  inline InstancesCount& WithDeregistering(long value) { SetDeregistering(value); return *this;}
102 
106  inline long GetOnline() const{ return m_online; }
107 
111  inline void SetOnline(long value) { m_onlineHasBeenSet = true; m_online = value; }
112 
116  inline InstancesCount& WithOnline(long value) { SetOnline(value); return *this;}
117 
121  inline long GetPending() const{ return m_pending; }
122 
126  inline void SetPending(long value) { m_pendingHasBeenSet = true; m_pending = value; }
127 
131  inline InstancesCount& WithPending(long value) { SetPending(value); return *this;}
132 
136  inline long GetRebooting() const{ return m_rebooting; }
137 
141  inline void SetRebooting(long value) { m_rebootingHasBeenSet = true; m_rebooting = value; }
142 
146  inline InstancesCount& WithRebooting(long value) { SetRebooting(value); return *this;}
147 
151  inline long GetRegistered() const{ return m_registered; }
152 
156  inline void SetRegistered(long value) { m_registeredHasBeenSet = true; m_registered = value; }
157 
161  inline InstancesCount& WithRegistered(long value) { SetRegistered(value); return *this;}
162 
166  inline long GetRegistering() const{ return m_registering; }
167 
171  inline void SetRegistering(long value) { m_registeringHasBeenSet = true; m_registering = value; }
172 
176  inline InstancesCount& WithRegistering(long value) { SetRegistering(value); return *this;}
177 
181  inline long GetRequested() const{ return m_requested; }
182 
186  inline void SetRequested(long value) { m_requestedHasBeenSet = true; m_requested = value; }
187 
191  inline InstancesCount& WithRequested(long value) { SetRequested(value); return *this;}
192 
196  inline long GetRunningSetup() const{ return m_runningSetup; }
197 
201  inline void SetRunningSetup(long value) { m_runningSetupHasBeenSet = true; m_runningSetup = value; }
202 
206  inline InstancesCount& WithRunningSetup(long value) { SetRunningSetup(value); return *this;}
207 
211  inline long GetSetupFailed() const{ return m_setupFailed; }
212 
216  inline void SetSetupFailed(long value) { m_setupFailedHasBeenSet = true; m_setupFailed = value; }
217 
221  inline InstancesCount& WithSetupFailed(long value) { SetSetupFailed(value); return *this;}
222 
226  inline long GetShuttingDown() const{ return m_shuttingDown; }
227 
231  inline void SetShuttingDown(long value) { m_shuttingDownHasBeenSet = true; m_shuttingDown = value; }
232 
236  inline InstancesCount& WithShuttingDown(long value) { SetShuttingDown(value); return *this;}
237 
241  inline long GetStartFailed() const{ return m_startFailed; }
242 
246  inline void SetStartFailed(long value) { m_startFailedHasBeenSet = true; m_startFailed = value; }
247 
251  inline InstancesCount& WithStartFailed(long value) { SetStartFailed(value); return *this;}
252 
256  inline long GetStopped() const{ return m_stopped; }
257 
261  inline void SetStopped(long value) { m_stoppedHasBeenSet = true; m_stopped = value; }
262 
266  inline InstancesCount& WithStopped(long value) { SetStopped(value); return *this;}
267 
271  inline long GetStopping() const{ return m_stopping; }
272 
276  inline void SetStopping(long value) { m_stoppingHasBeenSet = true; m_stopping = value; }
277 
281  inline InstancesCount& WithStopping(long value) { SetStopping(value); return *this;}
282 
286  inline long GetTerminated() const{ return m_terminated; }
287 
291  inline void SetTerminated(long value) { m_terminatedHasBeenSet = true; m_terminated = value; }
292 
296  inline InstancesCount& WithTerminated(long value) { SetTerminated(value); return *this;}
297 
301  inline long GetTerminating() const{ return m_terminating; }
302 
306  inline void SetTerminating(long value) { m_terminatingHasBeenSet = true; m_terminating = value; }
307 
311  inline InstancesCount& WithTerminating(long value) { SetTerminating(value); return *this;}
312 
316  inline long GetUnassigning() const{ return m_unassigning; }
317 
321  inline void SetUnassigning(long value) { m_unassigningHasBeenSet = true; m_unassigning = value; }
322 
326  inline InstancesCount& WithUnassigning(long value) { SetUnassigning(value); return *this;}
327 
328  private:
329  long m_assigning;
330  bool m_assigningHasBeenSet;
331  long m_booting;
332  bool m_bootingHasBeenSet;
333  long m_connectionLost;
334  bool m_connectionLostHasBeenSet;
335  long m_deregistering;
336  bool m_deregisteringHasBeenSet;
337  long m_online;
338  bool m_onlineHasBeenSet;
339  long m_pending;
340  bool m_pendingHasBeenSet;
341  long m_rebooting;
342  bool m_rebootingHasBeenSet;
343  long m_registered;
344  bool m_registeredHasBeenSet;
345  long m_registering;
346  bool m_registeringHasBeenSet;
347  long m_requested;
348  bool m_requestedHasBeenSet;
349  long m_runningSetup;
350  bool m_runningSetupHasBeenSet;
351  long m_setupFailed;
352  bool m_setupFailedHasBeenSet;
353  long m_shuttingDown;
354  bool m_shuttingDownHasBeenSet;
355  long m_startFailed;
356  bool m_startFailedHasBeenSet;
357  long m_stopped;
358  bool m_stoppedHasBeenSet;
359  long m_stopping;
360  bool m_stoppingHasBeenSet;
361  long m_terminated;
362  bool m_terminatedHasBeenSet;
363  long m_terminating;
364  bool m_terminatingHasBeenSet;
365  long m_unassigning;
366  bool m_unassigningHasBeenSet;
367  };
368 
369 } // namespace Model
370 } // namespace OpsWorks
371 } // namespace Aws
InstancesCount & WithTerminating(long value)
InstancesCount & WithRunningSetup(long value)
InstancesCount & WithStartFailed(long value)
InstancesCount & WithShuttingDown(long value)
InstancesCount & WithStopping(long value)
InstancesCount & WithRequested(long value)
InstancesCount & WithStopped(long value)
InstancesCount & WithPending(long value)
InstancesCount & WithTerminated(long value)
InstancesCount & WithRebooting(long value)
InstancesCount & WithBooting(long value)
InstancesCount & WithOnline(long value)
InstancesCount & WithUnassigning(long value)
InstancesCount & WithDeregistering(long value)
InstancesCount & WithSetupFailed(long value)
InstancesCount & WithConnectionLost(long value)
#define AWS_OPSWORKS_API
InstancesCount & WithRegistered(long value)
InstancesCount & WithRegistering(long value)
InstancesCount & WithAssigning(long value)
JSON (JavaScript Object Notation).