AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteDirectConnectGatewayAssociationRequest.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/directconnect/DirectConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DirectConnect
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DIRECTCONNECT_API DeleteDirectConnectGatewayAssociationRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteDirectConnectGatewayAssociation"; }
31
32 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
33
34 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetAssociationId() const { return m_associationId; }
42 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
43 template<typename AssociationIdT = Aws::String>
44 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet = true; m_associationId = std::forward<AssociationIdT>(value); }
45 template<typename AssociationIdT = Aws::String>
46 DeleteDirectConnectGatewayAssociationRequest& WithAssociationId(AssociationIdT&& value) { SetAssociationId(std::forward<AssociationIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDirectConnectGatewayId() const { return m_directConnectGatewayId; }
54 inline bool DirectConnectGatewayIdHasBeenSet() const { return m_directConnectGatewayIdHasBeenSet; }
55 template<typename DirectConnectGatewayIdT = Aws::String>
56 void SetDirectConnectGatewayId(DirectConnectGatewayIdT&& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value); }
57 template<typename DirectConnectGatewayIdT = Aws::String>
58 DeleteDirectConnectGatewayAssociationRequest& WithDirectConnectGatewayId(DirectConnectGatewayIdT&& value) { SetDirectConnectGatewayId(std::forward<DirectConnectGatewayIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetVirtualGatewayId() const { return m_virtualGatewayId; }
66 inline bool VirtualGatewayIdHasBeenSet() const { return m_virtualGatewayIdHasBeenSet; }
67 template<typename VirtualGatewayIdT = Aws::String>
68 void SetVirtualGatewayId(VirtualGatewayIdT&& value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value); }
69 template<typename VirtualGatewayIdT = Aws::String>
70 DeleteDirectConnectGatewayAssociationRequest& WithVirtualGatewayId(VirtualGatewayIdT&& value) { SetVirtualGatewayId(std::forward<VirtualGatewayIdT>(value)); return *this;}
72 private:
73
74 Aws::String m_associationId;
75 bool m_associationIdHasBeenSet = false;
76
77 Aws::String m_directConnectGatewayId;
78 bool m_directConnectGatewayIdHasBeenSet = false;
79
80 Aws::String m_virtualGatewayId;
81 bool m_virtualGatewayIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace DirectConnect
86} // namespace Aws
DeleteDirectConnectGatewayAssociationRequest & WithAssociationId(AssociationIdT &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteDirectConnectGatewayAssociationRequest & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
DeleteDirectConnectGatewayAssociationRequest & WithVirtualGatewayId(VirtualGatewayIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String