7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/MitigationActionParams.h>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename IdT = Aws::String>
62 m_idHasBeenSet =
true;
63 m_id = std::forward<IdT>(value);
65 template <
typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
78 template <
typename RoleArnT = Aws::String>
80 m_roleArnHasBeenSet =
true;
81 m_roleArn = std::forward<RoleArnT>(value);
83 template <
typename RoleArnT = Aws::String>
97 template <
typename ActionParamsT = MitigationActionParams>
99 m_actionParamsHasBeenSet =
true;
100 m_actionParams = std::forward<ActionParamsT>(value);
102 template <
typename ActionParamsT = MitigationActionParams>
116 bool m_nameHasBeenSet =
false;
117 bool m_idHasBeenSet =
false;
118 bool m_roleArnHasBeenSet =
false;
119 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