/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A document that contains additional information about the authorization
* status of a request from an encoded message that is returned in response to an
* Amazon Web Services request.See Also:
AWS
* API Reference
The API returns a response with the decoded message.
*/ inline const Aws::String& GetDecodedMessage() const{ return m_decodedMessage; } /** *The API returns a response with the decoded message.
*/ inline void SetDecodedMessage(const Aws::String& value) { m_decodedMessage = value; } /** *The API returns a response with the decoded message.
*/ inline void SetDecodedMessage(Aws::String&& value) { m_decodedMessage = std::move(value); } /** *The API returns a response with the decoded message.
*/ inline void SetDecodedMessage(const char* value) { m_decodedMessage.assign(value); } /** *The API returns a response with the decoded message.
*/ inline DecodeAuthorizationMessageResult& WithDecodedMessage(const Aws::String& value) { SetDecodedMessage(value); return *this;} /** *The API returns a response with the decoded message.
*/ inline DecodeAuthorizationMessageResult& WithDecodedMessage(Aws::String&& value) { SetDecodedMessage(std::move(value)); return *this;} /** *The API returns a response with the decoded message.
*/ inline DecodeAuthorizationMessageResult& WithDecodedMessage(const char* value) { SetDecodedMessage(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DecodeAuthorizationMessageResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DecodeAuthorizationMessageResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_decodedMessage; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace STS } // namespace Aws