/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The maximum number of API requests has been exceeded. See
* Also:
AWS
* API Reference
A message associated with the Throttling exception.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A message associated with the Throttling exception.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A message associated with the Throttling exception.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A message associated with the Throttling exception.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A message associated with the Throttling exception.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A message associated with the Throttling exception.
*/ inline ThrottlingException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A message associated with the Throttling exception.
*/ inline ThrottlingException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A message associated with the Throttling exception.
*/ inline ThrottlingException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The originating service code.
*/ inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } /** *The originating service code.
*/ inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } /** *The originating service code.
*/ inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } /** *The originating service code.
*/ inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } /** *The originating service code.
*/ inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } /** *The originating service code.
*/ inline ThrottlingException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} /** *The originating service code.
*/ inline ThrottlingException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} /** *The originating service code.
*/ inline ThrottlingException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_serviceCode; bool m_serviceCodeHasBeenSet = false; }; } // namespace Model } // namespace AppRegistry } // namespace Aws