AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CloudWatchLoggingOption.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
34 {
35 public:
36 AWS_KINESISANALYTICS_API CloudWatchLoggingOption() = default;
37 AWS_KINESISANALYTICS_API CloudWatchLoggingOption(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICS_API CloudWatchLoggingOption& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetLogStreamARN() const { return m_logStreamARN; }
47 inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; }
48 template<typename LogStreamARNT = Aws::String>
49 void SetLogStreamARN(LogStreamARNT&& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = std::forward<LogStreamARNT>(value); }
50 template<typename LogStreamARNT = Aws::String>
51 CloudWatchLoggingOption& WithLogStreamARN(LogStreamARNT&& value) { SetLogStreamARN(std::forward<LogStreamARNT>(value)); return *this;}
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) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
64 template<typename RoleARNT = Aws::String>
65 CloudWatchLoggingOption& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
67 private:
68
69 Aws::String m_logStreamARN;
70 bool m_logStreamARNHasBeenSet = false;
71
72 Aws::String m_roleARN;
73 bool m_roleARNHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace KinesisAnalytics
78} // 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