AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyIpamResourceCidrRequest.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
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ModifyIpamResourceCidr"; }
31
32 AWS_EC2_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
46 inline bool GetDryRun() const{ return m_dryRun; }
47 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
48 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
49 inline ModifyIpamResourceCidrRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
51
53
56 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
57 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
58 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
59 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
60 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
61 inline ModifyIpamResourceCidrRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
62 inline ModifyIpamResourceCidrRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
63 inline ModifyIpamResourceCidrRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
65
67
70 inline const Aws::String& GetResourceCidr() const{ return m_resourceCidr; }
71 inline bool ResourceCidrHasBeenSet() const { return m_resourceCidrHasBeenSet; }
72 inline void SetResourceCidr(const Aws::String& value) { m_resourceCidrHasBeenSet = true; m_resourceCidr = value; }
73 inline void SetResourceCidr(Aws::String&& value) { m_resourceCidrHasBeenSet = true; m_resourceCidr = std::move(value); }
74 inline void SetResourceCidr(const char* value) { m_resourceCidrHasBeenSet = true; m_resourceCidr.assign(value); }
75 inline ModifyIpamResourceCidrRequest& WithResourceCidr(const Aws::String& value) { SetResourceCidr(value); return *this;}
76 inline ModifyIpamResourceCidrRequest& WithResourceCidr(Aws::String&& value) { SetResourceCidr(std::move(value)); return *this;}
77 inline ModifyIpamResourceCidrRequest& WithResourceCidr(const char* value) { SetResourceCidr(value); return *this;}
79
81
84 inline const Aws::String& GetResourceRegion() const{ return m_resourceRegion; }
85 inline bool ResourceRegionHasBeenSet() const { return m_resourceRegionHasBeenSet; }
86 inline void SetResourceRegion(const Aws::String& value) { m_resourceRegionHasBeenSet = true; m_resourceRegion = value; }
87 inline void SetResourceRegion(Aws::String&& value) { m_resourceRegionHasBeenSet = true; m_resourceRegion = std::move(value); }
88 inline void SetResourceRegion(const char* value) { m_resourceRegionHasBeenSet = true; m_resourceRegion.assign(value); }
90 inline ModifyIpamResourceCidrRequest& WithResourceRegion(Aws::String&& value) { SetResourceRegion(std::move(value)); return *this;}
91 inline ModifyIpamResourceCidrRequest& WithResourceRegion(const char* value) { SetResourceRegion(value); return *this;}
93
95
98 inline const Aws::String& GetCurrentIpamScopeId() const{ return m_currentIpamScopeId; }
99 inline bool CurrentIpamScopeIdHasBeenSet() const { return m_currentIpamScopeIdHasBeenSet; }
100 inline void SetCurrentIpamScopeId(const Aws::String& value) { m_currentIpamScopeIdHasBeenSet = true; m_currentIpamScopeId = value; }
101 inline void SetCurrentIpamScopeId(Aws::String&& value) { m_currentIpamScopeIdHasBeenSet = true; m_currentIpamScopeId = std::move(value); }
102 inline void SetCurrentIpamScopeId(const char* value) { m_currentIpamScopeIdHasBeenSet = true; m_currentIpamScopeId.assign(value); }
105 inline ModifyIpamResourceCidrRequest& WithCurrentIpamScopeId(const char* value) { SetCurrentIpamScopeId(value); return *this;}
107
109
112 inline const Aws::String& GetDestinationIpamScopeId() const{ return m_destinationIpamScopeId; }
113 inline bool DestinationIpamScopeIdHasBeenSet() const { return m_destinationIpamScopeIdHasBeenSet; }
114 inline void SetDestinationIpamScopeId(const Aws::String& value) { m_destinationIpamScopeIdHasBeenSet = true; m_destinationIpamScopeId = value; }
115 inline void SetDestinationIpamScopeId(Aws::String&& value) { m_destinationIpamScopeIdHasBeenSet = true; m_destinationIpamScopeId = std::move(value); }
116 inline void SetDestinationIpamScopeId(const char* value) { m_destinationIpamScopeIdHasBeenSet = true; m_destinationIpamScopeId.assign(value); }
121
123
128 inline bool GetMonitored() const{ return m_monitored; }
129 inline bool MonitoredHasBeenSet() const { return m_monitoredHasBeenSet; }
130 inline void SetMonitored(bool value) { m_monitoredHasBeenSet = true; m_monitored = value; }
131 inline ModifyIpamResourceCidrRequest& WithMonitored(bool value) { SetMonitored(value); return *this;}
133 private:
134
135 bool m_dryRun;
136 bool m_dryRunHasBeenSet = false;
137
138 Aws::String m_resourceId;
139 bool m_resourceIdHasBeenSet = false;
140
141 Aws::String m_resourceCidr;
142 bool m_resourceCidrHasBeenSet = false;
143
144 Aws::String m_resourceRegion;
145 bool m_resourceRegionHasBeenSet = false;
146
147 Aws::String m_currentIpamScopeId;
148 bool m_currentIpamScopeIdHasBeenSet = false;
149
150 Aws::String m_destinationIpamScopeId;
151 bool m_destinationIpamScopeIdHasBeenSet = false;
152
153 bool m_monitored;
154 bool m_monitoredHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace EC2
159} // namespace Aws
AWS_EC2_API Aws::String SerializePayload() const override
ModifyIpamResourceCidrRequest & WithResourceCidr(const char *value)
ModifyIpamResourceCidrRequest & WithResourceRegion(const char *value)
ModifyIpamResourceCidrRequest & WithCurrentIpamScopeId(const Aws::String &value)
ModifyIpamResourceCidrRequest & WithResourceCidr(const Aws::String &value)
ModifyIpamResourceCidrRequest & WithDryRun(bool value)
ModifyIpamResourceCidrRequest & WithMonitored(bool value)
ModifyIpamResourceCidrRequest & WithResourceRegion(const Aws::String &value)
ModifyIpamResourceCidrRequest & WithResourceRegion(Aws::String &&value)
ModifyIpamResourceCidrRequest & WithResourceCidr(Aws::String &&value)
ModifyIpamResourceCidrRequest & WithResourceId(const char *value)
ModifyIpamResourceCidrRequest & WithCurrentIpamScopeId(const char *value)
ModifyIpamResourceCidrRequest & WithResourceId(Aws::String &&value)
ModifyIpamResourceCidrRequest & WithDestinationIpamScopeId(Aws::String &&value)
ModifyIpamResourceCidrRequest & WithResourceId(const Aws::String &value)
ModifyIpamResourceCidrRequest & WithDestinationIpamScopeId(const Aws::String &value)
ModifyIpamResourceCidrRequest & WithCurrentIpamScopeId(Aws::String &&value)
ModifyIpamResourceCidrRequest & WithDestinationIpamScopeId(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String