/** * 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 Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace ElasticBeanstalk { namespace Model { /** *

Describes the solution stack.

See Also:

AWS * API Reference

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

The name of the solution stack.

*/ inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; } /** *

The name of the solution stack.

*/ inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; } /** *

The name of the solution stack.

*/ inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; } /** *

The name of the solution stack.

*/ inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::move(value); } /** *

The name of the solution stack.

*/ inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); } /** *

The name of the solution stack.

*/ inline SolutionStackDescription& WithSolutionStackName(const Aws::String& value) { SetSolutionStackName(value); return *this;} /** *

The name of the solution stack.

*/ inline SolutionStackDescription& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(std::move(value)); return *this;} /** *

The name of the solution stack.

*/ inline SolutionStackDescription& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;} /** *

The permitted file types allowed for a solution stack.

*/ inline const Aws::Vector& GetPermittedFileTypes() const{ return m_permittedFileTypes; } /** *

The permitted file types allowed for a solution stack.

*/ inline bool PermittedFileTypesHasBeenSet() const { return m_permittedFileTypesHasBeenSet; } /** *

The permitted file types allowed for a solution stack.

*/ inline void SetPermittedFileTypes(const Aws::Vector& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes = value; } /** *

The permitted file types allowed for a solution stack.

*/ inline void SetPermittedFileTypes(Aws::Vector&& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes = std::move(value); } /** *

The permitted file types allowed for a solution stack.

*/ inline SolutionStackDescription& WithPermittedFileTypes(const Aws::Vector& value) { SetPermittedFileTypes(value); return *this;} /** *

The permitted file types allowed for a solution stack.

*/ inline SolutionStackDescription& WithPermittedFileTypes(Aws::Vector&& value) { SetPermittedFileTypes(std::move(value)); return *this;} /** *

The permitted file types allowed for a solution stack.

*/ inline SolutionStackDescription& AddPermittedFileTypes(const Aws::String& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes.push_back(value); return *this; } /** *

The permitted file types allowed for a solution stack.

*/ inline SolutionStackDescription& AddPermittedFileTypes(Aws::String&& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes.push_back(std::move(value)); return *this; } /** *

The permitted file types allowed for a solution stack.

*/ inline SolutionStackDescription& AddPermittedFileTypes(const char* value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes.push_back(value); return *this; } private: Aws::String m_solutionStackName; bool m_solutionStackNameHasBeenSet = false; Aws::Vector m_permittedFileTypes; bool m_permittedFileTypesHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws