7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/RouteServerBgpOptionsRequest.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/TagSpecification.h>
48 template<
typename RouteServerEndpo
intIdT = Aws::String>
49 void SetRouteServerEndpointId(RouteServerEndpointIdT&& value) { m_routeServerEndpointIdHasBeenSet =
true; m_routeServerEndpointId = std::forward<RouteServerEndpointIdT>(value); }
50 template<
typename RouteServerEndpo
intIdT = Aws::String>
60 template<
typename PeerAddressT = Aws::String>
61 void SetPeerAddress(PeerAddressT&& value) { m_peerAddressHasBeenSet =
true; m_peerAddress = std::forward<PeerAddressT>(value); }
62 template<
typename PeerAddressT = Aws::String>
73 template<
typename BgpOptionsT = RouteServerBgpOptionsRequest>
74 void SetBgpOptions(BgpOptionsT&& value) { m_bgpOptionsHasBeenSet =
true; m_bgpOptions = std::forward<BgpOptionsT>(value); }
75 template<
typename BgpOptionsT = RouteServerBgpOptionsRequest>
88 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
98 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
99 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
100 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
102 template<
typename TagSpecificationsT = TagSpecification>
108 bool m_routeServerEndpointIdHasBeenSet =
false;
111 bool m_peerAddressHasBeenSet =
false;
114 bool m_bgpOptionsHasBeenSet =
false;
116 bool m_dryRun{
false};
117 bool m_dryRunHasBeenSet =
false;
120 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