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/memory/stl/AWSVector.h>
11#include <aws/ec2/model/RequestIpamResourceTag.h>
50 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
60 template<
typename IpamPoolIdT = Aws::String>
61 void SetIpamPoolId(IpamPoolIdT&& value) { m_ipamPoolIdHasBeenSet =
true; m_ipamPoolId = std::forward<IpamPoolIdT>(value); }
62 template<
typename IpamPoolIdT = Aws::String>
72 template<
typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
74 template<
typename DescriptionT = Aws::String>
93 inline void SetAutoImport(
bool value) { m_autoImportHasBeenSet =
true; m_autoImport = value; }
154 template<
typename AddAllocationResourceTagsT = Aws::Vector<RequestIpamResourceTag>>
155 void SetAddAllocationResourceTags(AddAllocationResourceTagsT&& value) { m_addAllocationResourceTagsHasBeenSet =
true; m_addAllocationResourceTags = std::forward<AddAllocationResourceTagsT>(value); }
156 template<
typename AddAllocationResourceTagsT = Aws::Vector<RequestIpamResourceTag>>
158 template<
typename AddAllocationResourceTagsT = RequestIpamResourceTag>
168 template<
typename RemoveAllocationResourceTagsT = Aws::Vector<RequestIpamResourceTag>>
169 void SetRemoveAllocationResourceTags(RemoveAllocationResourceTagsT&& value) { m_removeAllocationResourceTagsHasBeenSet =
true; m_removeAllocationResourceTags = std::forward<RemoveAllocationResourceTagsT>(value); }
170 template<
typename RemoveAllocationResourceTagsT = Aws::Vector<RequestIpamResourceTag>>
172 template<
typename RemoveAllocationResourceTagsT = RequestIpamResourceTag>
177 bool m_dryRun{
false};
178 bool m_dryRunHasBeenSet =
false;
181 bool m_ipamPoolIdHasBeenSet =
false;
184 bool m_descriptionHasBeenSet =
false;
186 bool m_autoImport{
false};
187 bool m_autoImportHasBeenSet =
false;
189 int m_allocationMinNetmaskLength{0};
190 bool m_allocationMinNetmaskLengthHasBeenSet =
false;
192 int m_allocationMaxNetmaskLength{0};
193 bool m_allocationMaxNetmaskLengthHasBeenSet =
false;
195 int m_allocationDefaultNetmaskLength{0};
196 bool m_allocationDefaultNetmaskLengthHasBeenSet =
false;
198 bool m_clearAllocationDefaultNetmaskLength{
false};
199 bool m_clearAllocationDefaultNetmaskLengthHasBeenSet =
false;
202 bool m_addAllocationResourceTagsHasBeenSet =
false;
205 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