/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the status code and message that result from processing data for an
* endpoint.See Also:
AWS
* API Reference
The custom message that's returned in the response as a result of processing * the endpoint data.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The custom message that's returned in the response as a result of processing * the endpoint data.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The custom message that's returned in the response as a result of processing * the endpoint data.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The custom message that's returned in the response as a result of processing * the endpoint data.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The custom message that's returned in the response as a result of processing * the endpoint data.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The custom message that's returned in the response as a result of processing * the endpoint data.
*/ inline EndpointItemResponse& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The custom message that's returned in the response as a result of processing * the endpoint data.
*/ inline EndpointItemResponse& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The custom message that's returned in the response as a result of processing * the endpoint data.
*/ inline EndpointItemResponse& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The status code that's returned in the response as a result of processing the * endpoint data.
*/ inline int GetStatusCode() const{ return m_statusCode; } /** *The status code that's returned in the response as a result of processing the * endpoint data.
*/ inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; } /** *The status code that's returned in the response as a result of processing the * endpoint data.
*/ inline void SetStatusCode(int value) { m_statusCodeHasBeenSet = true; m_statusCode = value; } /** *The status code that's returned in the response as a result of processing the * endpoint data.
*/ inline EndpointItemResponse& WithStatusCode(int value) { SetStatusCode(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; int m_statusCode; bool m_statusCodeHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws