AWS SDK for C++  1.8.55
AWS SDK for C++
CreateVpcPeeringAuthorizationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GameLift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateVpcPeeringAuthorization"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
45  inline const Aws::String& GetGameLiftAwsAccountId() const{ return m_gameLiftAwsAccountId; }
46 
52  inline bool GameLiftAwsAccountIdHasBeenSet() const { return m_gameLiftAwsAccountIdHasBeenSet; }
53 
59  inline void SetGameLiftAwsAccountId(const Aws::String& value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId = value; }
60 
66  inline void SetGameLiftAwsAccountId(Aws::String&& value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId = std::move(value); }
67 
73  inline void SetGameLiftAwsAccountId(const char* value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId.assign(value); }
74 
80  inline CreateVpcPeeringAuthorizationRequest& WithGameLiftAwsAccountId(const Aws::String& value) { SetGameLiftAwsAccountId(value); return *this;}
81 
87  inline CreateVpcPeeringAuthorizationRequest& WithGameLiftAwsAccountId(Aws::String&& value) { SetGameLiftAwsAccountId(std::move(value)); return *this;}
88 
94  inline CreateVpcPeeringAuthorizationRequest& WithGameLiftAwsAccountId(const char* value) { SetGameLiftAwsAccountId(value); return *this;}
95 
96 
105  inline const Aws::String& GetPeerVpcId() const{ return m_peerVpcId; }
106 
115  inline bool PeerVpcIdHasBeenSet() const { return m_peerVpcIdHasBeenSet; }
116 
125  inline void SetPeerVpcId(const Aws::String& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = value; }
126 
135  inline void SetPeerVpcId(Aws::String&& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = std::move(value); }
136 
145  inline void SetPeerVpcId(const char* value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId.assign(value); }
146 
155  inline CreateVpcPeeringAuthorizationRequest& WithPeerVpcId(const Aws::String& value) { SetPeerVpcId(value); return *this;}
156 
165  inline CreateVpcPeeringAuthorizationRequest& WithPeerVpcId(Aws::String&& value) { SetPeerVpcId(std::move(value)); return *this;}
166 
175  inline CreateVpcPeeringAuthorizationRequest& WithPeerVpcId(const char* value) { SetPeerVpcId(value); return *this;}
176 
177  private:
178 
179  Aws::String m_gameLiftAwsAccountId;
180  bool m_gameLiftAwsAccountIdHasBeenSet;
181 
182  Aws::String m_peerVpcId;
183  bool m_peerVpcIdHasBeenSet;
184  };
185 
186 } // namespace Model
187 } // namespace GameLift
188 } // namespace Aws
#define AWS_GAMELIFT_API
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
CreateVpcPeeringAuthorizationRequest & WithPeerVpcId(Aws::String &&value)
CreateVpcPeeringAuthorizationRequest & WithPeerVpcId(const char *value)
CreateVpcPeeringAuthorizationRequest & WithGameLiftAwsAccountId(const Aws::String &value)
CreateVpcPeeringAuthorizationRequest & WithGameLiftAwsAccountId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateVpcPeeringAuthorizationRequest & WithPeerVpcId(const Aws::String &value)
CreateVpcPeeringAuthorizationRequest & WithGameLiftAwsAccountId(Aws::String &&value)