/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The log delivery option to send data to Amazon CloudWatch Logs.See
* Also:
AWS
* API Reference
The type of log to send data to Amazon CloudWatch Logs.
*/ inline const LogType& GetLogType() const{ return m_logType; } /** *The type of log to send data to Amazon CloudWatch Logs.
*/ inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; } /** *The type of log to send data to Amazon CloudWatch Logs.
*/ inline void SetLogType(const LogType& value) { m_logTypeHasBeenSet = true; m_logType = value; } /** *The type of log to send data to Amazon CloudWatch Logs.
*/ inline void SetLogType(LogType&& value) { m_logTypeHasBeenSet = true; m_logType = std::move(value); } /** *The type of log to send data to Amazon CloudWatch Logs.
*/ inline CloudWatchLogDeliveryOptions& WithLogType(const LogType& value) { SetLogType(value); return *this;} /** *The type of log to send data to Amazon CloudWatch Logs.
*/ inline CloudWatchLogDeliveryOptions& WithLogType(LogType&& value) { SetLogType(std::move(value)); return *this;} /** *The Amazon CloudWatch Logs group the operation sends data to.
*/ inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; } /** *The Amazon CloudWatch Logs group the operation sends data to.
*/ inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; } /** *The Amazon CloudWatch Logs group the operation sends data to.
*/ inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; } /** *The Amazon CloudWatch Logs group the operation sends data to.
*/ inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); } /** *The Amazon CloudWatch Logs group the operation sends data to.
*/ inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); } /** *The Amazon CloudWatch Logs group the operation sends data to.
*/ inline CloudWatchLogDeliveryOptions& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;} /** *The Amazon CloudWatch Logs group the operation sends data to.
*/ inline CloudWatchLogDeliveryOptions& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;} /** *The Amazon CloudWatch Logs group the operation sends data to.
*/ inline CloudWatchLogDeliveryOptions& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;} private: LogType m_logType; bool m_logTypeHasBeenSet = false; Aws::String m_logGroupName; bool m_logGroupNameHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws