7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
64 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
76 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
82 bool m_targetArnHasBeenSet =
false;
85 bool m_roleArnHasBeenSet =
false;
88 bool m_enabledHasBeenSet =
false;
AuditNotificationTarget & WithRoleArn(Aws::String &&value)
void SetEnabled(bool value)
AWS_IOT_API AuditNotificationTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetArn() const
bool TargetArnHasBeenSet() const
void SetTargetArn(Aws::String &&value)
AuditNotificationTarget & WithEnabled(bool value)
bool RoleArnHasBeenSet() const
AuditNotificationTarget & WithTargetArn(const Aws::String &value)
AuditNotificationTarget & WithRoleArn(const Aws::String &value)
AuditNotificationTarget & WithTargetArn(Aws::String &&value)
void SetTargetArn(const Aws::String &value)
AWS_IOT_API AuditNotificationTarget(Aws::Utils::Json::JsonView jsonValue)
bool EnabledHasBeenSet() const
void SetTargetArn(const char *value)
AWS_IOT_API AuditNotificationTarget()
void SetRoleArn(const Aws::String &value)
void SetRoleArn(const char *value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AuditNotificationTarget & WithRoleArn(const char *value)
void SetRoleArn(Aws::String &&value)
AuditNotificationTarget & WithTargetArn(const char *value)
const Aws::String & GetRoleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue