This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-apigatewayv2/include/aws/apigatewayv2/model/TooManyRequestsException.h

134 lines
3.6 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ApiGatewayV2
{
namespace Model
{
/**
* <p>A limit has been exceeded. See the accompanying error message for
* details.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TooManyRequestsException">AWS
* API Reference</a></p>
*/
class AWS_APIGATEWAYV2_API TooManyRequestsException
{
public:
TooManyRequestsException();
TooManyRequestsException(Aws::Utils::Json::JsonView jsonValue);
TooManyRequestsException& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The limit type.</p>
*/
inline const Aws::String& GetLimitType() const{ return m_limitType; }
/**
* <p>The limit type.</p>
*/
inline bool LimitTypeHasBeenSet() const { return m_limitTypeHasBeenSet; }
/**
* <p>The limit type.</p>
*/
inline void SetLimitType(const Aws::String& value) { m_limitTypeHasBeenSet = true; m_limitType = value; }
/**
* <p>The limit type.</p>
*/
inline void SetLimitType(Aws::String&& value) { m_limitTypeHasBeenSet = true; m_limitType = std::move(value); }
/**
* <p>The limit type.</p>
*/
inline void SetLimitType(const char* value) { m_limitTypeHasBeenSet = true; m_limitType.assign(value); }
/**
* <p>The limit type.</p>
*/
inline TooManyRequestsException& WithLimitType(const Aws::String& value) { SetLimitType(value); return *this;}
/**
* <p>The limit type.</p>
*/
inline TooManyRequestsException& WithLimitType(Aws::String&& value) { SetLimitType(std::move(value)); return *this;}
/**
* <p>The limit type.</p>
*/
inline TooManyRequestsException& WithLimitType(const char* value) { SetLimitType(value); return *this;}
/**
* <p>Describes the error encountered.</p>
*/
inline const Aws::String& GetMessage() const{ return m_message; }
/**
* <p>Describes the error encountered.</p>
*/
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
/**
* <p>Describes the error encountered.</p>
*/
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
/**
* <p>Describes the error encountered.</p>
*/
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
/**
* <p>Describes the error encountered.</p>
*/
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
/**
* <p>Describes the error encountered.</p>
*/
inline TooManyRequestsException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
/**
* <p>Describes the error encountered.</p>
*/
inline TooManyRequestsException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
/**
* <p>Describes the error encountered.</p>
*/
inline TooManyRequestsException& WithMessage(const char* value) { SetMessage(value); return *this;}
private:
Aws::String m_limitType;
bool m_limitTypeHasBeenSet;
Aws::String m_message;
bool m_messageHasBeenSet;
};
} // namespace Model
} // namespace ApiGatewayV2
} // namespace Aws