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/iot/model/MitigationActionParams.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iot/model/Tag.h>
45 template<
typename ActionNameT = Aws::String>
46 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet =
true; m_actionName = std::forward<ActionNameT>(value); }
47 template<
typename ActionNameT = Aws::String>
57 template<
typename RoleArnT = Aws::String>
58 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
59 template<
typename RoleArnT = Aws::String>
69 template<
typename ActionParamsT = MitigationActionParams>
70 void SetActionParams(ActionParamsT&& value) { m_actionParamsHasBeenSet =
true; m_actionParams = std::forward<ActionParamsT>(value); }
71 template<
typename ActionParamsT = MitigationActionParams>
81 template<
typename TagsT = Aws::Vector<Tag>>
82 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
83 template<
typename TagsT = Aws::Vector<Tag>>
85 template<
typename TagsT = Tag>
91 bool m_actionNameHasBeenSet =
false;
94 bool m_roleArnHasBeenSet =
false;
97 bool m_actionParamsHasBeenSet =
false;
100 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