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/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_KINESISANALYTICS_API CloudWatchLoggingOptionDescription();
37 AWS_KINESISANALYTICS_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
58 inline const Aws::String& GetLogStreamARN() const{ return m_logStreamARN; }
59 inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; }
60 inline void SetLogStreamARN(const Aws::String& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = value; }
61 inline void SetLogStreamARN(Aws::String&& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = std::move(value); }
62 inline void SetLogStreamARN(const char* value) { m_logStreamARNHasBeenSet = true; m_logStreamARN.assign(value); }
64 inline CloudWatchLoggingOptionDescription& WithLogStreamARN(Aws::String&& value) { SetLogStreamARN(std::move(value)); return *this;}
65 inline CloudWatchLoggingOptionDescription& WithLogStreamARN(const char* value) { SetLogStreamARN(value); return *this;}
67
69
74 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
75 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
76 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
77 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
78 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
79 inline CloudWatchLoggingOptionDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
80 inline CloudWatchLoggingOptionDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
81 inline CloudWatchLoggingOptionDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
83 private:
84
85 Aws::String m_cloudWatchLoggingOptionId;
86 bool m_cloudWatchLoggingOptionIdHasBeenSet = false;
87
88 Aws::String m_logStreamARN;
89 bool m_logStreamARNHasBeenSet = false;
90
91 Aws::String m_roleARN;
92 bool m_roleARNHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace KinesisAnalytics
97} // namespace Aws
AWS_KINESISANALYTICS_API CloudWatchLoggingOptionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLoggingOptionDescription & WithLogStreamARN(Aws::String &&value)
CloudWatchLoggingOptionDescription & WithLogStreamARN(const Aws::String &value)
CloudWatchLoggingOptionDescription & WithCloudWatchLoggingOptionId(Aws::String &&value)
CloudWatchLoggingOptionDescription & WithRoleARN(const Aws::String &value)
CloudWatchLoggingOptionDescription & WithCloudWatchLoggingOptionId(const Aws::String &value)
CloudWatchLoggingOptionDescription & WithCloudWatchLoggingOptionId(const char *value)
CloudWatchLoggingOptionDescription & WithLogStreamARN(const char *value)
CloudWatchLoggingOptionDescription & WithRoleARN(Aws::String &&value)
CloudWatchLoggingOptionDescription & WithRoleARN(const char *value)
AWS_KINESISANALYTICS_API CloudWatchLoggingOptionDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue