7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename PolicyNameT = Aws::String>
46 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
47 template<
typename PolicyNameT = Aws::String>
57 template<
typename PolicyVersionIdT = Aws::String>
58 void SetPolicyVersionId(PolicyVersionIdT&& value) { m_policyVersionIdHasBeenSet =
true; m_policyVersionId = std::forward<PolicyVersionIdT>(value); }
59 template<
typename PolicyVersionIdT = Aws::String>
65 bool m_policyNameHasBeenSet =
false;
68 bool m_policyVersionIdHasBeenSet =
false;
DeletePolicyVersionRequest & WithPolicyName(PolicyNameT &&value)
const Aws::String & GetPolicyName() const
const Aws::String & GetPolicyVersionId() const
DeletePolicyVersionRequest & WithPolicyVersionId(PolicyVersionIdT &&value)
virtual const char * GetServiceRequestName() const override
void SetPolicyName(PolicyNameT &&value)
void SetPolicyVersionId(PolicyVersionIdT &&value)
AWS_IOT_API DeletePolicyVersionRequest()=default
bool PolicyVersionIdHasBeenSet() const
bool PolicyNameHasBeenSet() const
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String