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/MitigationActionParams.h>
12#include <aws/iot/model/Tag.h>
41 template <
typename ActionNameT = Aws::String>
43 m_actionNameHasBeenSet =
true;
44 m_actionName = std::forward<ActionNameT>(value);
46 template <
typename ActionNameT = Aws::String>
59 template <
typename RoleArnT = Aws::String>
61 m_roleArnHasBeenSet =
true;
62 m_roleArn = std::forward<RoleArnT>(value);
64 template <
typename RoleArnT = Aws::String>
77 template <
typename ActionParamsT = MitigationActionParams>
79 m_actionParamsHasBeenSet =
true;
80 m_actionParams = std::forward<ActionParamsT>(value);
82 template <
typename ActionParamsT = MitigationActionParams>
95 template <
typename TagsT = Aws::Vector<Tag>>
97 m_tagsHasBeenSet =
true;
98 m_tags = std::forward<TagsT>(value);
100 template <
typename TagsT = Aws::Vector<Tag>>
102 SetTags(std::forward<TagsT>(value));
105 template <
typename TagsT = Tag>
107 m_tagsHasBeenSet =
true;
108 m_tags.emplace_back(std::forward<TagsT>(value));
120 bool m_actionNameHasBeenSet =
false;
121 bool m_roleArnHasBeenSet =
false;
122 bool m_actionParamsHasBeenSet =
false;
123 bool m_tagsHasBeenSet =
false;
CreateMitigationActionRequest & WithTags(TagsT &&value)
CreateMitigationActionRequest & AddTags(TagsT &&value)
bool TagsHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
bool RoleArnHasBeenSet() const
CreateMitigationActionRequest & WithActionParams(ActionParamsT &&value)
CreateMitigationActionRequest & WithActionName(ActionNameT &&value)
CreateMitigationActionRequest & WithRoleArn(RoleArnT &&value)
bool ActionNameHasBeenSet() const
const Aws::String & GetActionName() const
const Aws::Vector< Tag > & GetTags() const
bool ActionParamsHasBeenSet() const
void SetTags(TagsT &&value)
AWS_IOT_API CreateMitigationActionRequest()=default
void SetActionParams(ActionParamsT &&value)
void SetActionName(ActionNameT &&value)
const Aws::String & GetRoleArn() const
const MitigationActionParams & GetActionParams() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector