AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CloudWatchLoggingOptionDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KinesisAnalyticsV2 {
20namespace Model {
21
28 public:
29 AWS_KINESISANALYTICSV2_API CloudWatchLoggingOptionDescription() = default;
32 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetCloudWatchLoggingOptionId() const { return m_cloudWatchLoggingOptionId; }
39 inline bool CloudWatchLoggingOptionIdHasBeenSet() const { return m_cloudWatchLoggingOptionIdHasBeenSet; }
40 template <typename CloudWatchLoggingOptionIdT = Aws::String>
41 void SetCloudWatchLoggingOptionId(CloudWatchLoggingOptionIdT&& value) {
42 m_cloudWatchLoggingOptionIdHasBeenSet = true;
43 m_cloudWatchLoggingOptionId = std::forward<CloudWatchLoggingOptionIdT>(value);
44 }
45 template <typename CloudWatchLoggingOptionIdT = Aws::String>
47 SetCloudWatchLoggingOptionId(std::forward<CloudWatchLoggingOptionIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetLogStreamARN() const { return m_logStreamARN; }
58 inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; }
59 template <typename LogStreamARNT = Aws::String>
60 void SetLogStreamARN(LogStreamARNT&& value) {
61 m_logStreamARNHasBeenSet = true;
62 m_logStreamARN = std::forward<LogStreamARNT>(value);
63 }
64 template <typename LogStreamARNT = Aws::String>
66 SetLogStreamARN(std::forward<LogStreamARNT>(value));
67 return *this;
68 }
70
72
78 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
79 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
80 template <typename RoleARNT = Aws::String>
81 void SetRoleARN(RoleARNT&& value) {
82 m_roleARNHasBeenSet = true;
83 m_roleARN = std::forward<RoleARNT>(value);
84 }
85 template <typename RoleARNT = Aws::String>
87 SetRoleARN(std::forward<RoleARNT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_cloudWatchLoggingOptionId;
93
94 Aws::String m_logStreamARN;
95
96 Aws::String m_roleARN;
97 bool m_cloudWatchLoggingOptionIdHasBeenSet = false;
98 bool m_logStreamARNHasBeenSet = false;
99 bool m_roleARNHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace KinesisAnalyticsV2
104} // namespace Aws
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CloudWatchLoggingOptionDescription & WithLogStreamARN(LogStreamARNT &&value)
CloudWatchLoggingOptionDescription & WithCloudWatchLoggingOptionId(CloudWatchLoggingOptionIdT &&value)
AWS_KINESISANALYTICSV2_API CloudWatchLoggingOptionDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API CloudWatchLoggingOptionDescription()=default
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