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

See Also:

AWS * API Reference

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

The input fails to satisfy the constraints specified by an Amazon Web * Services service.

*/ inline const Aws::String& GetExceptionMessage() const{ return m_exceptionMessage; } /** *

The input fails to satisfy the constraints specified by an Amazon Web * Services service.

*/ inline bool ExceptionMessageHasBeenSet() const { return m_exceptionMessageHasBeenSet; } /** *

The input fails to satisfy the constraints specified by an Amazon Web * Services service.

*/ inline void SetExceptionMessage(const Aws::String& value) { m_exceptionMessageHasBeenSet = true; m_exceptionMessage = value; } /** *

The input fails to satisfy the constraints specified by an Amazon Web * Services service.

*/ inline void SetExceptionMessage(Aws::String&& value) { m_exceptionMessageHasBeenSet = true; m_exceptionMessage = std::move(value); } /** *

The input fails to satisfy the constraints specified by an Amazon Web * Services service.

*/ inline void SetExceptionMessage(const char* value) { m_exceptionMessageHasBeenSet = true; m_exceptionMessage.assign(value); } /** *

The input fails to satisfy the constraints specified by an Amazon Web * Services service.

*/ inline ValidationException& WithExceptionMessage(const Aws::String& value) { SetExceptionMessage(value); return *this;} /** *

The input fails to satisfy the constraints specified by an Amazon Web * Services service.

*/ inline ValidationException& WithExceptionMessage(Aws::String&& value) { SetExceptionMessage(std::move(value)); return *this;} /** *

The input fails to satisfy the constraints specified by an Amazon Web * Services service.

*/ inline ValidationException& WithExceptionMessage(const char* value) { SetExceptionMessage(value); return *this;} private: Aws::String m_exceptionMessage; bool m_exceptionMessageHasBeenSet = false; }; } // namespace Model } // namespace ivsrealtime } // namespace Aws