This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iot/include/aws/iot/model/GetV2LoggingOptionsResult.h

125 lines
3.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iot/IoT_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iot/model/LogLevel.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoT
{
namespace Model
{
class AWS_IOT_API GetV2LoggingOptionsResult
{
public:
GetV2LoggingOptionsResult();
GetV2LoggingOptionsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetV2LoggingOptionsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The IAM role ARN AWS IoT uses to write to your CloudWatch logs.</p>
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* <p>The IAM role ARN AWS IoT uses to write to your CloudWatch logs.</p>
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
/**
* <p>The IAM role ARN AWS IoT uses to write to your CloudWatch logs.</p>
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
/**
* <p>The IAM role ARN AWS IoT uses to write to your CloudWatch logs.</p>
*/
inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
/**
* <p>The IAM role ARN AWS IoT uses to write to your CloudWatch logs.</p>
*/
inline GetV2LoggingOptionsResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* <p>The IAM role ARN AWS IoT uses to write to your CloudWatch logs.</p>
*/
inline GetV2LoggingOptionsResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* <p>The IAM role ARN AWS IoT uses to write to your CloudWatch logs.</p>
*/
inline GetV2LoggingOptionsResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
/**
* <p>The default log level.</p>
*/
inline const LogLevel& GetDefaultLogLevel() const{ return m_defaultLogLevel; }
/**
* <p>The default log level.</p>
*/
inline void SetDefaultLogLevel(const LogLevel& value) { m_defaultLogLevel = value; }
/**
* <p>The default log level.</p>
*/
inline void SetDefaultLogLevel(LogLevel&& value) { m_defaultLogLevel = std::move(value); }
/**
* <p>The default log level.</p>
*/
inline GetV2LoggingOptionsResult& WithDefaultLogLevel(const LogLevel& value) { SetDefaultLogLevel(value); return *this;}
/**
* <p>The default log level.</p>
*/
inline GetV2LoggingOptionsResult& WithDefaultLogLevel(LogLevel&& value) { SetDefaultLogLevel(std::move(value)); return *this;}
/**
* <p>Disables all logs.</p>
*/
inline bool GetDisableAllLogs() const{ return m_disableAllLogs; }
/**
* <p>Disables all logs.</p>
*/
inline void SetDisableAllLogs(bool value) { m_disableAllLogs = value; }
/**
* <p>Disables all logs.</p>
*/
inline GetV2LoggingOptionsResult& WithDisableAllLogs(bool value) { SetDisableAllLogs(value); return *this;}
private:
Aws::String m_roleArn;
LogLevel m_defaultLogLevel;
bool m_disableAllLogs;
};
} // namespace Model
} // namespace IoT
} // namespace Aws