AWS SDK for C++  1.9.109
AWS SDK for C++
CreateCustomAvailabilityZoneRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
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 "CreateCustomAvailabilityZone"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetCustomAvailabilityZoneName() const{ return m_customAvailabilityZoneName; }
46 
50  inline bool CustomAvailabilityZoneNameHasBeenSet() const { return m_customAvailabilityZoneNameHasBeenSet; }
51 
55  inline void SetCustomAvailabilityZoneName(const Aws::String& value) { m_customAvailabilityZoneNameHasBeenSet = true; m_customAvailabilityZoneName = value; }
56 
60  inline void SetCustomAvailabilityZoneName(Aws::String&& value) { m_customAvailabilityZoneNameHasBeenSet = true; m_customAvailabilityZoneName = std::move(value); }
61 
65  inline void SetCustomAvailabilityZoneName(const char* value) { m_customAvailabilityZoneNameHasBeenSet = true; m_customAvailabilityZoneName.assign(value); }
66 
70  inline CreateCustomAvailabilityZoneRequest& WithCustomAvailabilityZoneName(const Aws::String& value) { SetCustomAvailabilityZoneName(value); return *this;}
71 
75  inline CreateCustomAvailabilityZoneRequest& WithCustomAvailabilityZoneName(Aws::String&& value) { SetCustomAvailabilityZoneName(std::move(value)); return *this;}
76 
80  inline CreateCustomAvailabilityZoneRequest& WithCustomAvailabilityZoneName(const char* value) { SetCustomAvailabilityZoneName(value); return *this;}
81 
82 
87  inline const Aws::String& GetExistingVpnId() const{ return m_existingVpnId; }
88 
93  inline bool ExistingVpnIdHasBeenSet() const { return m_existingVpnIdHasBeenSet; }
94 
99  inline void SetExistingVpnId(const Aws::String& value) { m_existingVpnIdHasBeenSet = true; m_existingVpnId = value; }
100 
105  inline void SetExistingVpnId(Aws::String&& value) { m_existingVpnIdHasBeenSet = true; m_existingVpnId = std::move(value); }
106 
111  inline void SetExistingVpnId(const char* value) { m_existingVpnIdHasBeenSet = true; m_existingVpnId.assign(value); }
112 
117  inline CreateCustomAvailabilityZoneRequest& WithExistingVpnId(const Aws::String& value) { SetExistingVpnId(value); return *this;}
118 
123  inline CreateCustomAvailabilityZoneRequest& WithExistingVpnId(Aws::String&& value) { SetExistingVpnId(std::move(value)); return *this;}
124 
129  inline CreateCustomAvailabilityZoneRequest& WithExistingVpnId(const char* value) { SetExistingVpnId(value); return *this;}
130 
131 
137  inline const Aws::String& GetNewVpnTunnelName() const{ return m_newVpnTunnelName; }
138 
144  inline bool NewVpnTunnelNameHasBeenSet() const { return m_newVpnTunnelNameHasBeenSet; }
145 
151  inline void SetNewVpnTunnelName(const Aws::String& value) { m_newVpnTunnelNameHasBeenSet = true; m_newVpnTunnelName = value; }
152 
158  inline void SetNewVpnTunnelName(Aws::String&& value) { m_newVpnTunnelNameHasBeenSet = true; m_newVpnTunnelName = std::move(value); }
159 
165  inline void SetNewVpnTunnelName(const char* value) { m_newVpnTunnelNameHasBeenSet = true; m_newVpnTunnelName.assign(value); }
166 
172  inline CreateCustomAvailabilityZoneRequest& WithNewVpnTunnelName(const Aws::String& value) { SetNewVpnTunnelName(value); return *this;}
173 
179  inline CreateCustomAvailabilityZoneRequest& WithNewVpnTunnelName(Aws::String&& value) { SetNewVpnTunnelName(std::move(value)); return *this;}
180 
186  inline CreateCustomAvailabilityZoneRequest& WithNewVpnTunnelName(const char* value) { SetNewVpnTunnelName(value); return *this;}
187 
188 
194  inline const Aws::String& GetVpnTunnelOriginatorIP() const{ return m_vpnTunnelOriginatorIP; }
195 
201  inline bool VpnTunnelOriginatorIPHasBeenSet() const { return m_vpnTunnelOriginatorIPHasBeenSet; }
202 
208  inline void SetVpnTunnelOriginatorIP(const Aws::String& value) { m_vpnTunnelOriginatorIPHasBeenSet = true; m_vpnTunnelOriginatorIP = value; }
209 
215  inline void SetVpnTunnelOriginatorIP(Aws::String&& value) { m_vpnTunnelOriginatorIPHasBeenSet = true; m_vpnTunnelOriginatorIP = std::move(value); }
216 
222  inline void SetVpnTunnelOriginatorIP(const char* value) { m_vpnTunnelOriginatorIPHasBeenSet = true; m_vpnTunnelOriginatorIP.assign(value); }
223 
229  inline CreateCustomAvailabilityZoneRequest& WithVpnTunnelOriginatorIP(const Aws::String& value) { SetVpnTunnelOriginatorIP(value); return *this;}
230 
236  inline CreateCustomAvailabilityZoneRequest& WithVpnTunnelOriginatorIP(Aws::String&& value) { SetVpnTunnelOriginatorIP(std::move(value)); return *this;}
237 
243  inline CreateCustomAvailabilityZoneRequest& WithVpnTunnelOriginatorIP(const char* value) { SetVpnTunnelOriginatorIP(value); return *this;}
244 
245  private:
246 
247  Aws::String m_customAvailabilityZoneName;
248  bool m_customAvailabilityZoneNameHasBeenSet;
249 
250  Aws::String m_existingVpnId;
251  bool m_existingVpnIdHasBeenSet;
252 
253  Aws::String m_newVpnTunnelName;
254  bool m_newVpnTunnelNameHasBeenSet;
255 
256  Aws::String m_vpnTunnelOriginatorIP;
257  bool m_vpnTunnelOriginatorIPHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace RDS
262 } // namespace Aws
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithExistingVpnId
CreateCustomAvailabilityZoneRequest & WithExistingVpnId(const Aws::String &value)
Definition: CreateCustomAvailabilityZoneRequest.h:117
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::CreateCustomAvailabilityZoneRequest
CreateCustomAvailabilityZoneRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::ExistingVpnIdHasBeenSet
bool ExistingVpnIdHasBeenSet() const
Definition: CreateCustomAvailabilityZoneRequest.h:93
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetVpnTunnelOriginatorIP
void SetVpnTunnelOriginatorIP(const Aws::String &value)
Definition: CreateCustomAvailabilityZoneRequest.h:208
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithExistingVpnId
CreateCustomAvailabilityZoneRequest & WithExistingVpnId(Aws::String &&value)
Definition: CreateCustomAvailabilityZoneRequest.h:123
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetExistingVpnId
void SetExistingVpnId(Aws::String &&value)
Definition: CreateCustomAvailabilityZoneRequest.h:105
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetExistingVpnId
void SetExistingVpnId(const Aws::String &value)
Definition: CreateCustomAvailabilityZoneRequest.h:99
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithNewVpnTunnelName
CreateCustomAvailabilityZoneRequest & WithNewVpnTunnelName(const char *value)
Definition: CreateCustomAvailabilityZoneRequest.h:186
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::GetNewVpnTunnelName
const Aws::String & GetNewVpnTunnelName() const
Definition: CreateCustomAvailabilityZoneRequest.h:137
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetCustomAvailabilityZoneName
void SetCustomAvailabilityZoneName(Aws::String &&value)
Definition: CreateCustomAvailabilityZoneRequest.h:60
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithVpnTunnelOriginatorIP
CreateCustomAvailabilityZoneRequest & WithVpnTunnelOriginatorIP(const Aws::String &value)
Definition: CreateCustomAvailabilityZoneRequest.h:229
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithVpnTunnelOriginatorIP
CreateCustomAvailabilityZoneRequest & WithVpnTunnelOriginatorIP(const char *value)
Definition: CreateCustomAvailabilityZoneRequest.h:243
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::GetCustomAvailabilityZoneName
const Aws::String & GetCustomAvailabilityZoneName() const
Definition: CreateCustomAvailabilityZoneRequest.h:45
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithExistingVpnId
CreateCustomAvailabilityZoneRequest & WithExistingVpnId(const char *value)
Definition: CreateCustomAvailabilityZoneRequest.h:129
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithVpnTunnelOriginatorIP
CreateCustomAvailabilityZoneRequest & WithVpnTunnelOriginatorIP(Aws::String &&value)
Definition: CreateCustomAvailabilityZoneRequest.h:236
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetCustomAvailabilityZoneName
void SetCustomAvailabilityZoneName(const char *value)
Definition: CreateCustomAvailabilityZoneRequest.h:65
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetVpnTunnelOriginatorIP
void SetVpnTunnelOriginatorIP(const char *value)
Definition: CreateCustomAvailabilityZoneRequest.h:222
RDS_EXPORTS.h
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest
Definition: CreateCustomAvailabilityZoneRequest.h:25
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetNewVpnTunnelName
void SetNewVpnTunnelName(Aws::String &&value)
Definition: CreateCustomAvailabilityZoneRequest.h:158
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithCustomAvailabilityZoneName
CreateCustomAvailabilityZoneRequest & WithCustomAvailabilityZoneName(const char *value)
Definition: CreateCustomAvailabilityZoneRequest.h:80
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::GetExistingVpnId
const Aws::String & GetExistingVpnId() const
Definition: CreateCustomAvailabilityZoneRequest.h:87
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetExistingVpnId
void SetExistingVpnId(const char *value)
Definition: CreateCustomAvailabilityZoneRequest.h:111
AWSString.h
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::NewVpnTunnelNameHasBeenSet
bool NewVpnTunnelNameHasBeenSet() const
Definition: CreateCustomAvailabilityZoneRequest.h:144
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithNewVpnTunnelName
CreateCustomAvailabilityZoneRequest & WithNewVpnTunnelName(const Aws::String &value)
Definition: CreateCustomAvailabilityZoneRequest.h:172
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::GetVpnTunnelOriginatorIP
const Aws::String & GetVpnTunnelOriginatorIP() const
Definition: CreateCustomAvailabilityZoneRequest.h:194
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateCustomAvailabilityZoneRequest.h:33
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithCustomAvailabilityZoneName
CreateCustomAvailabilityZoneRequest & WithCustomAvailabilityZoneName(const Aws::String &value)
Definition: CreateCustomAvailabilityZoneRequest.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::VpnTunnelOriginatorIPHasBeenSet
bool VpnTunnelOriginatorIPHasBeenSet() const
Definition: CreateCustomAvailabilityZoneRequest.h:201
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithCustomAvailabilityZoneName
CreateCustomAvailabilityZoneRequest & WithCustomAvailabilityZoneName(Aws::String &&value)
Definition: CreateCustomAvailabilityZoneRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::CustomAvailabilityZoneNameHasBeenSet
bool CustomAvailabilityZoneNameHasBeenSet() const
Definition: CreateCustomAvailabilityZoneRequest.h:50
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetCustomAvailabilityZoneName
void SetCustomAvailabilityZoneName(const Aws::String &value)
Definition: CreateCustomAvailabilityZoneRequest.h:55
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetVpnTunnelOriginatorIP
void SetVpnTunnelOriginatorIP(Aws::String &&value)
Definition: CreateCustomAvailabilityZoneRequest.h:215
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetNewVpnTunnelName
void SetNewVpnTunnelName(const char *value)
Definition: CreateCustomAvailabilityZoneRequest.h:165
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::SetNewVpnTunnelName
void SetNewVpnTunnelName(const Aws::String &value)
Definition: CreateCustomAvailabilityZoneRequest.h:151
Aws::RDS::Model::CreateCustomAvailabilityZoneRequest::WithNewVpnTunnelName
CreateCustomAvailabilityZoneRequest & WithNewVpnTunnelName(Aws::String &&value)
Definition: CreateCustomAvailabilityZoneRequest.h:179