7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename RoleArnT = Aws::String>
48 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
49 template<
typename RoleArnT = Aws::String>
59 template<
typename LogGroupNameT = Aws::String>
60 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet =
true; m_logGroupName = std::forward<LogGroupNameT>(value); }
61 template<
typename LogGroupNameT = Aws::String>
73 inline void SetBatchMode(
bool value) { m_batchModeHasBeenSet =
true; m_batchMode = value; }
79 bool m_roleArnHasBeenSet =
false;
82 bool m_logGroupNameHasBeenSet =
false;
84 bool m_batchMode{
false};
85 bool m_batchModeHasBeenSet =
false;
AWS_IOT_API CloudwatchLogsAction()=default
bool BatchModeHasBeenSet() const
AWS_IOT_API CloudwatchLogsAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLogGroupName() const
bool GetBatchMode() const
CloudwatchLogsAction & WithRoleArn(RoleArnT &&value)
bool LogGroupNameHasBeenSet() const
void SetBatchMode(bool value)
AWS_IOT_API CloudwatchLogsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogGroupName(LogGroupNameT &&value)
CloudwatchLogsAction & WithLogGroupName(LogGroupNameT &&value)
void SetRoleArn(RoleArnT &&value)
CloudwatchLogsAction & WithBatchMode(bool value)
const Aws::String & GetRoleArn() const
bool RoleArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue