AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeDirectConnectGatewayAssociationsRequest.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 DescribeDirectConnectGatewayAssociationsRequest() = 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 "DescribeDirectConnectGatewayAssociations"; }
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 DescribeDirectConnectGatewayAssociationsRequest& WithAssociationId(AssociationIdT&& value) { SetAssociationId(std::forward<AssociationIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetAssociatedGatewayId() const { return m_associatedGatewayId; }
54 inline bool AssociatedGatewayIdHasBeenSet() const { return m_associatedGatewayIdHasBeenSet; }
55 template<typename AssociatedGatewayIdT = Aws::String>
56 void SetAssociatedGatewayId(AssociatedGatewayIdT&& value) { m_associatedGatewayIdHasBeenSet = true; m_associatedGatewayId = std::forward<AssociatedGatewayIdT>(value); }
57 template<typename AssociatedGatewayIdT = Aws::String>
58 DescribeDirectConnectGatewayAssociationsRequest& WithAssociatedGatewayId(AssociatedGatewayIdT&& value) { SetAssociatedGatewayId(std::forward<AssociatedGatewayIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDirectConnectGatewayId() const { return m_directConnectGatewayId; }
66 inline bool DirectConnectGatewayIdHasBeenSet() const { return m_directConnectGatewayIdHasBeenSet; }
67 template<typename DirectConnectGatewayIdT = Aws::String>
68 void SetDirectConnectGatewayId(DirectConnectGatewayIdT&& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value); }
69 template<typename DirectConnectGatewayIdT = Aws::String>
70 DescribeDirectConnectGatewayAssociationsRequest& WithDirectConnectGatewayId(DirectConnectGatewayIdT&& value) { SetDirectConnectGatewayId(std::forward<DirectConnectGatewayIdT>(value)); return *this;}
72
74
80 inline int GetMaxResults() const { return m_maxResults; }
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
85
87
90 inline const Aws::String& GetNextToken() const { return m_nextToken; }
91 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
92 template<typename NextTokenT = Aws::String>
93 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
94 template<typename NextTokenT = Aws::String>
95 DescribeDirectConnectGatewayAssociationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
97
99
102 inline const Aws::String& GetVirtualGatewayId() const { return m_virtualGatewayId; }
103 inline bool VirtualGatewayIdHasBeenSet() const { return m_virtualGatewayIdHasBeenSet; }
104 template<typename VirtualGatewayIdT = Aws::String>
105 void SetVirtualGatewayId(VirtualGatewayIdT&& value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value); }
106 template<typename VirtualGatewayIdT = Aws::String>
107 DescribeDirectConnectGatewayAssociationsRequest& WithVirtualGatewayId(VirtualGatewayIdT&& value) { SetVirtualGatewayId(std::forward<VirtualGatewayIdT>(value)); return *this;}
109 private:
110
111 Aws::String m_associationId;
112 bool m_associationIdHasBeenSet = false;
113
114 Aws::String m_associatedGatewayId;
115 bool m_associatedGatewayIdHasBeenSet = false;
116
117 Aws::String m_directConnectGatewayId;
118 bool m_directConnectGatewayIdHasBeenSet = false;
119
120 int m_maxResults{0};
121 bool m_maxResultsHasBeenSet = false;
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125
126 Aws::String m_virtualGatewayId;
127 bool m_virtualGatewayIdHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace DirectConnect
132} // namespace Aws
DescribeDirectConnectGatewayAssociationsRequest & WithNextToken(NextTokenT &&value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
DescribeDirectConnectGatewayAssociationsRequest & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
DescribeDirectConnectGatewayAssociationsRequest & WithVirtualGatewayId(VirtualGatewayIdT &&value)
DescribeDirectConnectGatewayAssociationsRequest & WithAssociationId(AssociationIdT &&value)
DescribeDirectConnectGatewayAssociationsRequest & WithAssociatedGatewayId(AssociatedGatewayIdT &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String