/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The output from the GetLoggingOptions operation.See Also:
* AWS
* API Reference
The ARN of the IAM role that grants access.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of the IAM role that grants access.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } /** *The ARN of the IAM role that grants access.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } /** *The ARN of the IAM role that grants access.
*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *The ARN of the IAM role that grants access.
*/ inline GetLoggingOptionsResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of the IAM role that grants access.
*/ inline GetLoggingOptionsResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of the IAM role that grants access.
*/ inline GetLoggingOptionsResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The logging level.
*/ inline const LogLevel& GetLogLevel() const{ return m_logLevel; } /** *The logging level.
*/ inline void SetLogLevel(const LogLevel& value) { m_logLevel = value; } /** *The logging level.
*/ inline void SetLogLevel(LogLevel&& value) { m_logLevel = std::move(value); } /** *The logging level.
*/ inline GetLoggingOptionsResult& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;} /** *The logging level.
*/ inline GetLoggingOptionsResult& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetLoggingOptionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetLoggingOptionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetLoggingOptionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_roleArn; LogLevel m_logLevel; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws