/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Reached throttling quota exception.See Also:
AWS
* API Reference
Reached throttling quota exception.
*/ inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } /** *Reached throttling quota exception.
*/ inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } /** *Reached throttling quota exception.
*/ inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } /** *Reached throttling quota exception.
*/ inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } /** *Reached throttling quota exception.
*/ inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } /** *Reached throttling quota exception.
*/ inline ThrottlingException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} /** *Reached throttling quota exception.
*/ inline ThrottlingException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} /** *Reached throttling quota exception.
*/ inline ThrottlingException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} /** *Reached throttling quota exception will retry after x seconds.
*/ inline const Aws::String& GetRetryAfterSeconds() const{ return m_retryAfterSeconds; } /** *Reached throttling quota exception will retry after x seconds.
*/ inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; } /** *Reached throttling quota exception will retry after x seconds.
*/ inline void SetRetryAfterSeconds(const Aws::String& value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = value; } /** *Reached throttling quota exception will retry after x seconds.
*/ inline void SetRetryAfterSeconds(Aws::String&& value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = std::move(value); } /** *Reached throttling quota exception will retry after x seconds.
*/ inline void SetRetryAfterSeconds(const char* value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds.assign(value); } /** *Reached throttling quota exception will retry after x seconds.
*/ inline ThrottlingException& WithRetryAfterSeconds(const Aws::String& value) { SetRetryAfterSeconds(value); return *this;} /** *Reached throttling quota exception will retry after x seconds.
*/ inline ThrottlingException& WithRetryAfterSeconds(Aws::String&& value) { SetRetryAfterSeconds(std::move(value)); return *this;} /** *Reached throttling quota exception will retry after x seconds.
*/ inline ThrottlingException& WithRetryAfterSeconds(const char* value) { SetRetryAfterSeconds(value); return *this;} /** *Reached throttling quota exception service code.
*/ inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } /** *Reached throttling quota exception service code.
*/ inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } /** *Reached throttling quota exception service code.
*/ inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } /** *Reached throttling quota exception service code.
*/ inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } /** *Reached throttling quota exception service code.
*/ inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } /** *Reached throttling quota exception service code.
*/ inline ThrottlingException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} /** *Reached throttling quota exception service code.
*/ inline ThrottlingException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} /** *Reached throttling quota exception service code.
*/ inline ThrottlingException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_quotaCode; bool m_quotaCodeHasBeenSet = false; Aws::String m_retryAfterSeconds; bool m_retryAfterSecondsHasBeenSet = false; Aws::String m_serviceCode; bool m_serviceCodeHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws