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

Detailed information about the input that failed to satisfy the constraints * specified by a call.

See Also:

AWS * API Reference

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

One or more specified parameters are not valid for the call.

*/ inline const Aws::Map& GetInvalidParameters() const{ return m_invalidParameters; } /** *

One or more specified parameters are not valid for the call.

*/ inline bool InvalidParametersHasBeenSet() const { return m_invalidParametersHasBeenSet; } /** *

One or more specified parameters are not valid for the call.

*/ inline void SetInvalidParameters(const Aws::Map& value) { m_invalidParametersHasBeenSet = true; m_invalidParameters = value; } /** *

One or more specified parameters are not valid for the call.

*/ inline void SetInvalidParameters(Aws::Map&& value) { m_invalidParametersHasBeenSet = true; m_invalidParameters = std::move(value); } /** *

One or more specified parameters are not valid for the call.

*/ inline BadRequestDetails& WithInvalidParameters(const Aws::Map& value) { SetInvalidParameters(value); return *this;} /** *

One or more specified parameters are not valid for the call.

*/ inline BadRequestDetails& WithInvalidParameters(Aws::Map&& value) { SetInvalidParameters(std::move(value)); return *this;} /** *

One or more specified parameters are not valid for the call.

*/ inline BadRequestDetails& AddInvalidParameters(const Aws::String& key, const InvalidParameterDetail& value) { m_invalidParametersHasBeenSet = true; m_invalidParameters.emplace(key, value); return *this; } /** *

One or more specified parameters are not valid for the call.

*/ inline BadRequestDetails& AddInvalidParameters(Aws::String&& key, const InvalidParameterDetail& value) { m_invalidParametersHasBeenSet = true; m_invalidParameters.emplace(std::move(key), value); return *this; } /** *

One or more specified parameters are not valid for the call.

*/ inline BadRequestDetails& AddInvalidParameters(const Aws::String& key, InvalidParameterDetail&& value) { m_invalidParametersHasBeenSet = true; m_invalidParameters.emplace(key, std::move(value)); return *this; } /** *

One or more specified parameters are not valid for the call.

*/ inline BadRequestDetails& AddInvalidParameters(Aws::String&& key, InvalidParameterDetail&& value) { m_invalidParametersHasBeenSet = true; m_invalidParameters.emplace(std::move(key), std::move(value)); return *this; } /** *

One or more specified parameters are not valid for the call.

*/ inline BadRequestDetails& AddInvalidParameters(const char* key, InvalidParameterDetail&& value) { m_invalidParametersHasBeenSet = true; m_invalidParameters.emplace(key, std::move(value)); return *this; } /** *

One or more specified parameters are not valid for the call.

*/ inline BadRequestDetails& AddInvalidParameters(const char* key, const InvalidParameterDetail& value) { m_invalidParametersHasBeenSet = true; m_invalidParameters.emplace(key, value); return *this; } private: Aws::Map m_invalidParameters; bool m_invalidParametersHasBeenSet = false; }; } // namespace Model } // namespace AppConfigData } // namespace Aws