AWS SDK for C++  1.9.108
AWS SDK for C++
DeleteVpcPeeringConnectionRequest.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 "DeleteVpcPeeringConnection"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
45  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
46 
52  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
53 
59  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
60 
66  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
67 
73  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
74 
80  inline DeleteVpcPeeringConnectionRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
81 
87  inline DeleteVpcPeeringConnectionRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
88 
94  inline DeleteVpcPeeringConnectionRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
95 
96 
102  inline const Aws::String& GetVpcPeeringConnectionId() const{ return m_vpcPeeringConnectionId; }
103 
109  inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; }
110 
116  inline void SetVpcPeeringConnectionId(const Aws::String& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = value; }
117 
123  inline void SetVpcPeeringConnectionId(Aws::String&& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = std::move(value); }
124 
130  inline void SetVpcPeeringConnectionId(const char* value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId.assign(value); }
131 
137  inline DeleteVpcPeeringConnectionRequest& WithVpcPeeringConnectionId(const Aws::String& value) { SetVpcPeeringConnectionId(value); return *this;}
138 
144  inline DeleteVpcPeeringConnectionRequest& WithVpcPeeringConnectionId(Aws::String&& value) { SetVpcPeeringConnectionId(std::move(value)); return *this;}
145 
151  inline DeleteVpcPeeringConnectionRequest& WithVpcPeeringConnectionId(const char* value) { SetVpcPeeringConnectionId(value); return *this;}
152 
153  private:
154 
155  Aws::String m_fleetId;
156  bool m_fleetIdHasBeenSet;
157 
158  Aws::String m_vpcPeeringConnectionId;
159  bool m_vpcPeeringConnectionIdHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace GameLift
164 } // namespace Aws
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: DeleteVpcPeeringConnectionRequest.h:66
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::WithVpcPeeringConnectionId
DeleteVpcPeeringConnectionRequest & WithVpcPeeringConnectionId(Aws::String &&value)
Definition: DeleteVpcPeeringConnectionRequest.h:144
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: DeleteVpcPeeringConnectionRequest.h:59
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::SetVpcPeeringConnectionId
void SetVpcPeeringConnectionId(const char *value)
Definition: DeleteVpcPeeringConnectionRequest.h:130
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::WithFleetId
DeleteVpcPeeringConnectionRequest & WithFleetId(const Aws::String &value)
Definition: DeleteVpcPeeringConnectionRequest.h:80
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::WithVpcPeeringConnectionId
DeleteVpcPeeringConnectionRequest & WithVpcPeeringConnectionId(const Aws::String &value)
Definition: DeleteVpcPeeringConnectionRequest.h:137
GameLift_EXPORTS.h
GameLiftRequest.h
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::GetVpcPeeringConnectionId
const Aws::String & GetVpcPeeringConnectionId() const
Definition: DeleteVpcPeeringConnectionRequest.h:102
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::GetFleetId
const Aws::String & GetFleetId() const
Definition: DeleteVpcPeeringConnectionRequest.h:45
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteVpcPeeringConnectionRequest.h:33
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest
Definition: DeleteVpcPeeringConnectionRequest.h:25
AWSString.h
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::SetVpcPeeringConnectionId
void SetVpcPeeringConnectionId(Aws::String &&value)
Definition: DeleteVpcPeeringConnectionRequest.h:123
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::WithFleetId
DeleteVpcPeeringConnectionRequest & WithFleetId(Aws::String &&value)
Definition: DeleteVpcPeeringConnectionRequest.h:87
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::WithVpcPeeringConnectionId
DeleteVpcPeeringConnectionRequest & WithVpcPeeringConnectionId(const char *value)
Definition: DeleteVpcPeeringConnectionRequest.h:151
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::SetFleetId
void SetFleetId(const char *value)
Definition: DeleteVpcPeeringConnectionRequest.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::DeleteVpcPeeringConnectionRequest
DeleteVpcPeeringConnectionRequest()
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::VpcPeeringConnectionIdHasBeenSet
bool VpcPeeringConnectionIdHasBeenSet() const
Definition: DeleteVpcPeeringConnectionRequest.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::WithFleetId
DeleteVpcPeeringConnectionRequest & WithFleetId(const char *value)
Definition: DeleteVpcPeeringConnectionRequest.h:94
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::SetVpcPeeringConnectionId
void SetVpcPeeringConnectionId(const Aws::String &value)
Definition: DeleteVpcPeeringConnectionRequest.h:116
Aws::GameLift::Model::DeleteVpcPeeringConnectionRequest::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: DeleteVpcPeeringConnectionRequest.h:52