AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetIpamAddressHistoryRequest.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 <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EC2
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetIpamAddressHistory"; }
32
33 AWS_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
47 inline bool GetDryRun() const{ return m_dryRun; }
48 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
49 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
50 inline GetIpamAddressHistoryRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
52
54
59 inline const Aws::String& GetCidr() const{ return m_cidr; }
60 inline bool CidrHasBeenSet() const { return m_cidrHasBeenSet; }
61 inline void SetCidr(const Aws::String& value) { m_cidrHasBeenSet = true; m_cidr = value; }
62 inline void SetCidr(Aws::String&& value) { m_cidrHasBeenSet = true; m_cidr = std::move(value); }
63 inline void SetCidr(const char* value) { m_cidrHasBeenSet = true; m_cidr.assign(value); }
64 inline GetIpamAddressHistoryRequest& WithCidr(const Aws::String& value) { SetCidr(value); return *this;}
65 inline GetIpamAddressHistoryRequest& WithCidr(Aws::String&& value) { SetCidr(std::move(value)); return *this;}
66 inline GetIpamAddressHistoryRequest& WithCidr(const char* value) { SetCidr(value); return *this;}
68
70
73 inline const Aws::String& GetIpamScopeId() const{ return m_ipamScopeId; }
74 inline bool IpamScopeIdHasBeenSet() const { return m_ipamScopeIdHasBeenSet; }
75 inline void SetIpamScopeId(const Aws::String& value) { m_ipamScopeIdHasBeenSet = true; m_ipamScopeId = value; }
76 inline void SetIpamScopeId(Aws::String&& value) { m_ipamScopeIdHasBeenSet = true; m_ipamScopeId = std::move(value); }
77 inline void SetIpamScopeId(const char* value) { m_ipamScopeIdHasBeenSet = true; m_ipamScopeId.assign(value); }
78 inline GetIpamAddressHistoryRequest& WithIpamScopeId(const Aws::String& value) { SetIpamScopeId(value); return *this;}
79 inline GetIpamAddressHistoryRequest& WithIpamScopeId(Aws::String&& value) { SetIpamScopeId(std::move(value)); return *this;}
80 inline GetIpamAddressHistoryRequest& WithIpamScopeId(const char* value) { SetIpamScopeId(value); return *this;}
82
84
87 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
88 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
89 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
90 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
91 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
92 inline GetIpamAddressHistoryRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
93 inline GetIpamAddressHistoryRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
94 inline GetIpamAddressHistoryRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;}
96
98
102 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
103 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
104 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
105 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
107 inline GetIpamAddressHistoryRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
109
111
115 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
116 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
117 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
118 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
119 inline GetIpamAddressHistoryRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
120 inline GetIpamAddressHistoryRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
122
124
128 inline int GetMaxResults() const{ return m_maxResults; }
129 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
130 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
131 inline GetIpamAddressHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
133
135
138 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
139 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
140 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
141 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
142 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
143 inline GetIpamAddressHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
144 inline GetIpamAddressHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
145 inline GetIpamAddressHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
147 private:
148
149 bool m_dryRun;
150 bool m_dryRunHasBeenSet = false;
151
152 Aws::String m_cidr;
153 bool m_cidrHasBeenSet = false;
154
155 Aws::String m_ipamScopeId;
156 bool m_ipamScopeIdHasBeenSet = false;
157
158 Aws::String m_vpcId;
159 bool m_vpcIdHasBeenSet = false;
160
161 Aws::Utils::DateTime m_startTime;
162 bool m_startTimeHasBeenSet = false;
163
164 Aws::Utils::DateTime m_endTime;
165 bool m_endTimeHasBeenSet = false;
166
167 int m_maxResults;
168 bool m_maxResultsHasBeenSet = false;
169
170 Aws::String m_nextToken;
171 bool m_nextTokenHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace EC2
176} // namespace Aws
GetIpamAddressHistoryRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetIpamAddressHistoryRequest & WithNextToken(const char *value)
GetIpamAddressHistoryRequest & WithVpcId(Aws::String &&value)
GetIpamAddressHistoryRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
GetIpamAddressHistoryRequest & WithCidr(const Aws::String &value)
GetIpamAddressHistoryRequest & WithCidr(const char *value)
GetIpamAddressHistoryRequest & WithNextToken(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
GetIpamAddressHistoryRequest & WithStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetStartTime(const Aws::Utils::DateTime &value)
GetIpamAddressHistoryRequest & WithVpcId(const Aws::String &value)
GetIpamAddressHistoryRequest & WithNextToken(const Aws::String &value)
GetIpamAddressHistoryRequest & WithDryRun(bool value)
GetIpamAddressHistoryRequest & WithVpcId(const char *value)
GetIpamAddressHistoryRequest & WithCidr(Aws::String &&value)
GetIpamAddressHistoryRequest & WithIpamScopeId(Aws::String &&value)
GetIpamAddressHistoryRequest & WithIpamScopeId(const char *value)
GetIpamAddressHistoryRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetIpamAddressHistoryRequest & WithIpamScopeId(const Aws::String &value)
GetIpamAddressHistoryRequest & WithEndTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String