AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParametricCloudWatchMonitoringConfiguration.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
34 {
35 public:
39 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
47 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
48 inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; }
49 inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); }
50 inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); }
53 inline ParametricCloudWatchMonitoringConfiguration& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
55
57
60 inline const Aws::String& GetLogStreamNamePrefix() const{ return m_logStreamNamePrefix; }
61 inline bool LogStreamNamePrefixHasBeenSet() const { return m_logStreamNamePrefixHasBeenSet; }
62 inline void SetLogStreamNamePrefix(const Aws::String& value) { m_logStreamNamePrefixHasBeenSet = true; m_logStreamNamePrefix = value; }
63 inline void SetLogStreamNamePrefix(Aws::String&& value) { m_logStreamNamePrefixHasBeenSet = true; m_logStreamNamePrefix = std::move(value); }
64 inline void SetLogStreamNamePrefix(const char* value) { m_logStreamNamePrefixHasBeenSet = true; m_logStreamNamePrefix.assign(value); }
69 private:
70
71 Aws::String m_logGroupName;
72 bool m_logGroupNameHasBeenSet = false;
73
74 Aws::String m_logStreamNamePrefix;
75 bool m_logStreamNamePrefixHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EMRContainers
80} // namespace Aws
ParametricCloudWatchMonitoringConfiguration & WithLogStreamNamePrefix(const Aws::String &value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMRCONTAINERS_API ParametricCloudWatchMonitoringConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ParametricCloudWatchMonitoringConfiguration & WithLogGroupName(Aws::String &&value)
ParametricCloudWatchMonitoringConfiguration & WithLogStreamNamePrefix(const char *value)
ParametricCloudWatchMonitoringConfiguration & WithLogStreamNamePrefix(Aws::String &&value)
ParametricCloudWatchMonitoringConfiguration & WithLogGroupName(const char *value)
AWS_EMRCONTAINERS_API ParametricCloudWatchMonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue)
ParametricCloudWatchMonitoringConfiguration & WithLogGroupName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue