/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An authentication error occurred.See Also:
AWS
* API Reference
The textual message for the exception.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The textual message for the exception.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The textual message for the exception.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The textual message for the exception.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The textual message for the exception.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The textual message for the exception.
*/ inline AuthenticationFailedException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The textual message for the exception.
*/ inline AuthenticationFailedException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The textual message for the exception.
*/ inline AuthenticationFailedException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The identifier of the request that caused the exception.
*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *The identifier of the request that caused the exception.
*/ inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } /** *The identifier of the request that caused the exception.
*/ inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } /** *The identifier of the request that caused the exception.
*/ inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } /** *The identifier of the request that caused the exception.
*/ inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } /** *The identifier of the request that caused the exception.
*/ inline AuthenticationFailedException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *The identifier of the request that caused the exception.
*/ inline AuthenticationFailedException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *The identifier of the request that caused the exception.
*/ inline AuthenticationFailedException& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_requestId; bool m_requestIdHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws