AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API TextLogDestination() = default;
31 AWS_LEXMODELSV2_API TextLogDestination(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const CloudWatchLogGroupLogDestination& GetCloudWatch() const { return m_cloudWatch; }
41 inline bool CloudWatchHasBeenSet() const { return m_cloudWatchHasBeenSet; }
42 template <typename CloudWatchT = CloudWatchLogGroupLogDestination>
43 void SetCloudWatch(CloudWatchT&& value) {
44 m_cloudWatchHasBeenSet = true;
45 m_cloudWatch = std::forward<CloudWatchT>(value);
46 }
47 template <typename CloudWatchT = CloudWatchLogGroupLogDestination>
48 TextLogDestination& WithCloudWatch(CloudWatchT&& value) {
49 SetCloudWatch(std::forward<CloudWatchT>(value));
50 return *this;
51 }
53 private:
55 bool m_cloudWatchHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace LexModelsV2
60} // 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