AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CloudWatchLogGroupLogDestination.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
34 {
35 public:
36 AWS_LEXMODELSV2_API CloudWatchLogGroupLogDestination() = default;
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCloudWatchLogGroupArn() const { return m_cloudWatchLogGroupArn; }
48 inline bool CloudWatchLogGroupArnHasBeenSet() const { return m_cloudWatchLogGroupArnHasBeenSet; }
49 template<typename CloudWatchLogGroupArnT = Aws::String>
50 void SetCloudWatchLogGroupArn(CloudWatchLogGroupArnT&& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = std::forward<CloudWatchLogGroupArnT>(value); }
51 template<typename CloudWatchLogGroupArnT = Aws::String>
52 CloudWatchLogGroupLogDestination& WithCloudWatchLogGroupArn(CloudWatchLogGroupArnT&& value) { SetCloudWatchLogGroupArn(std::forward<CloudWatchLogGroupArnT>(value)); return *this;}
54
56
60 inline const Aws::String& GetLogPrefix() const { return m_logPrefix; }
61 inline bool LogPrefixHasBeenSet() const { return m_logPrefixHasBeenSet; }
62 template<typename LogPrefixT = Aws::String>
63 void SetLogPrefix(LogPrefixT&& value) { m_logPrefixHasBeenSet = true; m_logPrefix = std::forward<LogPrefixT>(value); }
64 template<typename LogPrefixT = Aws::String>
65 CloudWatchLogGroupLogDestination& WithLogPrefix(LogPrefixT&& value) { SetLogPrefix(std::forward<LogPrefixT>(value)); return *this;}
67 private:
68
69 Aws::String m_cloudWatchLogGroupArn;
70 bool m_cloudWatchLogGroupArnHasBeenSet = false;
71
72 Aws::String m_logPrefix;
73 bool m_logPrefixHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LexModelsV2
78} // namespace Aws
AWS_LEXMODELSV2_API CloudWatchLogGroupLogDestination()=default
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API CloudWatchLogGroupLogDestination(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLogGroupLogDestination & WithLogPrefix(LogPrefixT &&value)
AWS_LEXMODELSV2_API CloudWatchLogGroupLogDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLogGroupLogDestination & WithCloudWatchLogGroupArn(CloudWatchLogGroupArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue