7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/MitigationActionParams.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename IdT = Aws::String>
61 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
62 template<
typename IdT = Aws::String>
72 template<
typename RoleArnT = Aws::String>
73 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
74 template<
typename RoleArnT = Aws::String>
85 template<
typename ActionParamsT = MitigationActionParams>
86 void SetActionParams(ActionParamsT&& value) { m_actionParamsHasBeenSet =
true; m_actionParams = std::forward<ActionParamsT>(value); }
87 template<
typename ActionParamsT = MitigationActionParams>
93 bool m_nameHasBeenSet =
false;
96 bool m_idHasBeenSet =
false;
99 bool m_roleArnHasBeenSet =
false;
102 bool m_actionParamsHasBeenSet =
false;
void SetRoleArn(RoleArnT &&value)
MitigationAction & WithRoleArn(RoleArnT &&value)
bool IdHasBeenSet() const
bool ActionParamsHasBeenSet() const
const Aws::String & GetRoleArn() const
MitigationAction & WithId(IdT &&value)
bool RoleArnHasBeenSet() const
const Aws::String & GetName() const
AWS_IOT_API MitigationAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
MitigationAction & WithName(NameT &&value)
void SetName(NameT &&value)
const MitigationActionParams & GetActionParams() const
MitigationAction & WithActionParams(ActionParamsT &&value)
void SetActionParams(ActionParamsT &&value)
AWS_IOT_API MitigationAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API MitigationAction()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue