AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudWatchOutputConfig.h
1
6#pragma once
7#include <aws/ssm/SSM_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 SSM
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
49 inline const Aws::String& GetCloudWatchLogGroupName() const{ return m_cloudWatchLogGroupName; }
50 inline bool CloudWatchLogGroupNameHasBeenSet() const { return m_cloudWatchLogGroupNameHasBeenSet; }
51 inline void SetCloudWatchLogGroupName(const Aws::String& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = value; }
52 inline void SetCloudWatchLogGroupName(Aws::String&& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = std::move(value); }
53 inline void SetCloudWatchLogGroupName(const char* value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName.assign(value); }
56 inline CloudWatchOutputConfig& WithCloudWatchLogGroupName(const char* value) { SetCloudWatchLogGroupName(value); return *this;}
58
60
63 inline bool GetCloudWatchOutputEnabled() const{ return m_cloudWatchOutputEnabled; }
64 inline bool CloudWatchOutputEnabledHasBeenSet() const { return m_cloudWatchOutputEnabledHasBeenSet; }
65 inline void SetCloudWatchOutputEnabled(bool value) { m_cloudWatchOutputEnabledHasBeenSet = true; m_cloudWatchOutputEnabled = value; }
68 private:
69
70 Aws::String m_cloudWatchLogGroupName;
71 bool m_cloudWatchLogGroupNameHasBeenSet = false;
72
73 bool m_cloudWatchOutputEnabled;
74 bool m_cloudWatchOutputEnabledHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SSM
79} // namespace Aws
CloudWatchOutputConfig & WithCloudWatchLogGroupName(const Aws::String &value)
CloudWatchOutputConfig & WithCloudWatchLogGroupName(Aws::String &&value)
AWS_SSM_API CloudWatchOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API CloudWatchOutputConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCloudWatchLogGroupName() const
CloudWatchOutputConfig & WithCloudWatchOutputEnabled(bool value)
void SetCloudWatchLogGroupName(Aws::String &&value)
void SetCloudWatchLogGroupName(const Aws::String &value)
CloudWatchOutputConfig & WithCloudWatchLogGroupName(const char *value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue