/** * 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 AppConfigData { namespace Model { /** *

Information about an invalid parameter.

See Also:

AWS * API Reference

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

The reason the parameter is invalid.

*/ inline const InvalidParameterProblem& GetProblem() const{ return m_problem; } /** *

The reason the parameter is invalid.

*/ inline bool ProblemHasBeenSet() const { return m_problemHasBeenSet; } /** *

The reason the parameter is invalid.

*/ inline void SetProblem(const InvalidParameterProblem& value) { m_problemHasBeenSet = true; m_problem = value; } /** *

The reason the parameter is invalid.

*/ inline void SetProblem(InvalidParameterProblem&& value) { m_problemHasBeenSet = true; m_problem = std::move(value); } /** *

The reason the parameter is invalid.

*/ inline InvalidParameterDetail& WithProblem(const InvalidParameterProblem& value) { SetProblem(value); return *this;} /** *

The reason the parameter is invalid.

*/ inline InvalidParameterDetail& WithProblem(InvalidParameterProblem&& value) { SetProblem(std::move(value)); return *this;} private: InvalidParameterProblem m_problem; bool m_problemHasBeenSet = false; }; } // namespace Model } // namespace AppConfigData } // namespace Aws