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

Represents an application source.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of a AWS CloudFormation stack.

*/ inline const Aws::String& GetCloudFormationStackARN() const{ return m_cloudFormationStackARN; } /** *

The Amazon Resource Name (ARN) of a AWS CloudFormation stack.

*/ inline bool CloudFormationStackARNHasBeenSet() const { return m_cloudFormationStackARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of a AWS CloudFormation stack.

*/ inline void SetCloudFormationStackARN(const Aws::String& value) { m_cloudFormationStackARNHasBeenSet = true; m_cloudFormationStackARN = value; } /** *

The Amazon Resource Name (ARN) of a AWS CloudFormation stack.

*/ inline void SetCloudFormationStackARN(Aws::String&& value) { m_cloudFormationStackARNHasBeenSet = true; m_cloudFormationStackARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of a AWS CloudFormation stack.

*/ inline void SetCloudFormationStackARN(const char* value) { m_cloudFormationStackARNHasBeenSet = true; m_cloudFormationStackARN.assign(value); } /** *

The Amazon Resource Name (ARN) of a AWS CloudFormation stack.

*/ inline ApplicationSource& WithCloudFormationStackARN(const Aws::String& value) { SetCloudFormationStackARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of a AWS CloudFormation stack.

*/ inline ApplicationSource& WithCloudFormationStackARN(Aws::String&& value) { SetCloudFormationStackARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of a AWS CloudFormation stack.

*/ inline ApplicationSource& WithCloudFormationStackARN(const char* value) { SetCloudFormationStackARN(value); return *this;} /** *

A set of tags (up to 50).

*/ inline const Aws::Vector& GetTagFilters() const{ return m_tagFilters; } /** *

A set of tags (up to 50).

*/ inline bool TagFiltersHasBeenSet() const { return m_tagFiltersHasBeenSet; } /** *

A set of tags (up to 50).

*/ inline void SetTagFilters(const Aws::Vector& value) { m_tagFiltersHasBeenSet = true; m_tagFilters = value; } /** *

A set of tags (up to 50).

*/ inline void SetTagFilters(Aws::Vector&& value) { m_tagFiltersHasBeenSet = true; m_tagFilters = std::move(value); } /** *

A set of tags (up to 50).

*/ inline ApplicationSource& WithTagFilters(const Aws::Vector& value) { SetTagFilters(value); return *this;} /** *

A set of tags (up to 50).

*/ inline ApplicationSource& WithTagFilters(Aws::Vector&& value) { SetTagFilters(std::move(value)); return *this;} /** *

A set of tags (up to 50).

*/ inline ApplicationSource& AddTagFilters(const TagFilter& value) { m_tagFiltersHasBeenSet = true; m_tagFilters.push_back(value); return *this; } /** *

A set of tags (up to 50).

*/ inline ApplicationSource& AddTagFilters(TagFilter&& value) { m_tagFiltersHasBeenSet = true; m_tagFilters.push_back(std::move(value)); return *this; } private: Aws::String m_cloudFormationStackARN; bool m_cloudFormationStackARNHasBeenSet = false; Aws::Vector m_tagFilters; bool m_tagFiltersHasBeenSet = false; }; } // namespace Model } // namespace AutoScalingPlans } // namespace Aws