/** * 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 GetServiceNetworkServiceAssociationRequest : public VPCLatticeRequest { public: AWS_VPCLATTICE_API GetServiceNetworkServiceAssociationRequest(); // 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 "GetServiceNetworkServiceAssociation"; } AWS_VPCLATTICE_API Aws::String SerializePayload() const override; /** *

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

*/ inline const Aws::String& GetServiceNetworkServiceAssociationIdentifier() const{ return m_serviceNetworkServiceAssociationIdentifier; } /** *

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

*/ inline bool ServiceNetworkServiceAssociationIdentifierHasBeenSet() const { return m_serviceNetworkServiceAssociationIdentifierHasBeenSet; } /** *

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

*/ inline void SetServiceNetworkServiceAssociationIdentifier(const Aws::String& value) { m_serviceNetworkServiceAssociationIdentifierHasBeenSet = true; m_serviceNetworkServiceAssociationIdentifier = value; } /** *

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

*/ inline void SetServiceNetworkServiceAssociationIdentifier(Aws::String&& value) { m_serviceNetworkServiceAssociationIdentifierHasBeenSet = true; m_serviceNetworkServiceAssociationIdentifier = std::move(value); } /** *

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

*/ inline void SetServiceNetworkServiceAssociationIdentifier(const char* value) { m_serviceNetworkServiceAssociationIdentifierHasBeenSet = true; m_serviceNetworkServiceAssociationIdentifier.assign(value); } /** *

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

*/ inline GetServiceNetworkServiceAssociationRequest& WithServiceNetworkServiceAssociationIdentifier(const Aws::String& value) { SetServiceNetworkServiceAssociationIdentifier(value); return *this;} /** *

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

*/ inline GetServiceNetworkServiceAssociationRequest& WithServiceNetworkServiceAssociationIdentifier(Aws::String&& value) { SetServiceNetworkServiceAssociationIdentifier(std::move(value)); return *this;} /** *

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

*/ inline GetServiceNetworkServiceAssociationRequest& WithServiceNetworkServiceAssociationIdentifier(const char* value) { SetServiceNetworkServiceAssociationIdentifier(value); return *this;} private: Aws::String m_serviceNetworkServiceAssociationIdentifier; bool m_serviceNetworkServiceAssociationIdentifierHasBeenSet = false; }; } // namespace Model } // namespace VPCLattice } // namespace Aws