7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2Request.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/CustomTagKeyValueRequestPair.h>
30 inline virtual const char*
GetServiceRequestName()
const override {
return "DisassociateApplicationStatusCheck"; }
44 template <
typename ApplicationStatusCheckIdT = Aws::String>
46 m_applicationStatusCheckIdHasBeenSet =
true;
47 m_applicationStatusCheckId = std::forward<ApplicationStatusCheckIdT>(value);
49 template <
typename ApplicationStatusCheckIdT = Aws::String>
65 template <
typename TargetTagAssociationsT = Aws::Vector<CustomTagKeyValueRequestPair>>
67 m_targetTagAssociationsHasBeenSet =
true;
68 m_targetTagAssociations = std::forward<TargetTagAssociationsT>(value);
70 template <
typename TargetTagAssociationsT = Aws::Vector<CustomTagKeyValueRequestPair>>
75 template <
typename TargetTagAssociationsT = CustomTagKeyValueRequestPair>
77 m_targetTagAssociationsHasBeenSet =
true;
78 m_targetTagAssociations.emplace_back(std::forward<TargetTagAssociationsT>(value));
90 template <
typename InstanceIdsT = Aws::Vector<Aws::String>>
92 m_instanceIdsHasBeenSet =
true;
93 m_instanceIds = std::forward<InstanceIdsT>(value);
95 template <
typename InstanceIdsT = Aws::Vector<Aws::String>>
100 template <
typename InstanceIdsT = Aws::String>
102 m_instanceIdsHasBeenSet =
true;
103 m_instanceIds.emplace_back(std::forward<InstanceIdsT>(value));
117 template <
typename ClientTokenT = Aws::String>
119 m_clientTokenHasBeenSet =
true;
120 m_clientToken = std::forward<ClientTokenT>(value);
122 template <
typename ClientTokenT = Aws::String>
139 m_dryRunHasBeenSet =
true;
156 bool m_dryRun{
false};
157 bool m_applicationStatusCheckIdHasBeenSet =
false;
158 bool m_targetTagAssociationsHasBeenSet =
false;
159 bool m_instanceIdsHasBeenSet =
false;
160 bool m_clientTokenHasBeenSet =
true;
161 bool m_dryRunHasBeenSet =
false;
void SetApplicationStatusCheckId(ApplicationStatusCheckIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool ClientTokenHasBeenSet() const
const Aws::Vector< Aws::String > & GetInstanceIds() const
const Aws::Vector< CustomTagKeyValueRequestPair > & GetTargetTagAssociations() const
DisassociateApplicationStatusCheckRequest & WithInstanceIds(InstanceIdsT &&value)
bool InstanceIdsHasBeenSet() const
DisassociateApplicationStatusCheckRequest & WithTargetTagAssociations(TargetTagAssociationsT &&value)
DisassociateApplicationStatusCheckRequest & WithDryRun(bool value)
AWS_EC2_API DisassociateApplicationStatusCheckRequest()=default
void SetDryRun(bool value)
void SetInstanceIds(InstanceIdsT &&value)
DisassociateApplicationStatusCheckRequest & WithApplicationStatusCheckId(ApplicationStatusCheckIdT &&value)
DisassociateApplicationStatusCheckRequest & AddTargetTagAssociations(TargetTagAssociationsT &&value)
bool TargetTagAssociationsHasBeenSet() const
DisassociateApplicationStatusCheckRequest & WithClientToken(ClientTokenT &&value)
DisassociateApplicationStatusCheckRequest & AddInstanceIds(InstanceIdsT &&value)
bool ApplicationStatusCheckIdHasBeenSet() const
const Aws::String & GetApplicationStatusCheckId() const
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetClientToken() const
bool DryRunHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
void SetTargetTagAssociations(TargetTagAssociationsT &&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