AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TextLogDestination.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/CloudWatchLogGroupLogDestination.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LEXMODELSV2_API TextLogDestination() = default;
36 AWS_LEXMODELSV2_API TextLogDestination(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const CloudWatchLogGroupLogDestination& GetCloudWatch() const { return m_cloudWatch; }
47 inline bool CloudWatchHasBeenSet() const { return m_cloudWatchHasBeenSet; }
48 template<typename CloudWatchT = CloudWatchLogGroupLogDestination>
49 void SetCloudWatch(CloudWatchT&& value) { m_cloudWatchHasBeenSet = true; m_cloudWatch = std::forward<CloudWatchT>(value); }
50 template<typename CloudWatchT = CloudWatchLogGroupLogDestination>
51 TextLogDestination& WithCloudWatch(CloudWatchT&& value) { SetCloudWatch(std::forward<CloudWatchT>(value)); return *this;}
53 private:
54
56 bool m_cloudWatchHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace LexModelsV2
61} // namespace Aws
AWS_LEXMODELSV2_API TextLogDestination()=default
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const CloudWatchLogGroupLogDestination & GetCloudWatch() const
AWS_LEXMODELSV2_API TextLogDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
TextLogDestination & WithCloudWatch(CloudWatchT &&value)
AWS_LEXMODELSV2_API TextLogDestination(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue