/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Exception that indicates that the operation would exceed a
* limit.See Also:
AWS
* API Reference
The type of limit that would be exceeded.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of limit that would be exceeded.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of limit that would be exceeded.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of limit that would be exceeded.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of limit that would be exceeded.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of limit that would be exceeded.
*/ inline LimitsExceededException& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of limit that would be exceeded.
*/ inline LimitsExceededException& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of limit that would be exceeded.
*/ inline LimitsExceededException& WithType(const char* value) { SetType(value); return *this;} /** *The threshold that would be exceeded.
*/ inline long long GetLimit() const{ return m_limit; } /** *The threshold that would be exceeded.
*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *The threshold that would be exceeded.
*/ inline void SetLimit(long long value) { m_limitHasBeenSet = true; m_limit = value; } /** *The threshold that would be exceeded.
*/ inline LimitsExceededException& WithLimit(long long value) { SetLimit(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; long long m_limit; bool m_limitHasBeenSet = false; }; } // namespace Model } // namespace Shield } // namespace Aws