/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace VPCLattice { namespace Model { /** */ class GetServiceNetworkVpcAssociationRequest : public VPCLatticeRequest { public: AWS_VPCLATTICE_API GetServiceNetworkVpcAssociationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetServiceNetworkVpcAssociation"; } AWS_VPCLATTICE_API Aws::String SerializePayload() const override; /** *

The ID or Amazon Resource Name (ARN) of the association.

*/ inline const Aws::String& GetServiceNetworkVpcAssociationIdentifier() const{ return m_serviceNetworkVpcAssociationIdentifier; } /** *

The ID or Amazon Resource Name (ARN) of the association.

*/ inline bool ServiceNetworkVpcAssociationIdentifierHasBeenSet() const { return m_serviceNetworkVpcAssociationIdentifierHasBeenSet; } /** *

The ID or Amazon Resource Name (ARN) of the association.

*/ inline void SetServiceNetworkVpcAssociationIdentifier(const Aws::String& value) { m_serviceNetworkVpcAssociationIdentifierHasBeenSet = true; m_serviceNetworkVpcAssociationIdentifier = value; } /** *

The ID or Amazon Resource Name (ARN) of the association.

*/ inline void SetServiceNetworkVpcAssociationIdentifier(Aws::String&& value) { m_serviceNetworkVpcAssociationIdentifierHasBeenSet = true; m_serviceNetworkVpcAssociationIdentifier = std::move(value); } /** *

The ID or Amazon Resource Name (ARN) of the association.

*/ inline void SetServiceNetworkVpcAssociationIdentifier(const char* value) { m_serviceNetworkVpcAssociationIdentifierHasBeenSet = true; m_serviceNetworkVpcAssociationIdentifier.assign(value); } /** *

The ID or Amazon Resource Name (ARN) of the association.

*/ inline GetServiceNetworkVpcAssociationRequest& WithServiceNetworkVpcAssociationIdentifier(const Aws::String& value) { SetServiceNetworkVpcAssociationIdentifier(value); return *this;} /** *

The ID or Amazon Resource Name (ARN) of the association.

*/ inline GetServiceNetworkVpcAssociationRequest& WithServiceNetworkVpcAssociationIdentifier(Aws::String&& value) { SetServiceNetworkVpcAssociationIdentifier(std::move(value)); return *this;} /** *

The ID or Amazon Resource Name (ARN) of the association.

*/ inline GetServiceNetworkVpcAssociationRequest& WithServiceNetworkVpcAssociationIdentifier(const char* value) { SetServiceNetworkVpcAssociationIdentifier(value); return *this;} private: Aws::String m_serviceNetworkVpcAssociationIdentifier; bool m_serviceNetworkVpcAssociationIdentifierHasBeenSet = false; }; } // namespace Model } // namespace VPCLattice } // namespace Aws