AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DirectConnectGatewayAssociationProposal.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/DirectConnectGatewayAssociationProposalState.h>
10#include <aws/directconnect/model/AssociatedGateway.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/directconnect/model/RouteFilterPrefix.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DirectConnect
26{
27namespace Model
28{
29
37 {
38 public:
42 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetProposalId() const{ return m_proposalId; }
50 inline bool ProposalIdHasBeenSet() const { return m_proposalIdHasBeenSet; }
51 inline void SetProposalId(const Aws::String& value) { m_proposalIdHasBeenSet = true; m_proposalId = value; }
52 inline void SetProposalId(Aws::String&& value) { m_proposalIdHasBeenSet = true; m_proposalId = std::move(value); }
53 inline void SetProposalId(const char* value) { m_proposalIdHasBeenSet = true; m_proposalId.assign(value); }
55 inline DirectConnectGatewayAssociationProposal& WithProposalId(Aws::String&& value) { SetProposalId(std::move(value)); return *this;}
56 inline DirectConnectGatewayAssociationProposal& WithProposalId(const char* value) { SetProposalId(value); return *this;}
58
60
63 inline const Aws::String& GetDirectConnectGatewayId() const{ return m_directConnectGatewayId; }
64 inline bool DirectConnectGatewayIdHasBeenSet() const { return m_directConnectGatewayIdHasBeenSet; }
65 inline void SetDirectConnectGatewayId(const Aws::String& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = value; }
66 inline void SetDirectConnectGatewayId(Aws::String&& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = std::move(value); }
67 inline void SetDirectConnectGatewayId(const char* value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId.assign(value); }
72
74
78 inline const Aws::String& GetDirectConnectGatewayOwnerAccount() const{ return m_directConnectGatewayOwnerAccount; }
79 inline bool DirectConnectGatewayOwnerAccountHasBeenSet() const { return m_directConnectGatewayOwnerAccountHasBeenSet; }
80 inline void SetDirectConnectGatewayOwnerAccount(const Aws::String& value) { m_directConnectGatewayOwnerAccountHasBeenSet = true; m_directConnectGatewayOwnerAccount = value; }
81 inline void SetDirectConnectGatewayOwnerAccount(Aws::String&& value) { m_directConnectGatewayOwnerAccountHasBeenSet = true; m_directConnectGatewayOwnerAccount = std::move(value); }
82 inline void SetDirectConnectGatewayOwnerAccount(const char* value) { m_directConnectGatewayOwnerAccountHasBeenSet = true; m_directConnectGatewayOwnerAccount.assign(value); }
87
89
99 inline const DirectConnectGatewayAssociationProposalState& GetProposalState() const{ return m_proposalState; }
100 inline bool ProposalStateHasBeenSet() const { return m_proposalStateHasBeenSet; }
101 inline void SetProposalState(const DirectConnectGatewayAssociationProposalState& value) { m_proposalStateHasBeenSet = true; m_proposalState = value; }
102 inline void SetProposalState(DirectConnectGatewayAssociationProposalState&& value) { m_proposalStateHasBeenSet = true; m_proposalState = std::move(value); }
106
108
111 inline const AssociatedGateway& GetAssociatedGateway() const{ return m_associatedGateway; }
112 inline bool AssociatedGatewayHasBeenSet() const { return m_associatedGatewayHasBeenSet; }
113 inline void SetAssociatedGateway(const AssociatedGateway& value) { m_associatedGatewayHasBeenSet = true; m_associatedGateway = value; }
114 inline void SetAssociatedGateway(AssociatedGateway&& value) { m_associatedGatewayHasBeenSet = true; m_associatedGateway = std::move(value); }
118
120
124 inline const Aws::Vector<RouteFilterPrefix>& GetExistingAllowedPrefixesToDirectConnectGateway() const{ return m_existingAllowedPrefixesToDirectConnectGateway; }
125 inline bool ExistingAllowedPrefixesToDirectConnectGatewayHasBeenSet() const { return m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet; }
126 inline void SetExistingAllowedPrefixesToDirectConnectGateway(const Aws::Vector<RouteFilterPrefix>& value) { m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_existingAllowedPrefixesToDirectConnectGateway = value; }
127 inline void SetExistingAllowedPrefixesToDirectConnectGateway(Aws::Vector<RouteFilterPrefix>&& value) { m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_existingAllowedPrefixesToDirectConnectGateway = std::move(value); }
130 inline DirectConnectGatewayAssociationProposal& AddExistingAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix& value) { m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_existingAllowedPrefixesToDirectConnectGateway.push_back(value); return *this; }
131 inline DirectConnectGatewayAssociationProposal& AddExistingAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix&& value) { m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_existingAllowedPrefixesToDirectConnectGateway.push_back(std::move(value)); return *this; }
133
135
138 inline const Aws::Vector<RouteFilterPrefix>& GetRequestedAllowedPrefixesToDirectConnectGateway() const{ return m_requestedAllowedPrefixesToDirectConnectGateway; }
139 inline bool RequestedAllowedPrefixesToDirectConnectGatewayHasBeenSet() const { return m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet; }
140 inline void SetRequestedAllowedPrefixesToDirectConnectGateway(const Aws::Vector<RouteFilterPrefix>& value) { m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_requestedAllowedPrefixesToDirectConnectGateway = value; }
141 inline void SetRequestedAllowedPrefixesToDirectConnectGateway(Aws::Vector<RouteFilterPrefix>&& value) { m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_requestedAllowedPrefixesToDirectConnectGateway = std::move(value); }
144 inline DirectConnectGatewayAssociationProposal& AddRequestedAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix& value) { m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_requestedAllowedPrefixesToDirectConnectGateway.push_back(value); return *this; }
145 inline DirectConnectGatewayAssociationProposal& AddRequestedAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix&& value) { m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet = true; m_requestedAllowedPrefixesToDirectConnectGateway.push_back(std::move(value)); return *this; }
147 private:
148
149 Aws::String m_proposalId;
150 bool m_proposalIdHasBeenSet = false;
151
152 Aws::String m_directConnectGatewayId;
153 bool m_directConnectGatewayIdHasBeenSet = false;
154
155 Aws::String m_directConnectGatewayOwnerAccount;
156 bool m_directConnectGatewayOwnerAccountHasBeenSet = false;
157
159 bool m_proposalStateHasBeenSet = false;
160
161 AssociatedGateway m_associatedGateway;
162 bool m_associatedGatewayHasBeenSet = false;
163
164 Aws::Vector<RouteFilterPrefix> m_existingAllowedPrefixesToDirectConnectGateway;
165 bool m_existingAllowedPrefixesToDirectConnectGatewayHasBeenSet = false;
166
167 Aws::Vector<RouteFilterPrefix> m_requestedAllowedPrefixesToDirectConnectGateway;
168 bool m_requestedAllowedPrefixesToDirectConnectGatewayHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace DirectConnect
173} // namespace Aws
DirectConnectGatewayAssociationProposal & WithAssociatedGateway(AssociatedGateway &&value)
DirectConnectGatewayAssociationProposal & WithDirectConnectGatewayOwnerAccount(Aws::String &&value)
void SetProposalState(const DirectConnectGatewayAssociationProposalState &value)
DirectConnectGatewayAssociationProposal & WithProposalState(DirectConnectGatewayAssociationProposalState &&value)
void SetRequestedAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
DirectConnectGatewayAssociationProposal & AddRequestedAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix &value)
DirectConnectGatewayAssociationProposal & WithProposalId(const char *value)
DirectConnectGatewayAssociationProposal & WithRequestedAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
DirectConnectGatewayAssociationProposal & WithDirectConnectGatewayOwnerAccount(const char *value)
DirectConnectGatewayAssociationProposal & WithAssociatedGateway(const AssociatedGateway &value)
DirectConnectGatewayAssociationProposal & WithProposalId(const Aws::String &value)
AWS_DIRECTCONNECT_API DirectConnectGatewayAssociationProposal & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTCONNECT_API DirectConnectGatewayAssociationProposal(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RouteFilterPrefix > & GetExistingAllowedPrefixesToDirectConnectGateway() const
DirectConnectGatewayAssociationProposal & WithDirectConnectGatewayId(const Aws::String &value)
DirectConnectGatewayAssociationProposal & AddRequestedAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix &&value)
void SetProposalState(DirectConnectGatewayAssociationProposalState &&value)
DirectConnectGatewayAssociationProposal & WithProposalId(Aws::String &&value)
DirectConnectGatewayAssociationProposal & WithProposalState(const DirectConnectGatewayAssociationProposalState &value)
const Aws::Vector< RouteFilterPrefix > & GetRequestedAllowedPrefixesToDirectConnectGateway() const
DirectConnectGatewayAssociationProposal & WithDirectConnectGatewayOwnerAccount(const Aws::String &value)
void SetExistingAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
DirectConnectGatewayAssociationProposal & WithExistingAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
DirectConnectGatewayAssociationProposal & WithRequestedAllowedPrefixesToDirectConnectGateway(Aws::Vector< RouteFilterPrefix > &&value)
const DirectConnectGatewayAssociationProposalState & GetProposalState() const
DirectConnectGatewayAssociationProposal & WithExistingAllowedPrefixesToDirectConnectGateway(const Aws::Vector< RouteFilterPrefix > &value)
DirectConnectGatewayAssociationProposal & WithDirectConnectGatewayId(const char *value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DirectConnectGatewayAssociationProposal & AddExistingAllowedPrefixesToDirectConnectGateway(RouteFilterPrefix &&value)
DirectConnectGatewayAssociationProposal & WithDirectConnectGatewayId(Aws::String &&value)
DirectConnectGatewayAssociationProposal & AddExistingAllowedPrefixesToDirectConnectGateway(const RouteFilterPrefix &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue