AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DisableVgwRoutePropagationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace EC2 {
15namespace Model {
16
24 public:
25 AWS_EC2_API DisableVgwRoutePropagationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DisableVgwRoutePropagation"; }
32
33 AWS_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
43 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
44 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
45 template <typename GatewayIdT = Aws::String>
46 void SetGatewayId(GatewayIdT&& value) {
47 m_gatewayIdHasBeenSet = true;
48 m_gatewayId = std::forward<GatewayIdT>(value);
49 }
50 template <typename GatewayIdT = Aws::String>
52 SetGatewayId(std::forward<GatewayIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetRouteTableId() const { return m_routeTableId; }
62 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
63 template <typename RouteTableIdT = Aws::String>
64 void SetRouteTableId(RouteTableIdT&& value) {
65 m_routeTableIdHasBeenSet = true;
66 m_routeTableId = std::forward<RouteTableIdT>(value);
67 }
68 template <typename RouteTableIdT = Aws::String>
70 SetRouteTableId(std::forward<RouteTableIdT>(value));
71 return *this;
72 }
74
76
82 inline bool GetDryRun() const { return m_dryRun; }
83 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
84 inline void SetDryRun(bool value) {
85 m_dryRunHasBeenSet = true;
86 m_dryRun = value;
87 }
89 SetDryRun(value);
90 return *this;
91 }
93 private:
94 Aws::String m_gatewayId;
95
96 Aws::String m_routeTableId;
97
98 bool m_dryRun{false};
99 bool m_gatewayIdHasBeenSet = false;
100 bool m_routeTableIdHasBeenSet = false;
101 bool m_dryRunHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace EC2
106} // 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