/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a failure a contributor insights operation.See
* Also:
AWS
* API Reference
Exception name.
*/ inline const Aws::String& GetExceptionName() const{ return m_exceptionName; } /** *Exception name.
*/ inline bool ExceptionNameHasBeenSet() const { return m_exceptionNameHasBeenSet; } /** *Exception name.
*/ inline void SetExceptionName(const Aws::String& value) { m_exceptionNameHasBeenSet = true; m_exceptionName = value; } /** *Exception name.
*/ inline void SetExceptionName(Aws::String&& value) { m_exceptionNameHasBeenSet = true; m_exceptionName = std::move(value); } /** *Exception name.
*/ inline void SetExceptionName(const char* value) { m_exceptionNameHasBeenSet = true; m_exceptionName.assign(value); } /** *Exception name.
*/ inline FailureException& WithExceptionName(const Aws::String& value) { SetExceptionName(value); return *this;} /** *Exception name.
*/ inline FailureException& WithExceptionName(Aws::String&& value) { SetExceptionName(std::move(value)); return *this;} /** *Exception name.
*/ inline FailureException& WithExceptionName(const char* value) { SetExceptionName(value); return *this;} /** *Description of the failure.
*/ inline const Aws::String& GetExceptionDescription() const{ return m_exceptionDescription; } /** *Description of the failure.
*/ inline bool ExceptionDescriptionHasBeenSet() const { return m_exceptionDescriptionHasBeenSet; } /** *Description of the failure.
*/ inline void SetExceptionDescription(const Aws::String& value) { m_exceptionDescriptionHasBeenSet = true; m_exceptionDescription = value; } /** *Description of the failure.
*/ inline void SetExceptionDescription(Aws::String&& value) { m_exceptionDescriptionHasBeenSet = true; m_exceptionDescription = std::move(value); } /** *Description of the failure.
*/ inline void SetExceptionDescription(const char* value) { m_exceptionDescriptionHasBeenSet = true; m_exceptionDescription.assign(value); } /** *Description of the failure.
*/ inline FailureException& WithExceptionDescription(const Aws::String& value) { SetExceptionDescription(value); return *this;} /** *Description of the failure.
*/ inline FailureException& WithExceptionDescription(Aws::String&& value) { SetExceptionDescription(std::move(value)); return *this;} /** *Description of the failure.
*/ inline FailureException& WithExceptionDescription(const char* value) { SetExceptionDescription(value); return *this;} private: Aws::String m_exceptionName; bool m_exceptionNameHasBeenSet = false; Aws::String m_exceptionDescription; bool m_exceptionDescriptionHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws