AWS SDK for C++  1.9.66
AWS SDK for C++
DisableVgwRoutePropagationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EC2
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DisableVgwRoutePropagation"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
47 
51  inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
52 
56  inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
57 
61  inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
62 
66  inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); }
67 
71  inline DisableVgwRoutePropagationRequest& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
72 
76  inline DisableVgwRoutePropagationRequest& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
77 
81  inline DisableVgwRoutePropagationRequest& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
82 
83 
87  inline const Aws::String& GetRouteTableId() const{ return m_routeTableId; }
88 
92  inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
93 
97  inline void SetRouteTableId(const Aws::String& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
98 
102  inline void SetRouteTableId(Aws::String&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
103 
107  inline void SetRouteTableId(const char* value) { m_routeTableIdHasBeenSet = true; m_routeTableId.assign(value); }
108 
112  inline DisableVgwRoutePropagationRequest& WithRouteTableId(const Aws::String& value) { SetRouteTableId(value); return *this;}
113 
117  inline DisableVgwRoutePropagationRequest& WithRouteTableId(Aws::String&& value) { SetRouteTableId(std::move(value)); return *this;}
118 
122  inline DisableVgwRoutePropagationRequest& WithRouteTableId(const char* value) { SetRouteTableId(value); return *this;}
123 
124 
131  inline bool GetDryRun() const{ return m_dryRun; }
132 
139  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
140 
147  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
148 
155  inline DisableVgwRoutePropagationRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
156 
157  private:
158 
159  Aws::String m_gatewayId;
160  bool m_gatewayIdHasBeenSet;
161 
162  Aws::String m_routeTableId;
163  bool m_routeTableIdHasBeenSet;
164 
165  bool m_dryRun;
166  bool m_dryRunHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace EC2
171 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DisableVgwRoutePropagationRequest::SetRouteTableId
void SetRouteTableId(Aws::String &&value)
Definition: DisableVgwRoutePropagationRequest.h:102
Aws::EC2::Model::DisableVgwRoutePropagationRequest::GatewayIdHasBeenSet
bool GatewayIdHasBeenSet() const
Definition: DisableVgwRoutePropagationRequest.h:51
Aws::EC2::Model::DisableVgwRoutePropagationRequest::SetRouteTableId
void SetRouteTableId(const Aws::String &value)
Definition: DisableVgwRoutePropagationRequest.h:97
Aws::EC2::Model::DisableVgwRoutePropagationRequest
Definition: DisableVgwRoutePropagationRequest.h:26
Aws::EC2::Model::DisableVgwRoutePropagationRequest::WithGatewayId
DisableVgwRoutePropagationRequest & WithGatewayId(const Aws::String &value)
Definition: DisableVgwRoutePropagationRequest.h:71
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DisableVgwRoutePropagationRequest::WithGatewayId
DisableVgwRoutePropagationRequest & WithGatewayId(Aws::String &&value)
Definition: DisableVgwRoutePropagationRequest.h:76
Aws::EC2::Model::DisableVgwRoutePropagationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisableVgwRoutePropagationRequest.h:34
Aws::EC2::Model::DisableVgwRoutePropagationRequest::WithGatewayId
DisableVgwRoutePropagationRequest & WithGatewayId(const char *value)
Definition: DisableVgwRoutePropagationRequest.h:81
Aws::EC2::Model::DisableVgwRoutePropagationRequest::GetRouteTableId
const Aws::String & GetRouteTableId() const
Definition: DisableVgwRoutePropagationRequest.h:87
Aws::EC2::Model::DisableVgwRoutePropagationRequest::SetGatewayId
void SetGatewayId(Aws::String &&value)
Definition: DisableVgwRoutePropagationRequest.h:61
Aws::EC2::Model::DisableVgwRoutePropagationRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DisableVgwRoutePropagationRequest.h:139
Aws::EC2::Model::DisableVgwRoutePropagationRequest::WithRouteTableId
DisableVgwRoutePropagationRequest & WithRouteTableId(Aws::String &&value)
Definition: DisableVgwRoutePropagationRequest.h:117
Aws::EC2::Model::DisableVgwRoutePropagationRequest::GetDryRun
bool GetDryRun() const
Definition: DisableVgwRoutePropagationRequest.h:131
Aws::EC2::Model::DisableVgwRoutePropagationRequest::WithDryRun
DisableVgwRoutePropagationRequest & WithDryRun(bool value)
Definition: DisableVgwRoutePropagationRequest.h:155
Aws::EC2::Model::DisableVgwRoutePropagationRequest::WithRouteTableId
DisableVgwRoutePropagationRequest & WithRouteTableId(const Aws::String &value)
Definition: DisableVgwRoutePropagationRequest.h:112
EC2Request.h
Aws::EC2::Model::DisableVgwRoutePropagationRequest::SetDryRun
void SetDryRun(bool value)
Definition: DisableVgwRoutePropagationRequest.h:147
Aws::EC2::Model::DisableVgwRoutePropagationRequest::SetRouteTableId
void SetRouteTableId(const char *value)
Definition: DisableVgwRoutePropagationRequest.h:107
AWSString.h
Aws::EC2::Model::DisableVgwRoutePropagationRequest::SetGatewayId
void SetGatewayId(const Aws::String &value)
Definition: DisableVgwRoutePropagationRequest.h:56
Aws::EC2::Model::DisableVgwRoutePropagationRequest::DisableVgwRoutePropagationRequest
DisableVgwRoutePropagationRequest()
Aws::EC2::Model::DisableVgwRoutePropagationRequest::SetGatewayId
void SetGatewayId(const char *value)
Definition: DisableVgwRoutePropagationRequest.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DisableVgwRoutePropagationRequest::WithRouteTableId
DisableVgwRoutePropagationRequest & WithRouteTableId(const char *value)
Definition: DisableVgwRoutePropagationRequest.h:122
Aws::EC2::Model::DisableVgwRoutePropagationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DisableVgwRoutePropagationRequest::RouteTableIdHasBeenSet
bool RouteTableIdHasBeenSet() const
Definition: DisableVgwRoutePropagationRequest.h:92
Aws::EC2::Model::DisableVgwRoutePropagationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
EC2_EXPORTS.h
Aws::EC2::Model::DisableVgwRoutePropagationRequest::GetGatewayId
const Aws::String & GetGatewayId() const
Definition: DisableVgwRoutePropagationRequest.h:46