AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudWatchMonitoringConfiguration.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_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 EMRContainers
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EMRCONTAINERS_API CloudWatchMonitoringConfiguration();
38 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
46 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
47 inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; }
48 inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); }
49 inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); }
51 inline CloudWatchMonitoringConfiguration& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
52 inline CloudWatchMonitoringConfiguration& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
54
56
59 inline const Aws::String& GetLogStreamNamePrefix() const{ return m_logStreamNamePrefix; }
60 inline bool LogStreamNamePrefixHasBeenSet() const { return m_logStreamNamePrefixHasBeenSet; }
61 inline void SetLogStreamNamePrefix(const Aws::String& value) { m_logStreamNamePrefixHasBeenSet = true; m_logStreamNamePrefix = value; }
62 inline void SetLogStreamNamePrefix(Aws::String&& value) { m_logStreamNamePrefixHasBeenSet = true; m_logStreamNamePrefix = std::move(value); }
63 inline void SetLogStreamNamePrefix(const char* value) { m_logStreamNamePrefixHasBeenSet = true; m_logStreamNamePrefix.assign(value); }
66 inline CloudWatchMonitoringConfiguration& WithLogStreamNamePrefix(const char* value) { SetLogStreamNamePrefix(value); return *this;}
68 private:
69
70 Aws::String m_logGroupName;
71 bool m_logGroupNameHasBeenSet = false;
72
73 Aws::String m_logStreamNamePrefix;
74 bool m_logStreamNamePrefixHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace EMRContainers
79} // namespace Aws
AWS_EMRCONTAINERS_API CloudWatchMonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue)
CloudWatchMonitoringConfiguration & WithLogGroupName(const char *value)
CloudWatchMonitoringConfiguration & WithLogGroupName(const Aws::String &value)
CloudWatchMonitoringConfiguration & WithLogStreamNamePrefix(const Aws::String &value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
CloudWatchMonitoringConfiguration & WithLogStreamNamePrefix(Aws::String &&value)
CloudWatchMonitoringConfiguration & WithLogStreamNamePrefix(const char *value)
CloudWatchMonitoringConfiguration & WithLogGroupName(Aws::String &&value)
AWS_EMRCONTAINERS_API CloudWatchMonitoringConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue