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

A value such as an Amazon Resource Name (ARN) or an Amazon Simple * Notification Service topic entered in an extension when invoked. Parameter * values are specified in an extension association. For more information about * extensions, see Working * with AppConfig extensions in the AppConfig User Guide.

See * Also:

AWS * API Reference

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

Information about the parameter.

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

Information about the parameter.

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

Information about the parameter.

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

Information about the parameter.

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

Information about the parameter.

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

Information about the parameter.

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

Information about the parameter.

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

Information about the parameter.

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

A parameter value must be specified in the extension association.

*/ inline bool GetRequired() const{ return m_required; } /** *

A parameter value must be specified in the extension association.

*/ inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; } /** *

A parameter value must be specified in the extension association.

*/ inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; } /** *

A parameter value must be specified in the extension association.

*/ inline Parameter& WithRequired(bool value) { SetRequired(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; bool m_required; bool m_requiredHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws