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/TagSpecification.h>
13#include <aws/core/utils/UUID.h>
51 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
61 template<
typename IpamIdT = Aws::String>
62 void SetIpamId(IpamIdT&& value) { m_ipamIdHasBeenSet =
true; m_ipamId = std::forward<IpamIdT>(value); }
63 template<
typename IpamIdT = Aws::String>
73 template<
typename IpamResourceDiscoveryIdT = Aws::String>
74 void SetIpamResourceDiscoveryId(IpamResourceDiscoveryIdT&& value) { m_ipamResourceDiscoveryIdHasBeenSet =
true; m_ipamResourceDiscoveryId = std::forward<IpamResourceDiscoveryIdT>(value); }
75 template<
typename IpamResourceDiscoveryIdT = Aws::String>
85 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
86 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
87 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
89 template<
typename TagSpecificationsT = TagSpecification>
99 template<
typename ClientTokenT = Aws::String>
100 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
101 template<
typename ClientTokenT = Aws::String>
106 bool m_dryRun{
false};
107 bool m_dryRunHasBeenSet =
false;
110 bool m_ipamIdHasBeenSet =
false;
113 bool m_ipamResourceDiscoveryIdHasBeenSet =
false;
116 bool m_tagSpecificationsHasBeenSet =
false;
119 bool m_clientTokenHasBeenSet =
true;
bool DryRunHasBeenSet() const
const Aws::String & GetIpamId() const
const Aws::String & GetIpamResourceDiscoveryId() const
void SetIpamResourceDiscoveryId(IpamResourceDiscoveryIdT &&value)
void SetIpamId(IpamIdT &&value)
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
AssociateIpamResourceDiscoveryRequest & WithDryRun(bool value)
void SetClientToken(ClientTokenT &&value)
AssociateIpamResourceDiscoveryRequest & AddTagSpecifications(TagSpecificationsT &&value)
AssociateIpamResourceDiscoveryRequest & WithIpamResourceDiscoveryId(IpamResourceDiscoveryIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetDryRun(bool value)
AssociateIpamResourceDiscoveryRequest & WithIpamId(IpamIdT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool IpamResourceDiscoveryIdHasBeenSet() const
AssociateIpamResourceDiscoveryRequest & WithClientToken(ClientTokenT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
bool TagSpecificationsHasBeenSet() const
AssociateIpamResourceDiscoveryRequest & WithTagSpecifications(TagSpecificationsT &&value)
bool IpamIdHasBeenSet() const
const Aws::String & GetClientToken() const
AWS_EC2_API AssociateIpamResourceDiscoveryRequest()=default
void SetTagSpecifications(TagSpecificationsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector