AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CloudWatchLogDeliveryOptions.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/model/LogType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTFleetWise
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTFLEETWISE_API CloudWatchLogDeliveryOptions() = default;
39 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline LogType GetLogType() const { return m_logType; }
47 inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; }
48 inline void SetLogType(LogType value) { m_logTypeHasBeenSet = true; m_logType = value; }
49 inline CloudWatchLogDeliveryOptions& WithLogType(LogType value) { SetLogType(value); return *this;}
51
53
56 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
57 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
58 template<typename LogGroupNameT = Aws::String>
59 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::forward<LogGroupNameT>(value); }
60 template<typename LogGroupNameT = Aws::String>
61 CloudWatchLogDeliveryOptions& WithLogGroupName(LogGroupNameT&& value) { SetLogGroupName(std::forward<LogGroupNameT>(value)); return *this;}
63 private:
64
65 LogType m_logType{LogType::NOT_SET};
66 bool m_logTypeHasBeenSet = false;
67
68 Aws::String m_logGroupName;
69 bool m_logGroupNameHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoTFleetWise
74} // namespace Aws
AWS_IOTFLEETWISE_API CloudWatchLogDeliveryOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API CloudWatchLogDeliveryOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API CloudWatchLogDeliveryOptions()=default
CloudWatchLogDeliveryOptions & WithLogGroupName(LogGroupNameT &&value)
CloudWatchLogDeliveryOptions & WithLogType(LogType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue