/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The API encountered an unexpected error and couldn't complete the request.
* You might be able to successfully issue the request again in the
* future.See Also:
AWS
* API Reference
The unique identifier of the request.
*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *The unique identifier of the request.
*/ inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } /** *The unique identifier of the request.
*/ inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } /** *The unique identifier of the request.
*/ inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } /** *The unique identifier of the request.
*/ inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } /** *The unique identifier of the request.
*/ inline InternalServerException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *The unique identifier of the request.
*/ inline InternalServerException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *The unique identifier of the request.
*/ inline InternalServerException& 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 PinpointSMSVoiceV2 } // namespace Aws