AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
44 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
45 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
50
52
55 inline const Aws::String& GetAssociatedGatewayId() const{ return m_associatedGatewayId; }
56 inline bool AssociatedGatewayIdHasBeenSet() const { return m_associatedGatewayIdHasBeenSet; }
57 inline void SetAssociatedGatewayId(const Aws::String& value) { m_associatedGatewayIdHasBeenSet = true; m_associatedGatewayId = value; }
58 inline void SetAssociatedGatewayId(Aws::String&& value) { m_associatedGatewayIdHasBeenSet = true; m_associatedGatewayId = std::move(value); }
59 inline void SetAssociatedGatewayId(const char* value) { m_associatedGatewayIdHasBeenSet = true; m_associatedGatewayId.assign(value); }
64
66
69 inline const Aws::String& GetDirectConnectGatewayId() const{ return m_directConnectGatewayId; }
70 inline bool DirectConnectGatewayIdHasBeenSet() const { return m_directConnectGatewayIdHasBeenSet; }
71 inline void SetDirectConnectGatewayId(const Aws::String& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = value; }
72 inline void SetDirectConnectGatewayId(Aws::String&& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = std::move(value); }
73 inline void SetDirectConnectGatewayId(const char* value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId.assign(value); }
78
80
86 inline int GetMaxResults() const{ return m_maxResults; }
87 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
88 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
91
93
96 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
99 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
100 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
103 inline DescribeDirectConnectGatewayAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
105
107
110 inline const Aws::String& GetVirtualGatewayId() const{ return m_virtualGatewayId; }
111 inline bool VirtualGatewayIdHasBeenSet() const { return m_virtualGatewayIdHasBeenSet; }
112 inline void SetVirtualGatewayId(const Aws::String& value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId = value; }
113 inline void SetVirtualGatewayId(Aws::String&& value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId = std::move(value); }
114 inline void SetVirtualGatewayId(const char* value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId.assign(value); }
119 private:
120
121 Aws::String m_associationId;
122 bool m_associationIdHasBeenSet = false;
123
124 Aws::String m_associatedGatewayId;
125 bool m_associatedGatewayIdHasBeenSet = false;
126
127 Aws::String m_directConnectGatewayId;
128 bool m_directConnectGatewayIdHasBeenSet = false;
129
130 int m_maxResults;
131 bool m_maxResultsHasBeenSet = false;
132
133 Aws::String m_nextToken;
134 bool m_nextTokenHasBeenSet = false;
135
136 Aws::String m_virtualGatewayId;
137 bool m_virtualGatewayIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace DirectConnect
142} // namespace Aws
DescribeDirectConnectGatewayAssociationsRequest & WithAssociationId(const Aws::String &value)
DescribeDirectConnectGatewayAssociationsRequest & WithNextToken(Aws::String &&value)
DescribeDirectConnectGatewayAssociationsRequest & WithVirtualGatewayId(const Aws::String &value)
DescribeDirectConnectGatewayAssociationsRequest & WithDirectConnectGatewayId(const char *value)
DescribeDirectConnectGatewayAssociationsRequest & WithVirtualGatewayId(Aws::String &&value)
DescribeDirectConnectGatewayAssociationsRequest & WithDirectConnectGatewayId(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
DescribeDirectConnectGatewayAssociationsRequest & WithAssociatedGatewayId(const char *value)
DescribeDirectConnectGatewayAssociationsRequest & WithAssociatedGatewayId(Aws::String &&value)
DescribeDirectConnectGatewayAssociationsRequest & WithNextToken(const Aws::String &value)
DescribeDirectConnectGatewayAssociationsRequest & WithAssociationId(const char *value)
DescribeDirectConnectGatewayAssociationsRequest & WithAssociationId(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeDirectConnectGatewayAssociationsRequest & WithDirectConnectGatewayId(const Aws::String &value)
DescribeDirectConnectGatewayAssociationsRequest & WithAssociatedGatewayId(const Aws::String &value)
DescribeDirectConnectGatewayAssociationsRequest & WithVirtualGatewayId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String