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>
46 template<
typename PolicyNameT = Aws::String>
47 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
48 template<
typename PolicyNameT = Aws::String>
59 template<
typename PolicyDocumentT = Aws::String>
60 void SetPolicyDocument(PolicyDocumentT&& value) { m_policyDocumentHasBeenSet =
true; m_policyDocument = std::forward<PolicyDocumentT>(value); }
61 template<
typename PolicyDocumentT = Aws::String>
75 template<
typename TagsT = Aws::Vector<Tag>>
76 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
77 template<
typename TagsT = Aws::Vector<Tag>>
79 template<
typename TagsT = Tag>
85 bool m_policyNameHasBeenSet =
false;
88 bool m_policyDocumentHasBeenSet =
false;
91 bool m_tagsHasBeenSet =
false;
CreatePolicyRequest & AddTags(TagsT &&value)
const Aws::String & GetPolicyName() const
bool TagsHasBeenSet() const
CreatePolicyRequest & WithTags(TagsT &&value)
bool PolicyNameHasBeenSet() const
CreatePolicyRequest & WithPolicyDocument(PolicyDocumentT &&value)
void SetPolicyName(PolicyNameT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTags() const
AWS_IOT_API CreatePolicyRequest()=default
const Aws::String & GetPolicyDocument() const
bool PolicyDocumentHasBeenSet() const
CreatePolicyRequest & WithPolicyName(PolicyNameT &&value)
void SetPolicyDocument(PolicyDocumentT &&value)
void SetTags(TagsT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector