7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/FMSRequest.h>
9#include <aws/fms/model/Policy.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/fms/model/Tag.h>
45 template<
typename PolicyT = Policy>
46 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
47 template<
typename PolicyT = Policy>
57 template<
typename TagListT = Aws::Vector<Tag>>
58 void SetTagList(TagListT&& value) { m_tagListHasBeenSet =
true; m_tagList = std::forward<TagListT>(value); }
59 template<
typename TagListT = Aws::Vector<Tag>>
61 template<
typename TagListT = Tag>
62 PutPolicyRequest&
AddTagList(TagListT&& value) { m_tagListHasBeenSet =
true; m_tagList.emplace_back(std::forward<TagListT>(value));
return *
this; }
67 bool m_policyHasBeenSet =
false;
70 bool m_tagListHasBeenSet =
false;
PutPolicyRequest & WithPolicy(PolicyT &&value)
bool TagListHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PutPolicyRequest & WithTagList(TagListT &&value)
const Aws::Vector< Tag > & GetTagList() const
void SetTagList(TagListT &&value)
AWS_FMS_API Aws::String SerializePayload() const override
const Policy & GetPolicy() const
AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPolicy(PolicyT &&value)
bool PolicyHasBeenSet() const
AWS_FMS_API PutPolicyRequest()=default
PutPolicyRequest & AddTagList(TagListT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector