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/TagSpecification.h>
45 template <
typename PeerRegionT = Aws::String>
47 m_peerRegionHasBeenSet =
true;
48 m_peerRegion = std::forward<PeerRegionT>(value);
50 template <
typename PeerRegionT = Aws::String>
63 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
65 m_tagSpecificationsHasBeenSet =
true;
66 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
68 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
73 template <
typename TagSpecificationsT = TagSpecification>
75 m_tagSpecificationsHasBeenSet =
true;
76 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
91 m_dryRunHasBeenSet =
true;
107 template <
typename VpcIdT = Aws::String>
109 m_vpcIdHasBeenSet =
true;
110 m_vpcId = std::forward<VpcIdT>(value);
112 template <
typename VpcIdT = Aws::String>
114 SetVpcId(std::forward<VpcIdT>(value));
126 template <
typename PeerVpcIdT = Aws::String>
128 m_peerVpcIdHasBeenSet =
true;
129 m_peerVpcId = std::forward<PeerVpcIdT>(value);
131 template <
typename PeerVpcIdT = Aws::String>
145 template <
typename PeerOwnerIdT = Aws::String>
147 m_peerOwnerIdHasBeenSet =
true;
148 m_peerOwnerId = std::forward<PeerOwnerIdT>(value);
150 template <
typename PeerOwnerIdT = Aws::String>
161 bool m_dryRun{
false};
168 bool m_peerRegionHasBeenSet =
false;
169 bool m_tagSpecificationsHasBeenSet =
false;
170 bool m_dryRunHasBeenSet =
false;
171 bool m_vpcIdHasBeenSet =
false;
172 bool m_peerVpcIdHasBeenSet =
false;
173 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