/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include You have exceeded your service quota. To perform the requested action, remove
* some of the relevant resources, or use Service Quotas to request a service quota
* increase.See Also:
AWS
* API Reference
The ID of the resource that exceeds a service quota.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *The ID of the resource that exceeds a service quota.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *The ID of the resource that exceeds a service quota.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *The ID of the resource that exceeds a service quota.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *The ID of the resource that exceeds a service quota.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *The ID of the resource that exceeds a service quota.
*/ inline ServiceQuotaExceededException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The ID of the resource that exceeds a service quota.
*/ inline ServiceQuotaExceededException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The ID of the resource that exceeds a service quota.
*/ inline ServiceQuotaExceededException& WithResourceId(const char* value) { SetResourceId(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws