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

One or more parameters are not valid.

See Also:

AWS * API Reference

*/ class InvalidParameterException { public: AWS_GROUNDSTATION_API InvalidParameterException(); AWS_GROUNDSTATION_API InvalidParameterException(Aws::Utils::Json::JsonView jsonValue); AWS_GROUNDSTATION_API InvalidParameterException& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const; inline const Aws::String& GetMessage() const{ return m_message; } inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } inline InvalidParameterException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} inline InvalidParameterException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline InvalidParameterException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

*/ inline const Aws::String& GetParameterName() const{ return m_parameterName; } /** *

*/ inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; } /** *

*/ inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; } /** *

*/ inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); } /** *

*/ inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); } /** *

*/ inline InvalidParameterException& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;} /** *

*/ inline InvalidParameterException& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;} /** *

*/ inline InvalidParameterException& WithParameterName(const char* value) { SetParameterName(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_parameterName; bool m_parameterNameHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws