AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisableVgwRoutePropagationRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace EC2
15{
16namespace 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_EC2_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
47 inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
48 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
49 inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
50 inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
51 inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); }
52 inline DisableVgwRoutePropagationRequest& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
53 inline DisableVgwRoutePropagationRequest& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
54 inline DisableVgwRoutePropagationRequest& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
56
58
61 inline const Aws::String& GetRouteTableId() const{ return m_routeTableId; }
62 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
63 inline void SetRouteTableId(const Aws::String& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
64 inline void SetRouteTableId(Aws::String&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
65 inline void SetRouteTableId(const char* value) { m_routeTableIdHasBeenSet = true; m_routeTableId.assign(value); }
67 inline DisableVgwRoutePropagationRequest& WithRouteTableId(Aws::String&& value) { SetRouteTableId(std::move(value)); return *this;}
68 inline DisableVgwRoutePropagationRequest& WithRouteTableId(const char* value) { SetRouteTableId(value); return *this;}
70
72
78 inline bool GetDryRun() const{ return m_dryRun; }
79 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
80 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
81 inline DisableVgwRoutePropagationRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
83 private:
84
85 Aws::String m_gatewayId;
86 bool m_gatewayIdHasBeenSet = false;
87
88 Aws::String m_routeTableId;
89 bool m_routeTableIdHasBeenSet = false;
90
91 bool m_dryRun;
92 bool m_dryRunHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace EC2
97} // namespace Aws
AWS_EC2_API Aws::String SerializePayload() const override
DisableVgwRoutePropagationRequest & WithRouteTableId(const Aws::String &value)
DisableVgwRoutePropagationRequest & WithGatewayId(const Aws::String &value)
DisableVgwRoutePropagationRequest & WithGatewayId(Aws::String &&value)
DisableVgwRoutePropagationRequest & WithRouteTableId(const char *value)
DisableVgwRoutePropagationRequest & WithGatewayId(const char *value)
DisableVgwRoutePropagationRequest & WithRouteTableId(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DisableVgwRoutePropagationRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String