/** * 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 NetworkManager { namespace Model { class RegisterTransitGatewayResult { public: AWS_NETWORKMANAGER_API RegisterTransitGatewayResult(); AWS_NETWORKMANAGER_API RegisterTransitGatewayResult(const Aws::AmazonWebServiceResult& result); AWS_NETWORKMANAGER_API RegisterTransitGatewayResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the transit gateway registration.

*/ inline const TransitGatewayRegistration& GetTransitGatewayRegistration() const{ return m_transitGatewayRegistration; } /** *

Information about the transit gateway registration.

*/ inline void SetTransitGatewayRegistration(const TransitGatewayRegistration& value) { m_transitGatewayRegistration = value; } /** *

Information about the transit gateway registration.

*/ inline void SetTransitGatewayRegistration(TransitGatewayRegistration&& value) { m_transitGatewayRegistration = std::move(value); } /** *

Information about the transit gateway registration.

*/ inline RegisterTransitGatewayResult& WithTransitGatewayRegistration(const TransitGatewayRegistration& value) { SetTransitGatewayRegistration(value); return *this;} /** *

Information about the transit gateway registration.

*/ inline RegisterTransitGatewayResult& WithTransitGatewayRegistration(TransitGatewayRegistration&& value) { SetTransitGatewayRegistration(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 RegisterTransitGatewayResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RegisterTransitGatewayResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RegisterTransitGatewayResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: TransitGatewayRegistration m_transitGatewayRegistration; Aws::String m_requestId; }; } // namespace Model } // namespace NetworkManager } // namespace Aws