This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-directconnect/include/aws/directconnect/model/DeleteBGPPeerRequest.h

202 lines
6.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/directconnect/DirectConnect_EXPORTS.h>
#include <aws/directconnect/DirectConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace DirectConnect
{
namespace Model
{
/**
*/
class AWS_DIRECTCONNECT_API DeleteBGPPeerRequest : public DirectConnectRequest
{
public:
DeleteBGPPeerRequest();
// 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 "DeleteBGPPeer"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ID of the virtual interface.</p>
*/
inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; }
/**
* <p>The ID of the virtual interface.</p>
*/
inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; }
/**
* <p>The ID of the virtual interface.</p>
*/
inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = value; }
/**
* <p>The ID of the virtual interface.</p>
*/
inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = std::move(value); }
/**
* <p>The ID of the virtual interface.</p>
*/
inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId.assign(value); }
/**
* <p>The ID of the virtual interface.</p>
*/
inline DeleteBGPPeerRequest& WithVirtualInterfaceId(const Aws::String& value) { SetVirtualInterfaceId(value); return *this;}
/**
* <p>The ID of the virtual interface.</p>
*/
inline DeleteBGPPeerRequest& WithVirtualInterfaceId(Aws::String&& value) { SetVirtualInterfaceId(std::move(value)); return *this;}
/**
* <p>The ID of the virtual interface.</p>
*/
inline DeleteBGPPeerRequest& WithVirtualInterfaceId(const char* value) { SetVirtualInterfaceId(value); return *this;}
/**
* <p>The autonomous system (AS) number for Border Gateway Protocol (BGP)
* configuration.</p>
*/
inline int GetAsn() const{ return m_asn; }
/**
* <p>The autonomous system (AS) number for Border Gateway Protocol (BGP)
* configuration.</p>
*/
inline bool AsnHasBeenSet() const { return m_asnHasBeenSet; }
/**
* <p>The autonomous system (AS) number for Border Gateway Protocol (BGP)
* configuration.</p>
*/
inline void SetAsn(int value) { m_asnHasBeenSet = true; m_asn = value; }
/**
* <p>The autonomous system (AS) number for Border Gateway Protocol (BGP)
* configuration.</p>
*/
inline DeleteBGPPeerRequest& WithAsn(int value) { SetAsn(value); return *this;}
/**
* <p>The IP address assigned to the customer interface.</p>
*/
inline const Aws::String& GetCustomerAddress() const{ return m_customerAddress; }
/**
* <p>The IP address assigned to the customer interface.</p>
*/
inline bool CustomerAddressHasBeenSet() const { return m_customerAddressHasBeenSet; }
/**
* <p>The IP address assigned to the customer interface.</p>
*/
inline void SetCustomerAddress(const Aws::String& value) { m_customerAddressHasBeenSet = true; m_customerAddress = value; }
/**
* <p>The IP address assigned to the customer interface.</p>
*/
inline void SetCustomerAddress(Aws::String&& value) { m_customerAddressHasBeenSet = true; m_customerAddress = std::move(value); }
/**
* <p>The IP address assigned to the customer interface.</p>
*/
inline void SetCustomerAddress(const char* value) { m_customerAddressHasBeenSet = true; m_customerAddress.assign(value); }
/**
* <p>The IP address assigned to the customer interface.</p>
*/
inline DeleteBGPPeerRequest& WithCustomerAddress(const Aws::String& value) { SetCustomerAddress(value); return *this;}
/**
* <p>The IP address assigned to the customer interface.</p>
*/
inline DeleteBGPPeerRequest& WithCustomerAddress(Aws::String&& value) { SetCustomerAddress(std::move(value)); return *this;}
/**
* <p>The IP address assigned to the customer interface.</p>
*/
inline DeleteBGPPeerRequest& WithCustomerAddress(const char* value) { SetCustomerAddress(value); return *this;}
/**
* <p>The ID of the BGP peer.</p>
*/
inline const Aws::String& GetBgpPeerId() const{ return m_bgpPeerId; }
/**
* <p>The ID of the BGP peer.</p>
*/
inline bool BgpPeerIdHasBeenSet() const { return m_bgpPeerIdHasBeenSet; }
/**
* <p>The ID of the BGP peer.</p>
*/
inline void SetBgpPeerId(const Aws::String& value) { m_bgpPeerIdHasBeenSet = true; m_bgpPeerId = value; }
/**
* <p>The ID of the BGP peer.</p>
*/
inline void SetBgpPeerId(Aws::String&& value) { m_bgpPeerIdHasBeenSet = true; m_bgpPeerId = std::move(value); }
/**
* <p>The ID of the BGP peer.</p>
*/
inline void SetBgpPeerId(const char* value) { m_bgpPeerIdHasBeenSet = true; m_bgpPeerId.assign(value); }
/**
* <p>The ID of the BGP peer.</p>
*/
inline DeleteBGPPeerRequest& WithBgpPeerId(const Aws::String& value) { SetBgpPeerId(value); return *this;}
/**
* <p>The ID of the BGP peer.</p>
*/
inline DeleteBGPPeerRequest& WithBgpPeerId(Aws::String&& value) { SetBgpPeerId(std::move(value)); return *this;}
/**
* <p>The ID of the BGP peer.</p>
*/
inline DeleteBGPPeerRequest& WithBgpPeerId(const char* value) { SetBgpPeerId(value); return *this;}
private:
Aws::String m_virtualInterfaceId;
bool m_virtualInterfaceIdHasBeenSet;
int m_asn;
bool m_asnHasBeenSet;
Aws::String m_customerAddress;
bool m_customerAddressHasBeenSet;
Aws::String m_bgpPeerId;
bool m_bgpPeerIdHasBeenSet;
};
} // namespace Model
} // namespace DirectConnect
} // namespace Aws