AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteVpcPeeringAuthorizationRequest.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:
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 "DeleteVpcPeeringAuthorization"; }
31
32 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
33
35
36
38
43 inline const Aws::String& GetGameLiftAwsAccountId() const{ return m_gameLiftAwsAccountId; }
44 inline bool GameLiftAwsAccountIdHasBeenSet() const { return m_gameLiftAwsAccountIdHasBeenSet; }
45 inline void SetGameLiftAwsAccountId(const Aws::String& value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId = value; }
46 inline void SetGameLiftAwsAccountId(Aws::String&& value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId = std::move(value); }
47 inline void SetGameLiftAwsAccountId(const char* value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId.assign(value); }
52
54
63 inline const Aws::String& GetPeerVpcId() const{ return m_peerVpcId; }
64 inline bool PeerVpcIdHasBeenSet() const { return m_peerVpcIdHasBeenSet; }
65 inline void SetPeerVpcId(const Aws::String& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = value; }
66 inline void SetPeerVpcId(Aws::String&& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = std::move(value); }
67 inline void SetPeerVpcId(const char* value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId.assign(value); }
68 inline DeleteVpcPeeringAuthorizationRequest& WithPeerVpcId(const Aws::String& value) { SetPeerVpcId(value); return *this;}
69 inline DeleteVpcPeeringAuthorizationRequest& WithPeerVpcId(Aws::String&& value) { SetPeerVpcId(std::move(value)); return *this;}
70 inline DeleteVpcPeeringAuthorizationRequest& WithPeerVpcId(const char* value) { SetPeerVpcId(value); return *this;}
72 private:
73
74 Aws::String m_gameLiftAwsAccountId;
75 bool m_gameLiftAwsAccountIdHasBeenSet = false;
76
77 Aws::String m_peerVpcId;
78 bool m_peerVpcIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace GameLift
83} // namespace Aws
DeleteVpcPeeringAuthorizationRequest & WithPeerVpcId(Aws::String &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteVpcPeeringAuthorizationRequest & WithGameLiftAwsAccountId(Aws::String &&value)
DeleteVpcPeeringAuthorizationRequest & WithPeerVpcId(const Aws::String &value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DeleteVpcPeeringAuthorizationRequest & WithGameLiftAwsAccountId(const char *value)
DeleteVpcPeeringAuthorizationRequest & WithGameLiftAwsAccountId(const Aws::String &value)
DeleteVpcPeeringAuthorizationRequest & WithPeerVpcId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String