AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateSubnetCidrBlockRequest.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 "AssociateSubnetCidrBlock"; }
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
43 inline const Aws::String& GetIpv6IpamPoolId() const{ return m_ipv6IpamPoolId; }
44 inline bool Ipv6IpamPoolIdHasBeenSet() const { return m_ipv6IpamPoolIdHasBeenSet; }
45 inline void SetIpv6IpamPoolId(const Aws::String& value) { m_ipv6IpamPoolIdHasBeenSet = true; m_ipv6IpamPoolId = value; }
46 inline void SetIpv6IpamPoolId(Aws::String&& value) { m_ipv6IpamPoolIdHasBeenSet = true; m_ipv6IpamPoolId = std::move(value); }
47 inline void SetIpv6IpamPoolId(const char* value) { m_ipv6IpamPoolIdHasBeenSet = true; m_ipv6IpamPoolId.assign(value); }
49 inline AssociateSubnetCidrBlockRequest& WithIpv6IpamPoolId(Aws::String&& value) { SetIpv6IpamPoolId(std::move(value)); return *this;}
50 inline AssociateSubnetCidrBlockRequest& WithIpv6IpamPoolId(const char* value) { SetIpv6IpamPoolId(value); return *this;}
52
54
57 inline int GetIpv6NetmaskLength() const{ return m_ipv6NetmaskLength; }
58 inline bool Ipv6NetmaskLengthHasBeenSet() const { return m_ipv6NetmaskLengthHasBeenSet; }
59 inline void SetIpv6NetmaskLength(int value) { m_ipv6NetmaskLengthHasBeenSet = true; m_ipv6NetmaskLength = value; }
62
64
67 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
68 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
69 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
70 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
71 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
72 inline AssociateSubnetCidrBlockRequest& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
73 inline AssociateSubnetCidrBlockRequest& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
74 inline AssociateSubnetCidrBlockRequest& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
76
78
81 inline const Aws::String& GetIpv6CidrBlock() const{ return m_ipv6CidrBlock; }
82 inline bool Ipv6CidrBlockHasBeenSet() const { return m_ipv6CidrBlockHasBeenSet; }
83 inline void SetIpv6CidrBlock(const Aws::String& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = value; }
84 inline void SetIpv6CidrBlock(Aws::String&& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = std::move(value); }
85 inline void SetIpv6CidrBlock(const char* value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock.assign(value); }
87 inline AssociateSubnetCidrBlockRequest& WithIpv6CidrBlock(Aws::String&& value) { SetIpv6CidrBlock(std::move(value)); return *this;}
88 inline AssociateSubnetCidrBlockRequest& WithIpv6CidrBlock(const char* value) { SetIpv6CidrBlock(value); return *this;}
90 private:
91
92 Aws::String m_ipv6IpamPoolId;
93 bool m_ipv6IpamPoolIdHasBeenSet = false;
94
95 int m_ipv6NetmaskLength;
96 bool m_ipv6NetmaskLengthHasBeenSet = false;
97
98 Aws::String m_subnetId;
99 bool m_subnetIdHasBeenSet = false;
100
101 Aws::String m_ipv6CidrBlock;
102 bool m_ipv6CidrBlockHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace EC2
107} // namespace Aws
AWS_EC2_API Aws::String SerializePayload() const override
AssociateSubnetCidrBlockRequest & WithIpv6IpamPoolId(const char *value)
AssociateSubnetCidrBlockRequest & WithIpv6IpamPoolId(const Aws::String &value)
AssociateSubnetCidrBlockRequest & WithSubnetId(Aws::String &&value)
AssociateSubnetCidrBlockRequest & WithSubnetId(const char *value)
AssociateSubnetCidrBlockRequest & WithIpv6IpamPoolId(Aws::String &&value)
AssociateSubnetCidrBlockRequest & WithIpv6CidrBlock(Aws::String &&value)
AssociateSubnetCidrBlockRequest & WithIpv6CidrBlock(const Aws::String &value)
AssociateSubnetCidrBlockRequest & WithIpv6NetmaskLength(int value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AssociateSubnetCidrBlockRequest & WithIpv6CidrBlock(const char *value)
AssociateSubnetCidrBlockRequest & WithSubnetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String