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

The Output data type.

See Also:

AWS * API Reference

*/ class Output { public: AWS_CLOUDFORMATION_API Output(); AWS_CLOUDFORMATION_API Output(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFORMATION_API Output& 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; /** *

The key associated with the output.

*/ inline const Aws::String& GetOutputKey() const{ return m_outputKey; } /** *

The key associated with the output.

*/ inline bool OutputKeyHasBeenSet() const { return m_outputKeyHasBeenSet; } /** *

The key associated with the output.

*/ inline void SetOutputKey(const Aws::String& value) { m_outputKeyHasBeenSet = true; m_outputKey = value; } /** *

The key associated with the output.

*/ inline void SetOutputKey(Aws::String&& value) { m_outputKeyHasBeenSet = true; m_outputKey = std::move(value); } /** *

The key associated with the output.

*/ inline void SetOutputKey(const char* value) { m_outputKeyHasBeenSet = true; m_outputKey.assign(value); } /** *

The key associated with the output.

*/ inline Output& WithOutputKey(const Aws::String& value) { SetOutputKey(value); return *this;} /** *

The key associated with the output.

*/ inline Output& WithOutputKey(Aws::String&& value) { SetOutputKey(std::move(value)); return *this;} /** *

The key associated with the output.

*/ inline Output& WithOutputKey(const char* value) { SetOutputKey(value); return *this;} /** *

The value associated with the output.

*/ inline const Aws::String& GetOutputValue() const{ return m_outputValue; } /** *

The value associated with the output.

*/ inline bool OutputValueHasBeenSet() const { return m_outputValueHasBeenSet; } /** *

The value associated with the output.

*/ inline void SetOutputValue(const Aws::String& value) { m_outputValueHasBeenSet = true; m_outputValue = value; } /** *

The value associated with the output.

*/ inline void SetOutputValue(Aws::String&& value) { m_outputValueHasBeenSet = true; m_outputValue = std::move(value); } /** *

The value associated with the output.

*/ inline void SetOutputValue(const char* value) { m_outputValueHasBeenSet = true; m_outputValue.assign(value); } /** *

The value associated with the output.

*/ inline Output& WithOutputValue(const Aws::String& value) { SetOutputValue(value); return *this;} /** *

The value associated with the output.

*/ inline Output& WithOutputValue(Aws::String&& value) { SetOutputValue(std::move(value)); return *this;} /** *

The value associated with the output.

*/ inline Output& WithOutputValue(const char* value) { SetOutputValue(value); return *this;} /** *

User defined description associated with the output.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

User defined description associated with the output.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

User defined description associated with the output.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

User defined description associated with the output.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

User defined description associated with the output.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

User defined description associated with the output.

*/ inline Output& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

User defined description associated with the output.

*/ inline Output& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

User defined description associated with the output.

*/ inline Output& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The name of the export associated with the output.

*/ inline const Aws::String& GetExportName() const{ return m_exportName; } /** *

The name of the export associated with the output.

*/ inline bool ExportNameHasBeenSet() const { return m_exportNameHasBeenSet; } /** *

The name of the export associated with the output.

*/ inline void SetExportName(const Aws::String& value) { m_exportNameHasBeenSet = true; m_exportName = value; } /** *

The name of the export associated with the output.

*/ inline void SetExportName(Aws::String&& value) { m_exportNameHasBeenSet = true; m_exportName = std::move(value); } /** *

The name of the export associated with the output.

*/ inline void SetExportName(const char* value) { m_exportNameHasBeenSet = true; m_exportName.assign(value); } /** *

The name of the export associated with the output.

*/ inline Output& WithExportName(const Aws::String& value) { SetExportName(value); return *this;} /** *

The name of the export associated with the output.

*/ inline Output& WithExportName(Aws::String&& value) { SetExportName(std::move(value)); return *this;} /** *

The name of the export associated with the output.

*/ inline Output& WithExportName(const char* value) { SetExportName(value); return *this;} private: Aws::String m_outputKey; bool m_outputKeyHasBeenSet = false; Aws::String m_outputValue; bool m_outputValueHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_exportName; bool m_exportNameHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws