AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateVpcPeeringConnectionRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace GameLift
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GAMELIFT_API CreateVpcPeeringConnectionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateVpcPeeringConnection"; }
31
32 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetFleetId() const { return m_fleetId; }
43 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
44 template<typename FleetIdT = Aws::String>
45 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::forward<FleetIdT>(value); }
46 template<typename FleetIdT = Aws::String>
47 CreateVpcPeeringConnectionRequest& WithFleetId(FleetIdT&& value) { SetFleetId(std::forward<FleetIdT>(value)); return *this;}
49
51
56 inline const Aws::String& GetPeerVpcAwsAccountId() const { return m_peerVpcAwsAccountId; }
57 inline bool PeerVpcAwsAccountIdHasBeenSet() const { return m_peerVpcAwsAccountIdHasBeenSet; }
58 template<typename PeerVpcAwsAccountIdT = Aws::String>
59 void SetPeerVpcAwsAccountId(PeerVpcAwsAccountIdT&& value) { m_peerVpcAwsAccountIdHasBeenSet = true; m_peerVpcAwsAccountId = std::forward<PeerVpcAwsAccountIdT>(value); }
60 template<typename PeerVpcAwsAccountIdT = Aws::String>
61 CreateVpcPeeringConnectionRequest& WithPeerVpcAwsAccountId(PeerVpcAwsAccountIdT&& value) { SetPeerVpcAwsAccountId(std::forward<PeerVpcAwsAccountIdT>(value)); return *this;}
63
65
74 inline const Aws::String& GetPeerVpcId() const { return m_peerVpcId; }
75 inline bool PeerVpcIdHasBeenSet() const { return m_peerVpcIdHasBeenSet; }
76 template<typename PeerVpcIdT = Aws::String>
77 void SetPeerVpcId(PeerVpcIdT&& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = std::forward<PeerVpcIdT>(value); }
78 template<typename PeerVpcIdT = Aws::String>
79 CreateVpcPeeringConnectionRequest& WithPeerVpcId(PeerVpcIdT&& value) { SetPeerVpcId(std::forward<PeerVpcIdT>(value)); return *this;}
81 private:
82
83 Aws::String m_fleetId;
84 bool m_fleetIdHasBeenSet = false;
85
86 Aws::String m_peerVpcAwsAccountId;
87 bool m_peerVpcAwsAccountIdHasBeenSet = false;
88
89 Aws::String m_peerVpcId;
90 bool m_peerVpcIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GameLift
95} // namespace Aws
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GAMELIFT_API Aws::String SerializePayload() const override
CreateVpcPeeringConnectionRequest & WithFleetId(FleetIdT &&value)
CreateVpcPeeringConnectionRequest & WithPeerVpcId(PeerVpcIdT &&value)
CreateVpcPeeringConnectionRequest & WithPeerVpcAwsAccountId(PeerVpcAwsAccountIdT &&value)
AWS_GAMELIFT_API CreateVpcPeeringConnectionRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String