/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Unexpected error while processing the request. Retry the
* request.See Also:
AWS
* API Reference
The name of the exception.
*/ inline const Aws::String& GetAmznErrorType() const{ return m_amznErrorType; } /** *The name of the exception.
*/ inline bool AmznErrorTypeHasBeenSet() const { return m_amznErrorTypeHasBeenSet; } /** *The name of the exception.
*/ inline void SetAmznErrorType(const Aws::String& value) { m_amznErrorTypeHasBeenSet = true; m_amznErrorType = value; } /** *The name of the exception.
*/ inline void SetAmznErrorType(Aws::String&& value) { m_amznErrorTypeHasBeenSet = true; m_amznErrorType = std::move(value); } /** *The name of the exception.
*/ inline void SetAmznErrorType(const char* value) { m_amznErrorTypeHasBeenSet = true; m_amznErrorType.assign(value); } /** *The name of the exception.
*/ inline InternalServiceFault& WithAmznErrorType(const Aws::String& value) { SetAmznErrorType(value); return *this;} /** *The name of the exception.
*/ inline InternalServiceFault& WithAmznErrorType(Aws::String&& value) { SetAmznErrorType(std::move(value)); return *this;} /** *The name of the exception.
*/ inline InternalServiceFault& WithAmznErrorType(const char* value) { SetAmznErrorType(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_amznErrorType; bool m_amznErrorTypeHasBeenSet = false; }; } // namespace Model } // namespace OAM } // namespace Aws