AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudWatchLoggingOptionDescription.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_KINESISANALYTICSV2_API CloudWatchLoggingOptionDescription();
37 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetCloudWatchLoggingOptionId() const{ return m_cloudWatchLoggingOptionId; }
45 inline bool CloudWatchLoggingOptionIdHasBeenSet() const { return m_cloudWatchLoggingOptionIdHasBeenSet; }
46 inline void SetCloudWatchLoggingOptionId(const Aws::String& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = value; }
47 inline void SetCloudWatchLoggingOptionId(Aws::String&& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = std::move(value); }
48 inline void SetCloudWatchLoggingOptionId(const char* value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId.assign(value); }
53
55
59 inline const Aws::String& GetLogStreamARN() const{ return m_logStreamARN; }
60 inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; }
61 inline void SetLogStreamARN(const Aws::String& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = value; }
62 inline void SetLogStreamARN(Aws::String&& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = std::move(value); }
63 inline void SetLogStreamARN(const char* value) { m_logStreamARNHasBeenSet = true; m_logStreamARN.assign(value); }
65 inline CloudWatchLoggingOptionDescription& WithLogStreamARN(Aws::String&& value) { SetLogStreamARN(std::move(value)); return *this;}
66 inline CloudWatchLoggingOptionDescription& WithLogStreamARN(const char* value) { SetLogStreamARN(value); return *this;}
68
70
76 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
77 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
78 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
79 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
80 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
81 inline CloudWatchLoggingOptionDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
82 inline CloudWatchLoggingOptionDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
83 inline CloudWatchLoggingOptionDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
85 private:
86
87 Aws::String m_cloudWatchLoggingOptionId;
88 bool m_cloudWatchLoggingOptionIdHasBeenSet = false;
89
90 Aws::String m_logStreamARN;
91 bool m_logStreamARNHasBeenSet = false;
92
93 Aws::String m_roleARN;
94 bool m_roleARNHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace KinesisAnalyticsV2
99} // namespace Aws
CloudWatchLoggingOptionDescription & WithRoleARN(const Aws::String &value)
CloudWatchLoggingOptionDescription & WithCloudWatchLoggingOptionId(const char *value)
CloudWatchLoggingOptionDescription & WithCloudWatchLoggingOptionId(const Aws::String &value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CloudWatchLoggingOptionDescription & WithRoleARN(Aws::String &&value)
CloudWatchLoggingOptionDescription & WithCloudWatchLoggingOptionId(Aws::String &&value)
CloudWatchLoggingOptionDescription & WithLogStreamARN(Aws::String &&value)
AWS_KINESISANALYTICSV2_API CloudWatchLoggingOptionDescription(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLoggingOptionDescription & WithLogStreamARN(const Aws::String &value)
CloudWatchLoggingOptionDescription & WithLogStreamARN(const char *value)
AWS_KINESISANALYTICSV2_API CloudWatchLoggingOptionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue