7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
63 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
77 inline void SetBatchMode(
bool value) { m_batchModeHasBeenSet =
true; m_batchMode = value; }
83 bool m_roleArnHasBeenSet =
false;
86 bool m_logGroupNameHasBeenSet =
false;
89 bool m_batchModeHasBeenSet =
false;
CloudwatchLogsAction & WithRoleArn(const char *value)
void SetRoleArn(const char *value)
bool BatchModeHasBeenSet() const
AWS_IOT_API CloudwatchLogsAction(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLogGroupName() const
bool GetBatchMode() const
CloudwatchLogsAction & WithRoleArn(Aws::String &&value)
bool LogGroupNameHasBeenSet() const
void SetBatchMode(bool value)
CloudwatchLogsAction & WithRoleArn(const Aws::String &value)
AWS_IOT_API CloudwatchLogsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(const Aws::String &value)
AWS_IOT_API CloudwatchLogsAction()
void SetLogGroupName(Aws::String &&value)
void SetLogGroupName(const Aws::String &value)
CloudwatchLogsAction & WithLogGroupName(const Aws::String &value)
CloudwatchLogsAction & WithLogGroupName(Aws::String &&value)
CloudwatchLogsAction & WithLogGroupName(const char *value)
CloudwatchLogsAction & WithBatchMode(bool value)
const Aws::String & GetRoleArn() const
bool RoleArnHasBeenSet() const
void SetLogGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue