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

Information about Amazon Web Services CloudFormation stacks. You can use up * to 500 stacks to specify which Amazon Web Services resources in your account to * analyze. For more information, see Stacks * in the Amazon Web Services CloudFormation User Guide.

See * Also:

AWS * API Reference

*/ class CloudFormationCollection { public: AWS_DEVOPSGURU_API CloudFormationCollection(); AWS_DEVOPSGURU_API CloudFormationCollection(Aws::Utils::Json::JsonView jsonValue); AWS_DEVOPSGURU_API CloudFormationCollection& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An array of CloudFormation stack names.

*/ inline const Aws::Vector& GetStackNames() const{ return m_stackNames; } /** *

An array of CloudFormation stack names.

*/ inline bool StackNamesHasBeenSet() const { return m_stackNamesHasBeenSet; } /** *

An array of CloudFormation stack names.

*/ inline void SetStackNames(const Aws::Vector& value) { m_stackNamesHasBeenSet = true; m_stackNames = value; } /** *

An array of CloudFormation stack names.

*/ inline void SetStackNames(Aws::Vector&& value) { m_stackNamesHasBeenSet = true; m_stackNames = std::move(value); } /** *

An array of CloudFormation stack names.

*/ inline CloudFormationCollection& WithStackNames(const Aws::Vector& value) { SetStackNames(value); return *this;} /** *

An array of CloudFormation stack names.

*/ inline CloudFormationCollection& WithStackNames(Aws::Vector&& value) { SetStackNames(std::move(value)); return *this;} /** *

An array of CloudFormation stack names.

*/ inline CloudFormationCollection& AddStackNames(const Aws::String& value) { m_stackNamesHasBeenSet = true; m_stackNames.push_back(value); return *this; } /** *

An array of CloudFormation stack names.

*/ inline CloudFormationCollection& AddStackNames(Aws::String&& value) { m_stackNamesHasBeenSet = true; m_stackNames.push_back(std::move(value)); return *this; } /** *

An array of CloudFormation stack names.

*/ inline CloudFormationCollection& AddStackNames(const char* value) { m_stackNamesHasBeenSet = true; m_stackNames.push_back(value); return *this; } private: Aws::Vector m_stackNames; bool m_stackNamesHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws