AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCloudWatch(const CloudWatchLogGroupLogDestination& value) { m_cloudWatchHasBeenSet = true; m_cloudWatch = value; }
49 inline void SetCloudWatch(CloudWatchLogGroupLogDestination&& value) { m_cloudWatchHasBeenSet = true; m_cloudWatch = std::move(value); }
51 inline TextLogDestination& WithCloudWatch(CloudWatchLogGroupLogDestination&& value) { SetCloudWatch(std::move(value)); return *this;}
53 private:
54
56 bool m_cloudWatchHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace LexModelsV2
61} // namespace Aws
void SetCloudWatch(const CloudWatchLogGroupLogDestination &value)
void SetCloudWatch(CloudWatchLogGroupLogDestination &&value)
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(CloudWatchLogGroupLogDestination &&value)
TextLogDestination & WithCloudWatch(const CloudWatchLogGroupLogDestination &value)
AWS_LEXMODELSV2_API TextLogDestination(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue