AWS SDK for C++  1.9.129
AWS SDK for C++
AcceptDirectConnectGatewayAssociationProposalRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace DirectConnect
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "AcceptDirectConnectGatewayAssociationProposal"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetDirectConnectGatewayId() const{ return m_directConnectGatewayId; }
43 
47  inline bool DirectConnectGatewayIdHasBeenSet() const { return m_directConnectGatewayIdHasBeenSet; }
48 
52  inline void SetDirectConnectGatewayId(const Aws::String& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = value; }
53 
57  inline void SetDirectConnectGatewayId(Aws::String&& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = std::move(value); }
58 
62  inline void SetDirectConnectGatewayId(const char* value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId.assign(value); }
63 
67  inline AcceptDirectConnectGatewayAssociationProposalRequest& WithDirectConnectGatewayId(const Aws::String& value) { SetDirectConnectGatewayId(value); return *this;}
68 
72  inline AcceptDirectConnectGatewayAssociationProposalRequest& WithDirectConnectGatewayId(Aws::String&& value) { SetDirectConnectGatewayId(std::move(value)); return *this;}
73 
77  inline AcceptDirectConnectGatewayAssociationProposalRequest& WithDirectConnectGatewayId(const char* value) { SetDirectConnectGatewayId(value); return *this;}
78 
79 
83  inline const Aws::String& GetProposalId() const{ return m_proposalId; }
84 
88  inline bool ProposalIdHasBeenSet() const { return m_proposalIdHasBeenSet; }
89 
93  inline void SetProposalId(const Aws::String& value) { m_proposalIdHasBeenSet = true; m_proposalId = value; }
94 
98  inline void SetProposalId(Aws::String&& value) { m_proposalIdHasBeenSet = true; m_proposalId = std::move(value); }
99 
103  inline void SetProposalId(const char* value) { m_proposalIdHasBeenSet = true; m_proposalId.assign(value); }
104 
108  inline AcceptDirectConnectGatewayAssociationProposalRequest& WithProposalId(const Aws::String& value) { SetProposalId(value); return *this;}
109 
113  inline AcceptDirectConnectGatewayAssociationProposalRequest& WithProposalId(Aws::String&& value) { SetProposalId(std::move(value)); return *this;}
114 
118  inline AcceptDirectConnectGatewayAssociationProposalRequest& WithProposalId(const char* value) { SetProposalId(value); return *this;}
119 
120 
125  inline const Aws::String& GetAssociatedGatewayOwnerAccount() const{ return m_associatedGatewayOwnerAccount; }
126 
131  inline bool AssociatedGatewayOwnerAccountHasBeenSet() const { return m_associatedGatewayOwnerAccountHasBeenSet; }
132 
137  inline void SetAssociatedGatewayOwnerAccount(const Aws::String& value) { m_associatedGatewayOwnerAccountHasBeenSet = true; m_associatedGatewayOwnerAccount = value; }
138 
143  inline void SetAssociatedGatewayOwnerAccount(Aws::String&& value) { m_associatedGatewayOwnerAccountHasBeenSet = true; m_associatedGatewayOwnerAccount = std::move(value); }
144 
149  inline void SetAssociatedGatewayOwnerAccount(const char* value) { m_associatedGatewayOwnerAccountHasBeenSet = true; m_associatedGatewayOwnerAccount.assign(value); }
150 
155  inline AcceptDirectConnectGatewayAssociationProposalRequest& WithAssociatedGatewayOwnerAccount(const Aws::String& value) { SetAssociatedGatewayOwnerAccount(value); return *this;}
156 
161  inline AcceptDirectConnectGatewayAssociationProposalRequest& WithAssociatedGatewayOwnerAccount(Aws::String&& value) { SetAssociatedGatewayOwnerAccount(std::move(value)); return *this;}
162 
167  inline AcceptDirectConnectGatewayAssociationProposalRequest& WithAssociatedGatewayOwnerAccount(const char* value) { SetAssociatedGatewayOwnerAccount(value); return *this;}
168 
169 
176  inline const Aws::Vector<RouteFilterPrefix>& GetOverrideAllowedPrefixesToDirectConnectGateway() const{ return m_overrideAllowedPrefixesToDirectConnectGateway; }
177 
184  inline bool OverrideAllowedPrefixesToDirectConnectGatewayHasBeenSet() const { return m_overrideAllowedPrefixesToDirectConnectGatewayHasBeenSet; }
185 
192  inline void SetOverrideAllowedPrefixesToDirectConnectGateway(const Aws::Vector<RouteFilterPrefix>& value) { m_overrideAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_overrideAllowedPrefixesToDirectConnectGateway = value; }
193 
200  inline void SetOverrideAllowedPrefixesToDirectConnectGateway(Aws::Vector<RouteFilterPrefix>&& value) { m_overrideAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_overrideAllowedPrefixesToDirectConnectGateway = std::move(value); }
201 
208  inline AcceptDirectConnectGatewayAssociationProposalRequest& WithOverrideAllowedPrefixesToDirectConnectGateway(const Aws::Vector<RouteFilterPrefix>& value) { SetOverrideAllowedPrefixesToDirectConnectGateway(value); return *this;}
209 
216  inline AcceptDirectConnectGatewayAssociationProposalRequest& WithOverrideAllowedPrefixesToDirectConnectGateway(Aws::Vector<RouteFilterPrefix>&& value) { SetOverrideAllowedPrefixesToDirectConnectGateway(std::move(value)); return *this;}
217 
224  inline AcceptDirectConnectGatewayAssociationProposalRequest& AddOverrideAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix& value) { m_overrideAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_overrideAllowedPrefixesToDirectConnectGateway.push_back(value); return *this; }
225 
232  inline AcceptDirectConnectGatewayAssociationProposalRequest& AddOverrideAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix&& value) { m_overrideAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_overrideAllowedPrefixesToDirectConnectGateway.push_back(std::move(value)); return *this; }
233 
234  private:
235 
236  Aws::String m_directConnectGatewayId;
237  bool m_directConnectGatewayIdHasBeenSet;
238 
239  Aws::String m_proposalId;
240  bool m_proposalIdHasBeenSet;
241 
242  Aws::String m_associatedGatewayOwnerAccount;
243  bool m_associatedGatewayOwnerAccountHasBeenSet;
244 
245  Aws::Vector<RouteFilterPrefix> m_overrideAllowedPrefixesToDirectConnectGateway;
246  bool m_overrideAllowedPrefixesToDirectConnectGatewayHasBeenSet;
247  };
248 
249 } // namespace Model
250 } // namespace DirectConnect
251 } // namespace Aws
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SetProposalId
void SetProposalId(const Aws::String &value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:93
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::WithDirectConnectGatewayId
AcceptDirectConnectGatewayAssociationProposalRequest & WithDirectConnectGatewayId(const char *value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:77
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SetOverrideAllowedPrefixesToDirectConnectGateway
void SetOverrideAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:192
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::WithAssociatedGatewayOwnerAccount
AcceptDirectConnectGatewayAssociationProposalRequest & WithAssociatedGatewayOwnerAccount(Aws::String &&value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:161
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::DirectConnectGatewayIdHasBeenSet
bool DirectConnectGatewayIdHasBeenSet() const
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:47
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::AcceptDirectConnectGatewayAssociationProposalRequest
AcceptDirectConnectGatewayAssociationProposalRequest()
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::WithOverrideAllowedPrefixesToDirectConnectGateway
AcceptDirectConnectGatewayAssociationProposalRequest & WithOverrideAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:208
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::WithDirectConnectGatewayId
AcceptDirectConnectGatewayAssociationProposalRequest & WithDirectConnectGatewayId(const Aws::String &value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:67
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SetDirectConnectGatewayId
void SetDirectConnectGatewayId(Aws::String &&value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:57
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SetDirectConnectGatewayId
void SetDirectConnectGatewayId(const Aws::String &value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:52
Aws::DirectConnect::DirectConnectRequest
Definition: DirectConnectRequest.h:17
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::WithProposalId
AcceptDirectConnectGatewayAssociationProposalRequest & WithProposalId(Aws::String &&value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:113
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DirectConnect_EXPORTS.h
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SetProposalId
void SetProposalId(const char *value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:103
AWSVector.h
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::OverrideAllowedPrefixesToDirectConnectGatewayHasBeenSet
bool OverrideAllowedPrefixesToDirectConnectGatewayHasBeenSet() const
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:184
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::GetDirectConnectGatewayId
const Aws::String & GetDirectConnectGatewayId() const
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:42
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::AddOverrideAllowedPrefixesToDirectConnectGateway
AcceptDirectConnectGatewayAssociationProposalRequest & AddOverrideAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix &&value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:232
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::WithAssociatedGatewayOwnerAccount
AcceptDirectConnectGatewayAssociationProposalRequest & WithAssociatedGatewayOwnerAccount(const Aws::String &value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:155
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::AddOverrideAllowedPrefixesToDirectConnectGateway
AcceptDirectConnectGatewayAssociationProposalRequest & AddOverrideAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix &value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:224
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:24
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SetAssociatedGatewayOwnerAccount
void SetAssociatedGatewayOwnerAccount(Aws::String &&value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:143
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SetAssociatedGatewayOwnerAccount
void SetAssociatedGatewayOwnerAccount(const Aws::String &value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:137
RouteFilterPrefix.h
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::AssociatedGatewayOwnerAccountHasBeenSet
bool AssociatedGatewayOwnerAccountHasBeenSet() const
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:131
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SetAssociatedGatewayOwnerAccount
void SetAssociatedGatewayOwnerAccount(const char *value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:149
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SetProposalId
void SetProposalId(Aws::String &&value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:98
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::ProposalIdHasBeenSet
bool ProposalIdHasBeenSet() const
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:88
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::WithOverrideAllowedPrefixesToDirectConnectGateway
AcceptDirectConnectGatewayAssociationProposalRequest & WithOverrideAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:216
AWSString.h
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::WithProposalId
AcceptDirectConnectGatewayAssociationProposalRequest & WithProposalId(const char *value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:118
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::GetAssociatedGatewayOwnerAccount
const Aws::String & GetAssociatedGatewayOwnerAccount() const
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:125
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectConnect::Model::RouteFilterPrefix
Definition: RouteFilterPrefix.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::WithDirectConnectGatewayId
AcceptDirectConnectGatewayAssociationProposalRequest & WithDirectConnectGatewayId(Aws::String &&value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:72
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SetOverrideAllowedPrefixesToDirectConnectGateway
void SetOverrideAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:200
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::SetDirectConnectGatewayId
void SetDirectConnectGatewayId(const char *value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:62
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::WithAssociatedGatewayOwnerAccount
AcceptDirectConnectGatewayAssociationProposalRequest & WithAssociatedGatewayOwnerAccount(const char *value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:167
AWS_DIRECTCONNECT_API
#define AWS_DIRECTCONNECT_API
Definition: DirectConnect_EXPORTS.h:28
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::GetProposalId
const Aws::String & GetProposalId() const
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:83
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::WithProposalId
AcceptDirectConnectGatewayAssociationProposalRequest & WithProposalId(const Aws::String &value)
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:108
Aws::DirectConnect::Model::AcceptDirectConnectGatewayAssociationProposalRequest::GetOverrideAllowedPrefixesToDirectConnectGateway
const Aws::Vector< RouteFilterPrefix > & GetOverrideAllowedPrefixesToDirectConnectGateway() const
Definition: AcceptDirectConnectGatewayAssociationProposalRequest.h:176
DirectConnectRequest.h