7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/RouteServerBgpOptionsRequest.h>
12#include <aws/ec2/model/TagSpecification.h>
44 template <
typename RouteServerEndpo
intIdT = Aws::String>
46 m_routeServerEndpointIdHasBeenSet =
true;
47 m_routeServerEndpointId = std::forward<RouteServerEndpointIdT>(value);
49 template <
typename RouteServerEndpo
intIdT = Aws::String>
62 template <
typename PeerAddressT = Aws::String>
64 m_peerAddressHasBeenSet =
true;
65 m_peerAddress = std::forward<PeerAddressT>(value);
67 template <
typename PeerAddressT = Aws::String>
81 template <
typename BgpOptionsT = RouteServerBgpOptionsRequest>
83 m_bgpOptionsHasBeenSet =
true;
84 m_bgpOptions = std::forward<BgpOptionsT>(value);
86 template <
typename BgpOptionsT = RouteServerBgpOptionsRequest>
103 m_dryRunHasBeenSet =
true;
118 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
120 m_tagSpecificationsHasBeenSet =
true;
121 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
123 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
128 template <
typename TagSpecificationsT = TagSpecification>
130 m_tagSpecificationsHasBeenSet =
true;
131 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
142 bool m_dryRun{
false};
145 bool m_routeServerEndpointIdHasBeenSet =
false;
146 bool m_peerAddressHasBeenSet =
false;
147 bool m_bgpOptionsHasBeenSet =
false;
148 bool m_dryRunHasBeenSet =
false;
149 bool m_tagSpecificationsHasBeenSet =
false;
bool BgpOptionsHasBeenSet() const
bool RouteServerEndpointIdHasBeenSet() const
const RouteServerBgpOptionsRequest & GetBgpOptions() const
void SetBgpOptions(BgpOptionsT &&value)
CreateRouteServerPeerRequest & AddTagSpecifications(TagSpecificationsT &&value)
bool DryRunHasBeenSet() const
bool PeerAddressHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateRouteServerPeerRequest & WithRouteServerEndpointId(RouteServerEndpointIdT &&value)
bool TagSpecificationsHasBeenSet() const
const Aws::String & GetRouteServerEndpointId() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetRouteServerEndpointId(RouteServerEndpointIdT &&value)
AWS_EC2_API CreateRouteServerPeerRequest()=default
void SetTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetPeerAddress(PeerAddressT &&value)
const Aws::String & GetPeerAddress() const
virtual const char * GetServiceRequestName() const override
CreateRouteServerPeerRequest & WithDryRun(bool value)
CreateRouteServerPeerRequest & WithBgpOptions(BgpOptionsT &&value)
void SetDryRun(bool value)
CreateRouteServerPeerRequest & WithTagSpecifications(TagSpecificationsT &&value)
CreateRouteServerPeerRequest & WithPeerAddress(PeerAddressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector