AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_EC2_API GetIpamAddressHistoryRequest() = default;
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 template<typename CidrT = Aws::String>
62 void SetCidr(CidrT&& value) { m_cidrHasBeenSet = true; m_cidr = std::forward<CidrT>(value); }
63 template<typename CidrT = Aws::String>
64 GetIpamAddressHistoryRequest& WithCidr(CidrT&& value) { SetCidr(std::forward<CidrT>(value)); return *this;}
66
68
71 inline const Aws::String& GetIpamScopeId() const { return m_ipamScopeId; }
72 inline bool IpamScopeIdHasBeenSet() const { return m_ipamScopeIdHasBeenSet; }
73 template<typename IpamScopeIdT = Aws::String>
74 void SetIpamScopeId(IpamScopeIdT&& value) { m_ipamScopeIdHasBeenSet = true; m_ipamScopeId = std::forward<IpamScopeIdT>(value); }
75 template<typename IpamScopeIdT = Aws::String>
76 GetIpamAddressHistoryRequest& WithIpamScopeId(IpamScopeIdT&& value) { SetIpamScopeId(std::forward<IpamScopeIdT>(value)); return *this;}
78
80
83 inline const Aws::String& GetVpcId() const { return m_vpcId; }
84 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
85 template<typename VpcIdT = Aws::String>
86 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
87 template<typename VpcIdT = Aws::String>
88 GetIpamAddressHistoryRequest& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
90
92
96 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
97 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
98 template<typename StartTimeT = Aws::Utils::DateTime>
99 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
100 template<typename StartTimeT = Aws::Utils::DateTime>
101 GetIpamAddressHistoryRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
103
105
109 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
110 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
111 template<typename EndTimeT = Aws::Utils::DateTime>
112 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
113 template<typename EndTimeT = Aws::Utils::DateTime>
114 GetIpamAddressHistoryRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
116
118
122 inline int GetMaxResults() const { return m_maxResults; }
123 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
124 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
125 inline GetIpamAddressHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
127
129
132 inline const Aws::String& GetNextToken() const { return m_nextToken; }
133 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
134 template<typename NextTokenT = Aws::String>
135 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
136 template<typename NextTokenT = Aws::String>
137 GetIpamAddressHistoryRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
139 private:
140
141 bool m_dryRun{false};
142 bool m_dryRunHasBeenSet = false;
143
144 Aws::String m_cidr;
145 bool m_cidrHasBeenSet = false;
146
147 Aws::String m_ipamScopeId;
148 bool m_ipamScopeIdHasBeenSet = false;
149
150 Aws::String m_vpcId;
151 bool m_vpcIdHasBeenSet = false;
152
153 Aws::Utils::DateTime m_startTime{};
154 bool m_startTimeHasBeenSet = false;
155
156 Aws::Utils::DateTime m_endTime{};
157 bool m_endTimeHasBeenSet = false;
158
159 int m_maxResults{0};
160 bool m_maxResultsHasBeenSet = false;
161
162 Aws::String m_nextToken;
163 bool m_nextTokenHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace EC2
168} // namespace Aws
GetIpamAddressHistoryRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
GetIpamAddressHistoryRequest & WithStartTime(StartTimeT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
GetIpamAddressHistoryRequest & WithCidr(CidrT &&value)
GetIpamAddressHistoryRequest & WithVpcId(VpcIdT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetIpamAddressHistoryRequest & WithNextToken(NextTokenT &&value)
GetIpamAddressHistoryRequest & WithDryRun(bool value)
GetIpamAddressHistoryRequest & WithEndTime(EndTimeT &&value)
AWS_EC2_API GetIpamAddressHistoryRequest()=default
GetIpamAddressHistoryRequest & WithIpamScopeId(IpamScopeIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String