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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/TagSpecification.h>
49 template<
typename PeerRegionT = Aws::String>
50 void SetPeerRegion(PeerRegionT&& value) { m_peerRegionHasBeenSet =
true; m_peerRegion = std::forward<PeerRegionT>(value); }
51 template<
typename PeerRegionT = Aws::String>
61 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
62 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
63 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
65 template<
typename TagSpecificationsT = TagSpecification>
78 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
89 template<
typename VpcIdT = Aws::String>
90 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
91 template<
typename VpcIdT = Aws::String>
102 template<
typename PeerVpcIdT = Aws::String>
103 void SetPeerVpcId(PeerVpcIdT&& value) { m_peerVpcIdHasBeenSet =
true; m_peerVpcId = std::forward<PeerVpcIdT>(value); }
104 template<
typename PeerVpcIdT = Aws::String>
115 template<
typename PeerOwnerIdT = Aws::String>
116 void SetPeerOwnerId(PeerOwnerIdT&& value) { m_peerOwnerIdHasBeenSet =
true; m_peerOwnerId = std::forward<PeerOwnerIdT>(value); }
117 template<
typename PeerOwnerIdT = Aws::String>
123 bool m_peerRegionHasBeenSet =
false;
126 bool m_tagSpecificationsHasBeenSet =
false;
128 bool m_dryRun{
false};
129 bool m_dryRunHasBeenSet =
false;
132 bool m_vpcIdHasBeenSet =
false;
135 bool m_peerVpcIdHasBeenSet =
false;
138 bool m_peerOwnerIdHasBeenSet =
false;
const Aws::String & GetPeerRegion() const
void SetPeerVpcId(PeerVpcIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool VpcIdHasBeenSet() const
CreateVpcPeeringConnectionRequest & WithDryRun(bool value)
CreateVpcPeeringConnectionRequest & AddTagSpecifications(TagSpecificationsT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateVpcPeeringConnectionRequest & WithPeerRegion(PeerRegionT &&value)
void SetPeerOwnerId(PeerOwnerIdT &&value)
CreateVpcPeeringConnectionRequest & WithVpcId(VpcIdT &&value)
virtual const char * GetServiceRequestName() const override
CreateVpcPeeringConnectionRequest & WithPeerOwnerId(PeerOwnerIdT &&value)
bool DryRunHasBeenSet() const
AWS_EC2_API CreateVpcPeeringConnectionRequest()=default
const Aws::String & GetPeerVpcId() const
bool PeerVpcIdHasBeenSet() const
const Aws::String & GetVpcId() const
CreateVpcPeeringConnectionRequest & WithPeerVpcId(PeerVpcIdT &&value)
CreateVpcPeeringConnectionRequest & WithTagSpecifications(TagSpecificationsT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
bool TagSpecificationsHasBeenSet() const
void SetPeerRegion(PeerRegionT &&value)
void SetVpcId(VpcIdT &&value)
bool PeerRegionHasBeenSet() const
void SetDryRun(bool value)
const Aws::String & GetPeerOwnerId() const
bool PeerOwnerIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector