AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDefaultSubnetRequest.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 "CreateDefaultSubnet"; }
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& GetAvailabilityZone() const{ return m_availabilityZone; }
44 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
45 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
46 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
47 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
49 inline CreateDefaultSubnetRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
50 inline CreateDefaultSubnetRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
52
54
60 inline bool GetDryRun() const{ return m_dryRun; }
61 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
62 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
63 inline CreateDefaultSubnetRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
65
67
72 inline bool GetIpv6Native() const{ return m_ipv6Native; }
73 inline bool Ipv6NativeHasBeenSet() const { return m_ipv6NativeHasBeenSet; }
74 inline void SetIpv6Native(bool value) { m_ipv6NativeHasBeenSet = true; m_ipv6Native = value; }
75 inline CreateDefaultSubnetRequest& WithIpv6Native(bool value) { SetIpv6Native(value); return *this;}
77 private:
78
79 Aws::String m_availabilityZone;
80 bool m_availabilityZoneHasBeenSet = false;
81
82 bool m_dryRun;
83 bool m_dryRunHasBeenSet = false;
84
85 bool m_ipv6Native;
86 bool m_ipv6NativeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace EC2
91} // namespace Aws
CreateDefaultSubnetRequest & WithAvailabilityZone(const Aws::String &value)
CreateDefaultSubnetRequest & WithAvailabilityZone(const char *value)
CreateDefaultSubnetRequest & WithIpv6Native(bool value)
CreateDefaultSubnetRequest & WithAvailabilityZone(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateDefaultSubnetRequest & WithDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String