AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCloudWatchLogGroupArn(const Aws::String& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = value; }
50 inline void SetCloudWatchLogGroupArn(Aws::String&& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = std::move(value); }
51 inline void SetCloudWatchLogGroupArn(const char* value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn.assign(value); }
56
58
62 inline const Aws::String& GetLogPrefix() const{ return m_logPrefix; }
63 inline bool LogPrefixHasBeenSet() const { return m_logPrefixHasBeenSet; }
64 inline void SetLogPrefix(const Aws::String& value) { m_logPrefixHasBeenSet = true; m_logPrefix = value; }
65 inline void SetLogPrefix(Aws::String&& value) { m_logPrefixHasBeenSet = true; m_logPrefix = std::move(value); }
66 inline void SetLogPrefix(const char* value) { m_logPrefixHasBeenSet = true; m_logPrefix.assign(value); }
67 inline CloudWatchLogGroupLogDestination& WithLogPrefix(const Aws::String& value) { SetLogPrefix(value); return *this;}
68 inline CloudWatchLogGroupLogDestination& WithLogPrefix(Aws::String&& value) { SetLogPrefix(std::move(value)); return *this;}
69 inline CloudWatchLogGroupLogDestination& WithLogPrefix(const char* value) { SetLogPrefix(value); return *this;}
71 private:
72
73 Aws::String m_cloudWatchLogGroupArn;
74 bool m_cloudWatchLogGroupArnHasBeenSet = false;
75
76 Aws::String m_logPrefix;
77 bool m_logPrefixHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace LexModelsV2
82} // namespace Aws
CloudWatchLogGroupLogDestination & WithCloudWatchLogGroupArn(Aws::String &&value)
CloudWatchLogGroupLogDestination & WithCloudWatchLogGroupArn(const char *value)
CloudWatchLogGroupLogDestination & WithLogPrefix(Aws::String &&value)
CloudWatchLogGroupLogDestination & WithCloudWatchLogGroupArn(const Aws::String &value)
CloudWatchLogGroupLogDestination & WithLogPrefix(const char *value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API CloudWatchLogGroupLogDestination(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLogGroupLogDestination & WithLogPrefix(const Aws::String &value)
AWS_LEXMODELSV2_API CloudWatchLogGroupLogDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue