AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
CloudWatchLoggingOption.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KinesisAnalytics {
20namespace Model {
21
30 public:
31 AWS_KINESISANALYTICS_API CloudWatchLoggingOption() = default;
32 AWS_KINESISANALYTICS_API CloudWatchLoggingOption(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KINESISANALYTICS_API CloudWatchLoggingOption& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetLogStreamARN() const { return m_logStreamARN; }
41 inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; }
42 template <typename LogStreamARNT = Aws::String>
43 void SetLogStreamARN(LogStreamARNT&& value) {
44 m_logStreamARNHasBeenSet = true;
45 m_logStreamARN = std::forward<LogStreamARNT>(value);
46 }
47 template <typename LogStreamARNT = Aws::String>
48 CloudWatchLoggingOption& WithLogStreamARN(LogStreamARNT&& value) {
49 SetLogStreamARN(std::forward<LogStreamARNT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
61 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
62 template <typename RoleARNT = Aws::String>
63 void SetRoleARN(RoleARNT&& value) {
64 m_roleARNHasBeenSet = true;
65 m_roleARN = std::forward<RoleARNT>(value);
66 }
67 template <typename RoleARNT = Aws::String>
69 SetRoleARN(std::forward<RoleARNT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_logStreamARN;
75
76 Aws::String m_roleARN;
77 bool m_logStreamARNHasBeenSet = false;
78 bool m_roleARNHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace KinesisAnalytics
83} // namespace Aws
CloudWatchLoggingOption & WithRoleARN(RoleARNT &&value)
AWS_KINESISANALYTICS_API CloudWatchLoggingOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICS_API CloudWatchLoggingOption(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLoggingOption & WithLogStreamARN(LogStreamARNT &&value)
AWS_KINESISANALYTICS_API CloudWatchLoggingOption()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue