AWS SDK for C++  1.9.16
AWS SDK for C++
DeleteVpcPeeringAuthorizationRequest.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 "DeleteVpcPeeringAuthorization"; }
34 
35  Aws::String SerializePayload() const override;
36 
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 DeleteVpcPeeringAuthorizationRequest& WithGameLiftAwsAccountId(const Aws::String& value) { SetGameLiftAwsAccountId(value); return *this;}
81 
87  inline DeleteVpcPeeringAuthorizationRequest& WithGameLiftAwsAccountId(Aws::String&& value) { SetGameLiftAwsAccountId(std::move(value)); return *this;}
88 
94  inline DeleteVpcPeeringAuthorizationRequest& 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 DeleteVpcPeeringAuthorizationRequest& WithPeerVpcId(const Aws::String& value) { SetPeerVpcId(value); return *this;}
156 
165  inline DeleteVpcPeeringAuthorizationRequest& WithPeerVpcId(Aws::String&& value) { SetPeerVpcId(std::move(value)); return *this;}
166 
175  inline DeleteVpcPeeringAuthorizationRequest& 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
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::DeleteVpcPeeringAuthorizationRequest
DeleteVpcPeeringAuthorizationRequest()
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::WithPeerVpcId
DeleteVpcPeeringAuthorizationRequest & WithPeerVpcId(const Aws::String &value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:155
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::SetPeerVpcId
void SetPeerVpcId(const Aws::String &value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:125
GameLift_EXPORTS.h
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteVpcPeeringAuthorizationRequest.h:33
GameLiftRequest.h
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::SetPeerVpcId
void SetPeerVpcId(const char *value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:145
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest
Definition: DeleteVpcPeeringAuthorizationRequest.h:25
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::SetGameLiftAwsAccountId
void SetGameLiftAwsAccountId(const char *value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:73
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::PeerVpcIdHasBeenSet
bool PeerVpcIdHasBeenSet() const
Definition: DeleteVpcPeeringAuthorizationRequest.h:115
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::WithGameLiftAwsAccountId
DeleteVpcPeeringAuthorizationRequest & WithGameLiftAwsAccountId(const char *value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:94
AWSString.h
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::GameLiftAwsAccountIdHasBeenSet
bool GameLiftAwsAccountIdHasBeenSet() const
Definition: DeleteVpcPeeringAuthorizationRequest.h:52
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::WithGameLiftAwsAccountId
DeleteVpcPeeringAuthorizationRequest & WithGameLiftAwsAccountId(const Aws::String &value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:80
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::WithGameLiftAwsAccountId
DeleteVpcPeeringAuthorizationRequest & WithGameLiftAwsAccountId(Aws::String &&value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:87
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::WithPeerVpcId
DeleteVpcPeeringAuthorizationRequest & WithPeerVpcId(Aws::String &&value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:165
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::SetGameLiftAwsAccountId
void SetGameLiftAwsAccountId(Aws::String &&value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::GetGameLiftAwsAccountId
const Aws::String & GetGameLiftAwsAccountId() const
Definition: DeleteVpcPeeringAuthorizationRequest.h:45
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::GetPeerVpcId
const Aws::String & GetPeerVpcId() const
Definition: DeleteVpcPeeringAuthorizationRequest.h:105
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::SetPeerVpcId
void SetPeerVpcId(Aws::String &&value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:135
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::SetGameLiftAwsAccountId
void SetGameLiftAwsAccountId(const Aws::String &value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:59
Aws::GameLift::Model::DeleteVpcPeeringAuthorizationRequest::WithPeerVpcId
DeleteVpcPeeringAuthorizationRequest & WithPeerVpcId(const char *value)
Definition: DeleteVpcPeeringAuthorizationRequest.h:175