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

Describes the updated VPC attachment.

*/ inline const VpcAttachment& GetVpcAttachment() const{ return m_vpcAttachment; } /** *

Describes the updated VPC attachment.

*/ inline void SetVpcAttachment(const VpcAttachment& value) { m_vpcAttachment = value; } /** *

Describes the updated VPC attachment.

*/ inline void SetVpcAttachment(VpcAttachment&& value) { m_vpcAttachment = std::move(value); } /** *

Describes the updated VPC attachment.

*/ inline UpdateVpcAttachmentResult& WithVpcAttachment(const VpcAttachment& value) { SetVpcAttachment(value); return *this;} /** *

Describes the updated VPC attachment.

*/ inline UpdateVpcAttachmentResult& WithVpcAttachment(VpcAttachment&& value) { SetVpcAttachment(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 UpdateVpcAttachmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateVpcAttachmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateVpcAttachmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: VpcAttachment m_vpcAttachment; Aws::String m_requestId; }; } // namespace Model } // namespace NetworkManager } // namespace Aws