7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/RequestIpamResourceTag.h>
47 m_dryRunHasBeenSet =
true;
62 template <
typename IpamPoolIdT = Aws::String>
64 m_ipamPoolIdHasBeenSet =
true;
65 m_ipamPoolId = std::forward<IpamPoolIdT>(value);
67 template <
typename IpamPoolIdT = Aws::String>
80 template <
typename DescriptionT = Aws::String>
82 m_descriptionHasBeenSet =
true;
83 m_description = std::forward<DescriptionT>(value);
85 template <
typename DescriptionT = Aws::String>
108 m_autoImportHasBeenSet =
true;
109 m_autoImport = value;
127 m_allocationMinNetmaskLengthHasBeenSet =
true;
128 m_allocationMinNetmaskLength = value;
146 m_allocationMaxNetmaskLengthHasBeenSet =
true;
147 m_allocationMaxNetmaskLength = value;
164 m_allocationDefaultNetmaskLengthHasBeenSet =
true;
165 m_allocationDefaultNetmaskLength = value;
180 m_clearAllocationDefaultNetmaskLengthHasBeenSet =
true;
181 m_clearAllocationDefaultNetmaskLength = value;
198 template <
typename AddAllocationResourceTagsT = Aws::Vector<RequestIpamResourceTag>>
200 m_addAllocationResourceTagsHasBeenSet =
true;
201 m_addAllocationResourceTags = std::forward<AddAllocationResourceTagsT>(value);
203 template <
typename AddAllocationResourceTagsT = Aws::Vector<RequestIpamResourceTag>>
208 template <
typename AddAllocationResourceTagsT = RequestIpamResourceTag>
210 m_addAllocationResourceTagsHasBeenSet =
true;
211 m_addAllocationResourceTags.emplace_back(std::forward<AddAllocationResourceTagsT>(value));
222 template <
typename RemoveAllocationResourceTagsT = Aws::Vector<RequestIpamResourceTag>>
224 m_removeAllocationResourceTagsHasBeenSet =
true;
225 m_removeAllocationResourceTags = std::forward<RemoveAllocationResourceTagsT>(value);
227 template <
typename RemoveAllocationResourceTagsT = Aws::Vector<RequestIpamResourceTag>>
232 template <
typename RemoveAllocationResourceTagsT = RequestIpamResourceTag>
234 m_removeAllocationResourceTagsHasBeenSet =
true;
235 m_removeAllocationResourceTags.emplace_back(std::forward<RemoveAllocationResourceTagsT>(value));
240 bool m_dryRun{
false};
246 bool m_autoImport{
false};
248 int m_allocationMinNetmaskLength{0};
250 int m_allocationMaxNetmaskLength{0};
252 int m_allocationDefaultNetmaskLength{0};
254 bool m_clearAllocationDefaultNetmaskLength{
false};
259 bool m_dryRunHasBeenSet =
false;
260 bool m_ipamPoolIdHasBeenSet =
false;
261 bool m_descriptionHasBeenSet =
false;
262 bool m_autoImportHasBeenSet =
false;
263 bool m_allocationMinNetmaskLengthHasBeenSet =
false;
264 bool m_allocationMaxNetmaskLengthHasBeenSet =
false;
265 bool m_allocationDefaultNetmaskLengthHasBeenSet =
false;
266 bool m_clearAllocationDefaultNetmaskLengthHasBeenSet =
false;
267 bool m_addAllocationResourceTagsHasBeenSet =
false;
268 bool m_removeAllocationResourceTagsHasBeenSet =
false;
ModifyIpamPoolRequest & AddAddAllocationResourceTags(AddAllocationResourceTagsT &&value)
void SetAllocationMaxNetmaskLength(int value)
bool DescriptionHasBeenSet() const
bool ClearAllocationDefaultNetmaskLengthHasBeenSet() const
void SetAddAllocationResourceTags(AddAllocationResourceTagsT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool AllocationDefaultNetmaskLengthHasBeenSet() const
const Aws::String & GetDescription() const
ModifyIpamPoolRequest & WithAllocationMinNetmaskLength(int value)
void SetDryRun(bool value)
bool IpamPoolIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetIpamPoolId(IpamPoolIdT &&value)
bool GetAutoImport() const
void SetAllocationMinNetmaskLength(int value)
void SetAllocationDefaultNetmaskLength(int value)
const Aws::Vector< RequestIpamResourceTag > & GetAddAllocationResourceTags() const
virtual const char * GetServiceRequestName() const override
int GetAllocationMinNetmaskLength() const
ModifyIpamPoolRequest & WithClearAllocationDefaultNetmaskLength(bool value)
ModifyIpamPoolRequest & WithIpamPoolId(IpamPoolIdT &&value)
AWS_EC2_API ModifyIpamPoolRequest()=default
ModifyIpamPoolRequest & WithRemoveAllocationResourceTags(RemoveAllocationResourceTagsT &&value)
bool AllocationMaxNetmaskLengthHasBeenSet() const
bool AllocationMinNetmaskLengthHasBeenSet() const
bool DryRunHasBeenSet() const
const Aws::String & GetIpamPoolId() const
const Aws::Vector< RequestIpamResourceTag > & GetRemoveAllocationResourceTags() const
ModifyIpamPoolRequest & WithDescription(DescriptionT &&value)
bool AutoImportHasBeenSet() const
int GetAllocationDefaultNetmaskLength() const
bool GetClearAllocationDefaultNetmaskLength() const
void SetClearAllocationDefaultNetmaskLength(bool value)
ModifyIpamPoolRequest & WithAutoImport(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
int GetAllocationMaxNetmaskLength() const
ModifyIpamPoolRequest & WithAddAllocationResourceTags(AddAllocationResourceTagsT &&value)
void SetRemoveAllocationResourceTags(RemoveAllocationResourceTagsT &&value)
void SetAutoImport(bool value)
ModifyIpamPoolRequest & WithAllocationMaxNetmaskLength(int value)
ModifyIpamPoolRequest & AddRemoveAllocationResourceTags(RemoveAllocationResourceTagsT &&value)
ModifyIpamPoolRequest & WithAllocationDefaultNetmaskLength(int value)
bool AddAllocationResourceTagsHasBeenSet() const
bool RemoveAllocationResourceTagsHasBeenSet() const
ModifyIpamPoolRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector