7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/Tag.h>
48 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
63 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
89 bool m_policyNameHasBeenSet =
false;
92 bool m_policyDocumentHasBeenSet =
false;
95 bool m_tagsHasBeenSet =
false;
const Aws::String & GetPolicyName() const
bool TagsHasBeenSet() const
void SetPolicyDocument(Aws::String &&value)
bool PolicyNameHasBeenSet() const
CreatePolicyRequest & AddTags(Tag &&value)
CreatePolicyRequest & WithPolicyDocument(const char *value)
CreatePolicyRequest & WithPolicyName(Aws::String &&value)
void SetPolicyDocument(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTags() const
void SetPolicyName(const Aws::String &value)
const Aws::String & GetPolicyDocument() const
AWS_IOT_API CreatePolicyRequest()
CreatePolicyRequest & WithPolicyName(const Aws::String &value)
bool PolicyDocumentHasBeenSet() const
void SetPolicyName(const char *value)
void SetPolicyDocument(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreatePolicyRequest & WithPolicyDocument(Aws::String &&value)
CreatePolicyRequest & WithPolicyDocument(const Aws::String &value)
CreatePolicyRequest & WithTags(const Aws::Vector< Tag > &value)
void SetTags(const Aws::Vector< Tag > &value)
CreatePolicyRequest & WithPolicyName(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
CreatePolicyRequest & WithTags(Aws::Vector< Tag > &&value)
CreatePolicyRequest & AddTags(const Tag &value)
void SetPolicyName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector