7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/IoTRequest.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/Tag.h>
42 template <
typename PolicyNameT = Aws::String>
44 m_policyNameHasBeenSet =
true;
45 m_policyName = std::forward<PolicyNameT>(value);
47 template <
typename PolicyNameT = Aws::String>
61 template <
typename PolicyDocumentT = Aws::String>
63 m_policyDocumentHasBeenSet =
true;
64 m_policyDocument = std::forward<PolicyDocumentT>(value);
66 template <
typename PolicyDocumentT = Aws::String>
83 template <
typename TagsT = Aws::Vector<Tag>>
85 m_tagsHasBeenSet =
true;
86 m_tags = std::forward<TagsT>(value);
88 template <
typename TagsT = Aws::Vector<Tag>>
90 SetTags(std::forward<TagsT>(value));
93 template <
typename TagsT = Tag>
95 m_tagsHasBeenSet =
true;
96 m_tags.emplace_back(std::forward<TagsT>(value));
106 bool m_policyNameHasBeenSet =
false;
107 bool m_policyDocumentHasBeenSet =
false;
108 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