/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace RedshiftServerless { namespace Model { class GetUsageLimitResult { public: AWS_REDSHIFTSERVERLESS_API GetUsageLimitResult(); AWS_REDSHIFTSERVERLESS_API GetUsageLimitResult(const Aws::AmazonWebServiceResult& result); AWS_REDSHIFTSERVERLESS_API GetUsageLimitResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The returned usage limit object.

*/ inline const UsageLimit& GetUsageLimit() const{ return m_usageLimit; } /** *

The returned usage limit object.

*/ inline void SetUsageLimit(const UsageLimit& value) { m_usageLimit = value; } /** *

The returned usage limit object.

*/ inline void SetUsageLimit(UsageLimit&& value) { m_usageLimit = std::move(value); } /** *

The returned usage limit object.

*/ inline GetUsageLimitResult& WithUsageLimit(const UsageLimit& value) { SetUsageLimit(value); return *this;} /** *

The returned usage limit object.

*/ inline GetUsageLimitResult& WithUsageLimit(UsageLimit&& value) { SetUsageLimit(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetUsageLimitResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetUsageLimitResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetUsageLimitResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: UsageLimit m_usageLimit; Aws::String m_requestId; }; } // namespace Model } // namespace RedshiftServerless } // namespace Aws