7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
53 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
68 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
83 inline void SetSetAsDefault(
bool value) { m_setAsDefaultHasBeenSet =
true; m_setAsDefault = value; }
89 bool m_policyNameHasBeenSet =
false;
92 bool m_policyDocumentHasBeenSet =
false;
95 bool m_setAsDefaultHasBeenSet =
false;
void SetPolicyDocument(const char *value)
bool SetAsDefaultHasBeenSet() const
CreatePolicyVersionRequest & WithPolicyName(const Aws::String &value)
const Aws::String & GetPolicyName() const
AWS_IOT_API Aws::String SerializePayload() const override
bool GetSetAsDefault() const
CreatePolicyVersionRequest & WithPolicyDocument(const Aws::String &value)
void SetPolicyDocument(Aws::String &&value)
void SetPolicyName(const char *value)
CreatePolicyVersionRequest & WithSetAsDefault(bool value)
void SetPolicyName(Aws::String &&value)
CreatePolicyVersionRequest & WithPolicyDocument(Aws::String &&value)
const Aws::String & GetPolicyDocument() const
void SetPolicyName(const Aws::String &value)
bool PolicyDocumentHasBeenSet() const
CreatePolicyVersionRequest & WithPolicyName(const char *value)
virtual const char * GetServiceRequestName() const override
CreatePolicyVersionRequest & WithPolicyDocument(const char *value)
void SetSetAsDefault(bool value)
AWS_IOT_API CreatePolicyVersionRequest()
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CreatePolicyVersionRequest & WithPolicyName(Aws::String &&value)
void SetPolicyDocument(const Aws::String &value)
bool PolicyNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String