AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AssociateSubnetCidrBlockRequest.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
20 public:
21 AWS_EC2_API AssociateSubnetCidrBlockRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "AssociateSubnetCidrBlock"; }
28
29 AWS_EC2_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
39 inline const Aws::String& GetIpv6IpamPoolId() const { return m_ipv6IpamPoolId; }
40 inline bool Ipv6IpamPoolIdHasBeenSet() const { return m_ipv6IpamPoolIdHasBeenSet; }
41 template <typename Ipv6IpamPoolIdT = Aws::String>
42 void SetIpv6IpamPoolId(Ipv6IpamPoolIdT&& value) {
43 m_ipv6IpamPoolIdHasBeenSet = true;
44 m_ipv6IpamPoolId = std::forward<Ipv6IpamPoolIdT>(value);
45 }
46 template <typename Ipv6IpamPoolIdT = Aws::String>
48 SetIpv6IpamPoolId(std::forward<Ipv6IpamPoolIdT>(value));
49 return *this;
50 }
52
54
57 inline int GetIpv6NetmaskLength() const { return m_ipv6NetmaskLength; }
58 inline bool Ipv6NetmaskLengthHasBeenSet() const { return m_ipv6NetmaskLengthHasBeenSet; }
59 inline void SetIpv6NetmaskLength(int value) {
60 m_ipv6NetmaskLengthHasBeenSet = true;
61 m_ipv6NetmaskLength = value;
62 }
65 return *this;
66 }
68
70
73 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
74 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
75 template <typename SubnetIdT = Aws::String>
76 void SetSubnetId(SubnetIdT&& value) {
77 m_subnetIdHasBeenSet = true;
78 m_subnetId = std::forward<SubnetIdT>(value);
79 }
80 template <typename SubnetIdT = Aws::String>
82 SetSubnetId(std::forward<SubnetIdT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetIpv6CidrBlock() const { return m_ipv6CidrBlock; }
92 inline bool Ipv6CidrBlockHasBeenSet() const { return m_ipv6CidrBlockHasBeenSet; }
93 template <typename Ipv6CidrBlockT = Aws::String>
94 void SetIpv6CidrBlock(Ipv6CidrBlockT&& value) {
95 m_ipv6CidrBlockHasBeenSet = true;
96 m_ipv6CidrBlock = std::forward<Ipv6CidrBlockT>(value);
97 }
98 template <typename Ipv6CidrBlockT = Aws::String>
100 SetIpv6CidrBlock(std::forward<Ipv6CidrBlockT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_ipv6IpamPoolId;
106
107 int m_ipv6NetmaskLength{0};
108
109 Aws::String m_subnetId;
110
111 Aws::String m_ipv6CidrBlock;
112 bool m_ipv6IpamPoolIdHasBeenSet = false;
113 bool m_ipv6NetmaskLengthHasBeenSet = false;
114 bool m_subnetIdHasBeenSet = false;
115 bool m_ipv6CidrBlockHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace EC2
120} // namespace Aws
AWS_EC2_API Aws::String SerializePayload() const override
AssociateSubnetCidrBlockRequest & WithIpv6CidrBlock(Ipv6CidrBlockT &&value)
AssociateSubnetCidrBlockRequest & WithSubnetId(SubnetIdT &&value)
AssociateSubnetCidrBlockRequest & WithIpv6NetmaskLength(int value)
AssociateSubnetCidrBlockRequest & WithIpv6IpamPoolId(Ipv6IpamPoolIdT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String