/** * 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 ElasticsearchService { namespace Model { /** *

Container for the parameters to the * DeleteOutboundCrossClusterSearchConnection * operation.

See Also:

AWS * API Reference

*/ class DeleteOutboundCrossClusterSearchConnectionRequest : public ElasticsearchServiceRequest { public: AWS_ELASTICSEARCHSERVICE_API DeleteOutboundCrossClusterSearchConnectionRequest(); // 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 "DeleteOutboundCrossClusterSearchConnection"; } AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override; /** *

The id of the outbound connection that you want to permanently delete.

*/ inline const Aws::String& GetCrossClusterSearchConnectionId() const{ return m_crossClusterSearchConnectionId; } /** *

The id of the outbound connection that you want to permanently delete.

*/ inline bool CrossClusterSearchConnectionIdHasBeenSet() const { return m_crossClusterSearchConnectionIdHasBeenSet; } /** *

The id of the outbound connection that you want to permanently delete.

*/ inline void SetCrossClusterSearchConnectionId(const Aws::String& value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId = value; } /** *

The id of the outbound connection that you want to permanently delete.

*/ inline void SetCrossClusterSearchConnectionId(Aws::String&& value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId = std::move(value); } /** *

The id of the outbound connection that you want to permanently delete.

*/ inline void SetCrossClusterSearchConnectionId(const char* value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId.assign(value); } /** *

The id of the outbound connection that you want to permanently delete.

*/ inline DeleteOutboundCrossClusterSearchConnectionRequest& WithCrossClusterSearchConnectionId(const Aws::String& value) { SetCrossClusterSearchConnectionId(value); return *this;} /** *

The id of the outbound connection that you want to permanently delete.

*/ inline DeleteOutboundCrossClusterSearchConnectionRequest& WithCrossClusterSearchConnectionId(Aws::String&& value) { SetCrossClusterSearchConnectionId(std::move(value)); return *this;} /** *

The id of the outbound connection that you want to permanently delete.

*/ inline DeleteOutboundCrossClusterSearchConnectionRequest& WithCrossClusterSearchConnectionId(const char* value) { SetCrossClusterSearchConnectionId(value); return *this;} private: Aws::String m_crossClusterSearchConnectionId; bool m_crossClusterSearchConnectionIdHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws