7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/MitigationActionParams.h>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
64 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
78 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
99 bool m_nameHasBeenSet =
false;
102 bool m_idHasBeenSet =
false;
105 bool m_roleArnHasBeenSet =
false;
108 bool m_actionParamsHasBeenSet =
false;
MitigationAction & WithActionParams(MitigationActionParams &&value)
void SetActionParams(const MitigationActionParams &value)
void SetRoleArn(const Aws::String &value)
MitigationAction & WithId(const char *value)
bool IdHasBeenSet() const
void SetActionParams(MitigationActionParams &&value)
bool ActionParamsHasBeenSet() const
MitigationAction & WithRoleArn(const Aws::String &value)
const Aws::String & GetRoleArn() const
MitigationAction & WithRoleArn(Aws::String &&value)
void SetName(Aws::String &&value)
MitigationAction & WithRoleArn(const char *value)
void SetName(const Aws::String &value)
AWS_IOT_API MitigationAction()
MitigationAction & WithActionParams(const MitigationActionParams &value)
void SetRoleArn(Aws::String &&value)
bool RoleArnHasBeenSet() const
MitigationAction & WithName(const char *value)
void SetId(const char *value)
MitigationAction & WithName(Aws::String &&value)
const Aws::String & GetName() const
void SetName(const char *value)
AWS_IOT_API MitigationAction & operator=(Aws::Utils::Json::JsonView jsonValue)
MitigationAction & WithId(Aws::String &&value)
const Aws::String & GetId() const
void SetRoleArn(const char *value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool NameHasBeenSet() const
MitigationAction & WithId(const Aws::String &value)
void SetId(const Aws::String &value)
const MitigationActionParams & GetActionParams() const
void SetId(Aws::String &&value)
MitigationAction & WithName(const Aws::String &value)
AWS_IOT_API MitigationAction(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue