/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Parameters used when defining a mitigation action that enable Amazon Web
* Services IoT Core logging.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the IAM role used for logging.
*/ inline const Aws::String& GetRoleArnForLogging() const{ return m_roleArnForLogging; } /** *The Amazon Resource Name (ARN) of the IAM role used for logging.
*/ inline bool RoleArnForLoggingHasBeenSet() const { return m_roleArnForLoggingHasBeenSet; } /** *The Amazon Resource Name (ARN) of the IAM role used for logging.
*/ inline void SetRoleArnForLogging(const Aws::String& value) { m_roleArnForLoggingHasBeenSet = true; m_roleArnForLogging = value; } /** *The Amazon Resource Name (ARN) of the IAM role used for logging.
*/ inline void SetRoleArnForLogging(Aws::String&& value) { m_roleArnForLoggingHasBeenSet = true; m_roleArnForLogging = std::move(value); } /** *The Amazon Resource Name (ARN) of the IAM role used for logging.
*/ inline void SetRoleArnForLogging(const char* value) { m_roleArnForLoggingHasBeenSet = true; m_roleArnForLogging.assign(value); } /** *The Amazon Resource Name (ARN) of the IAM role used for logging.
*/ inline EnableIoTLoggingParams& WithRoleArnForLogging(const Aws::String& value) { SetRoleArnForLogging(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role used for logging.
*/ inline EnableIoTLoggingParams& WithRoleArnForLogging(Aws::String&& value) { SetRoleArnForLogging(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role used for logging.
*/ inline EnableIoTLoggingParams& WithRoleArnForLogging(const char* value) { SetRoleArnForLogging(value); return *this;} /** *Specifies the type of information to be logged.
*/ inline const LogLevel& GetLogLevel() const{ return m_logLevel; } /** *Specifies the type of information to be logged.
*/ inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; } /** *Specifies the type of information to be logged.
*/ inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; } /** *Specifies the type of information to be logged.
*/ inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); } /** *Specifies the type of information to be logged.
*/ inline EnableIoTLoggingParams& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;} /** *Specifies the type of information to be logged.
*/ inline EnableIoTLoggingParams& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;} private: Aws::String m_roleArnForLogging; bool m_roleArnForLoggingHasBeenSet = false; LogLevel m_logLevel; bool m_logLevelHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws