AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
28 AWS_EC2_API DisableVgwRoutePropagationRequest() = default;
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 template<typename GatewayIdT = Aws::String>
50 void SetGatewayId(GatewayIdT&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::forward<GatewayIdT>(value); }
51 template<typename GatewayIdT = Aws::String>
52 DisableVgwRoutePropagationRequest& WithGatewayId(GatewayIdT&& value) { SetGatewayId(std::forward<GatewayIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetRouteTableId() const { return m_routeTableId; }
60 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
61 template<typename RouteTableIdT = Aws::String>
62 void SetRouteTableId(RouteTableIdT&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::forward<RouteTableIdT>(value); }
63 template<typename RouteTableIdT = Aws::String>
64 DisableVgwRoutePropagationRequest& WithRouteTableId(RouteTableIdT&& value) { SetRouteTableId(std::forward<RouteTableIdT>(value)); return *this;}
66
68
74 inline bool GetDryRun() const { return m_dryRun; }
75 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
76 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
77 inline DisableVgwRoutePropagationRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
79 private:
80
81 Aws::String m_gatewayId;
82 bool m_gatewayIdHasBeenSet = false;
83
84 Aws::String m_routeTableId;
85 bool m_routeTableIdHasBeenSet = false;
86
87 bool m_dryRun{false};
88 bool m_dryRunHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace EC2
93} // namespace Aws
AWS_EC2_API Aws::String SerializePayload() const override
DisableVgwRoutePropagationRequest & WithRouteTableId(RouteTableIdT &&value)
DisableVgwRoutePropagationRequest & WithGatewayId(GatewayIdT &&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