/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes how many instances a stack has for each status.See
* Also:
AWS
* API Reference
The number of instances in the Assigning state.
*/ inline int GetAssigning() const{ return m_assigning; } /** *The number of instances in the Assigning state.
*/ inline bool AssigningHasBeenSet() const { return m_assigningHasBeenSet; } /** *The number of instances in the Assigning state.
*/ inline void SetAssigning(int value) { m_assigningHasBeenSet = true; m_assigning = value; } /** *The number of instances in the Assigning state.
*/ inline InstancesCount& WithAssigning(int value) { SetAssigning(value); return *this;} /** *The number of instances with booting
status.
The number of instances with booting
status.
The number of instances with booting
status.
The number of instances with booting
status.
The number of instances with connection_lost
status.
The number of instances with connection_lost
status.
The number of instances with connection_lost
status.
The number of instances with connection_lost
status.
The number of instances in the Deregistering state.
*/ inline int GetDeregistering() const{ return m_deregistering; } /** *The number of instances in the Deregistering state.
*/ inline bool DeregisteringHasBeenSet() const { return m_deregisteringHasBeenSet; } /** *The number of instances in the Deregistering state.
*/ inline void SetDeregistering(int value) { m_deregisteringHasBeenSet = true; m_deregistering = value; } /** *The number of instances in the Deregistering state.
*/ inline InstancesCount& WithDeregistering(int value) { SetDeregistering(value); return *this;} /** *The number of instances with online
status.
The number of instances with online
status.
The number of instances with online
status.
The number of instances with online
status.
The number of instances with pending
status.
The number of instances with pending
status.
The number of instances with pending
status.
The number of instances with pending
status.
The number of instances with rebooting
status.
The number of instances with rebooting
status.
The number of instances with rebooting
status.
The number of instances with rebooting
status.
The number of instances in the Registered state.
*/ inline int GetRegistered() const{ return m_registered; } /** *The number of instances in the Registered state.
*/ inline bool RegisteredHasBeenSet() const { return m_registeredHasBeenSet; } /** *The number of instances in the Registered state.
*/ inline void SetRegistered(int value) { m_registeredHasBeenSet = true; m_registered = value; } /** *The number of instances in the Registered state.
*/ inline InstancesCount& WithRegistered(int value) { SetRegistered(value); return *this;} /** *The number of instances in the Registering state.
*/ inline int GetRegistering() const{ return m_registering; } /** *The number of instances in the Registering state.
*/ inline bool RegisteringHasBeenSet() const { return m_registeringHasBeenSet; } /** *The number of instances in the Registering state.
*/ inline void SetRegistering(int value) { m_registeringHasBeenSet = true; m_registering = value; } /** *The number of instances in the Registering state.
*/ inline InstancesCount& WithRegistering(int value) { SetRegistering(value); return *this;} /** *The number of instances with requested
status.
The number of instances with requested
status.
The number of instances with requested
status.
The number of instances with requested
status.
The number of instances with running_setup
status.
The number of instances with running_setup
status.
The number of instances with running_setup
status.
The number of instances with running_setup
status.
The number of instances with setup_failed
status.
The number of instances with setup_failed
status.
The number of instances with setup_failed
status.
The number of instances with setup_failed
status.
The number of instances with shutting_down
status.
The number of instances with shutting_down
status.
The number of instances with shutting_down
status.
The number of instances with shutting_down
status.
The number of instances with start_failed
status.
The number of instances with start_failed
status.
The number of instances with start_failed
status.
The number of instances with start_failed
status.
The number of instances with stop_failed
status.
The number of instances with stop_failed
status.
The number of instances with stop_failed
status.
The number of instances with stop_failed
status.
The number of instances with stopped
status.
The number of instances with stopped
status.
The number of instances with stopped
status.
The number of instances with stopped
status.
The number of instances with stopping
status.
The number of instances with stopping
status.
The number of instances with stopping
status.
The number of instances with stopping
status.
The number of instances with terminated
status.
The number of instances with terminated
status.
The number of instances with terminated
status.
The number of instances with terminated
status.
The number of instances with terminating
status.
The number of instances with terminating
status.
The number of instances with terminating
status.
The number of instances with terminating
status.
The number of instances in the Unassigning state.
*/ inline int GetUnassigning() const{ return m_unassigning; } /** *The number of instances in the Unassigning state.
*/ inline bool UnassigningHasBeenSet() const { return m_unassigningHasBeenSet; } /** *The number of instances in the Unassigning state.
*/ inline void SetUnassigning(int value) { m_unassigningHasBeenSet = true; m_unassigning = value; } /** *The number of instances in the Unassigning state.
*/ inline InstancesCount& WithUnassigning(int value) { SetUnassigning(value); return *this;} private: int m_assigning; bool m_assigningHasBeenSet = false; int m_booting; bool m_bootingHasBeenSet = false; int m_connectionLost; bool m_connectionLostHasBeenSet = false; int m_deregistering; bool m_deregisteringHasBeenSet = false; int m_online; bool m_onlineHasBeenSet = false; int m_pending; bool m_pendingHasBeenSet = false; int m_rebooting; bool m_rebootingHasBeenSet = false; int m_registered; bool m_registeredHasBeenSet = false; int m_registering; bool m_registeringHasBeenSet = false; int m_requested; bool m_requestedHasBeenSet = false; int m_runningSetup; bool m_runningSetupHasBeenSet = false; int m_setupFailed; bool m_setupFailedHasBeenSet = false; int m_shuttingDown; bool m_shuttingDownHasBeenSet = false; int m_startFailed; bool m_startFailedHasBeenSet = false; int m_stopFailed; bool m_stopFailedHasBeenSet = false; int m_stopped; bool m_stoppedHasBeenSet = false; int m_stopping; bool m_stoppingHasBeenSet = false; int m_terminated; bool m_terminatedHasBeenSet = false; int m_terminating; bool m_terminatingHasBeenSet = false; int m_unassigning; bool m_unassigningHasBeenSet = false; }; } // namespace Model } // namespace OpsWorks } // namespace Aws