/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace CloudFormation { namespace Model { /** *

Describes whether StackSets performs non-conflicting operations concurrently * and queues conflicting operations.

See Also:

AWS * API Reference

*/ class ManagedExecution { public: AWS_CLOUDFORMATION_API ManagedExecution(); AWS_CLOUDFORMATION_API ManagedExecution(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFORMATION_API ManagedExecution& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

When true, StackSets performs non-conflicting operations * concurrently and queues conflicting operations. After conflicting operations * finish, StackSets starts queued operations in request order.

If * there are already running or queued operations, StackSets queues all incoming * operations even if they are non-conflicting.

You can't modify your stack * set's execution configuration while there are running or queued operations for * that stack set.

When false (default), StackSets * performs one operation at a time in request order.

*/ inline bool GetActive() const{ return m_active; } /** *

When true, StackSets performs non-conflicting operations * concurrently and queues conflicting operations. After conflicting operations * finish, StackSets starts queued operations in request order.

If * there are already running or queued operations, StackSets queues all incoming * operations even if they are non-conflicting.

You can't modify your stack * set's execution configuration while there are running or queued operations for * that stack set.

When false (default), StackSets * performs one operation at a time in request order.

*/ inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; } /** *

When true, StackSets performs non-conflicting operations * concurrently and queues conflicting operations. After conflicting operations * finish, StackSets starts queued operations in request order.

If * there are already running or queued operations, StackSets queues all incoming * operations even if they are non-conflicting.

You can't modify your stack * set's execution configuration while there are running or queued operations for * that stack set.

When false (default), StackSets * performs one operation at a time in request order.

*/ inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; } /** *

When true, StackSets performs non-conflicting operations * concurrently and queues conflicting operations. After conflicting operations * finish, StackSets starts queued operations in request order.

If * there are already running or queued operations, StackSets queues all incoming * operations even if they are non-conflicting.

You can't modify your stack * set's execution configuration while there are running or queued operations for * that stack set.

When false (default), StackSets * performs one operation at a time in request order.

*/ inline ManagedExecution& WithActive(bool value) { SetActive(value); return *this;} private: bool m_active; bool m_activeHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws