AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnableVgwRoutePropagationRequest.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 "EnableVgwRoutePropagation"; }
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
49 inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
50 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
51 inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
52 inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
53 inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); }
54 inline EnableVgwRoutePropagationRequest& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
55 inline EnableVgwRoutePropagationRequest& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
56 inline EnableVgwRoutePropagationRequest& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
58
60
64 inline const Aws::String& GetRouteTableId() const{ return m_routeTableId; }
65 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
66 inline void SetRouteTableId(const Aws::String& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
67 inline void SetRouteTableId(Aws::String&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
68 inline void SetRouteTableId(const char* value) { m_routeTableIdHasBeenSet = true; m_routeTableId.assign(value); }
70 inline EnableVgwRoutePropagationRequest& WithRouteTableId(Aws::String&& value) { SetRouteTableId(std::move(value)); return *this;}
71 inline EnableVgwRoutePropagationRequest& WithRouteTableId(const char* value) { SetRouteTableId(value); return *this;}
73
75
81 inline bool GetDryRun() const{ return m_dryRun; }
82 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
83 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
84 inline EnableVgwRoutePropagationRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
86 private:
87
88 Aws::String m_gatewayId;
89 bool m_gatewayIdHasBeenSet = false;
90
91 Aws::String m_routeTableId;
92 bool m_routeTableIdHasBeenSet = false;
93
94 bool m_dryRun;
95 bool m_dryRunHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace EC2
100} // namespace Aws
EnableVgwRoutePropagationRequest & WithRouteTableId(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
EnableVgwRoutePropagationRequest & WithDryRun(bool value)
EnableVgwRoutePropagationRequest & WithGatewayId(const char *value)
EnableVgwRoutePropagationRequest & WithGatewayId(Aws::String &&value)
EnableVgwRoutePropagationRequest & WithRouteTableId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
EnableVgwRoutePropagationRequest & WithGatewayId(const Aws::String &value)
EnableVgwRoutePropagationRequest & WithRouteTableId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String