AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssociatedIpv6PoolCidrsRequest.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 "GetAssociatedIpv6PoolCidrs"; }
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& GetPoolId() const{ return m_poolId; }
44 inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; }
45 inline void SetPoolId(const Aws::String& value) { m_poolIdHasBeenSet = true; m_poolId = value; }
46 inline void SetPoolId(Aws::String&& value) { m_poolIdHasBeenSet = true; m_poolId = std::move(value); }
47 inline void SetPoolId(const char* value) { m_poolIdHasBeenSet = true; m_poolId.assign(value); }
48 inline GetAssociatedIpv6PoolCidrsRequest& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;}
49 inline GetAssociatedIpv6PoolCidrsRequest& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;}
50 inline GetAssociatedIpv6PoolCidrsRequest& WithPoolId(const char* value) { SetPoolId(value); return *this;}
52
54
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
60 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
61 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
62 inline GetAssociatedIpv6PoolCidrsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
63 inline GetAssociatedIpv6PoolCidrsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
64 inline GetAssociatedIpv6PoolCidrsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
66
68
73 inline int GetMaxResults() const{ return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline GetAssociatedIpv6PoolCidrsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
86 inline bool GetDryRun() const{ return m_dryRun; }
87 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
88 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
89 inline GetAssociatedIpv6PoolCidrsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
91 private:
92
93 Aws::String m_poolId;
94 bool m_poolIdHasBeenSet = false;
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98
99 int m_maxResults;
100 bool m_maxResultsHasBeenSet = false;
101
102 bool m_dryRun;
103 bool m_dryRunHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace EC2
108} // namespace Aws
GetAssociatedIpv6PoolCidrsRequest & WithPoolId(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
GetAssociatedIpv6PoolCidrsRequest & WithNextToken(const Aws::String &value)
GetAssociatedIpv6PoolCidrsRequest & WithDryRun(bool value)
GetAssociatedIpv6PoolCidrsRequest & WithPoolId(const char *value)
GetAssociatedIpv6PoolCidrsRequest & WithNextToken(Aws::String &&value)
GetAssociatedIpv6PoolCidrsRequest & WithNextToken(const char *value)
GetAssociatedIpv6PoolCidrsRequest & WithPoolId(Aws::String &&value)
GetAssociatedIpv6PoolCidrsRequest & WithMaxResults(int value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String