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

The API identifier.

*/ inline const Aws::String& GetApiId() const{ return m_apiId; } /** *

The API identifier.

*/ inline void SetApiId(const Aws::String& value) { m_apiId = value; } /** *

The API identifier.

*/ inline void SetApiId(Aws::String&& value) { m_apiId = std::move(value); } /** *

The API identifier.

*/ inline void SetApiId(const char* value) { m_apiId.assign(value); } /** *

The API identifier.

*/ inline GetApiMappingResult& WithApiId(const Aws::String& value) { SetApiId(value); return *this;} /** *

The API identifier.

*/ inline GetApiMappingResult& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;} /** *

The API identifier.

*/ inline GetApiMappingResult& WithApiId(const char* value) { SetApiId(value); return *this;} /** *

The API mapping identifier.

*/ inline const Aws::String& GetApiMappingId() const{ return m_apiMappingId; } /** *

The API mapping identifier.

*/ inline void SetApiMappingId(const Aws::String& value) { m_apiMappingId = value; } /** *

The API mapping identifier.

*/ inline void SetApiMappingId(Aws::String&& value) { m_apiMappingId = std::move(value); } /** *

The API mapping identifier.

*/ inline void SetApiMappingId(const char* value) { m_apiMappingId.assign(value); } /** *

The API mapping identifier.

*/ inline GetApiMappingResult& WithApiMappingId(const Aws::String& value) { SetApiMappingId(value); return *this;} /** *

The API mapping identifier.

*/ inline GetApiMappingResult& WithApiMappingId(Aws::String&& value) { SetApiMappingId(std::move(value)); return *this;} /** *

The API mapping identifier.

*/ inline GetApiMappingResult& WithApiMappingId(const char* value) { SetApiMappingId(value); return *this;} /** *

The API mapping key.

*/ inline const Aws::String& GetApiMappingKey() const{ return m_apiMappingKey; } /** *

The API mapping key.

*/ inline void SetApiMappingKey(const Aws::String& value) { m_apiMappingKey = value; } /** *

The API mapping key.

*/ inline void SetApiMappingKey(Aws::String&& value) { m_apiMappingKey = std::move(value); } /** *

The API mapping key.

*/ inline void SetApiMappingKey(const char* value) { m_apiMappingKey.assign(value); } /** *

The API mapping key.

*/ inline GetApiMappingResult& WithApiMappingKey(const Aws::String& value) { SetApiMappingKey(value); return *this;} /** *

The API mapping key.

*/ inline GetApiMappingResult& WithApiMappingKey(Aws::String&& value) { SetApiMappingKey(std::move(value)); return *this;} /** *

The API mapping key.

*/ inline GetApiMappingResult& WithApiMappingKey(const char* value) { SetApiMappingKey(value); return *this;} /** *

The API stage.

*/ inline const Aws::String& GetStage() const{ return m_stage; } /** *

The API stage.

*/ inline void SetStage(const Aws::String& value) { m_stage = value; } /** *

The API stage.

*/ inline void SetStage(Aws::String&& value) { m_stage = std::move(value); } /** *

The API stage.

*/ inline void SetStage(const char* value) { m_stage.assign(value); } /** *

The API stage.

*/ inline GetApiMappingResult& WithStage(const Aws::String& value) { SetStage(value); return *this;} /** *

The API stage.

*/ inline GetApiMappingResult& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;} /** *

The API stage.

*/ inline GetApiMappingResult& WithStage(const char* value) { SetStage(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 GetApiMappingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetApiMappingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetApiMappingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_apiId; Aws::String m_apiMappingId; Aws::String m_apiMappingKey; Aws::String m_stage; Aws::String m_requestId; }; } // namespace Model } // namespace ApiGatewayV2 } // namespace Aws