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>
47 inline void SetActionName(
const char* value) { m_actionNameHasBeenSet =
true; m_actionName.assign(value); }
61 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
95 bool m_actionNameHasBeenSet =
false;
98 bool m_roleArnHasBeenSet =
false;
101 bool m_actionParamsHasBeenSet =
false;
104 bool m_tagsHasBeenSet =
false;
void SetActionName(const char *value)
CreateMitigationActionRequest & WithRoleArn(Aws::String &&value)
bool TagsHasBeenSet() const
void SetRoleArn(const char *value)
void SetActionParams(MitigationActionParams &&value)
void SetRoleArn(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
CreateMitigationActionRequest & WithActionName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateMitigationActionRequest & WithRoleArn(const Aws::String &value)
AWS_IOT_API Aws::String SerializePayload() const override
bool RoleArnHasBeenSet() const
void SetActionName(Aws::String &&value)
void SetActionParams(const MitigationActionParams &value)
AWS_IOT_API CreateMitigationActionRequest()
CreateMitigationActionRequest & WithActionName(Aws::String &&value)
CreateMitigationActionRequest & WithActionName(const char *value)
CreateMitigationActionRequest & WithRoleArn(const char *value)
bool ActionNameHasBeenSet() const
const Aws::String & GetActionName() const
const Aws::Vector< Tag > & GetTags() const
CreateMitigationActionRequest & WithActionParams(const MitigationActionParams &value)
void SetTags(const Aws::Vector< Tag > &value)
bool ActionParamsHasBeenSet() const
CreateMitigationActionRequest & WithActionParams(MitigationActionParams &&value)
void SetActionName(const Aws::String &value)
CreateMitigationActionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateMitigationActionRequest & AddTags(Tag &&value)
CreateMitigationActionRequest & AddTags(const Tag &value)
const Aws::String & GetRoleArn() const
CreateMitigationActionRequest & WithTags(Aws::Vector< Tag > &&value)
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