AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CloudWatchLoggingOptionIdT = Aws::String>
47 void SetCloudWatchLoggingOptionId(CloudWatchLoggingOptionIdT&& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = std::forward<CloudWatchLoggingOptionIdT>(value); }
48 template<typename CloudWatchLoggingOptionIdT = Aws::String>
49 CloudWatchLoggingOptionDescription& WithCloudWatchLoggingOptionId(CloudWatchLoggingOptionIdT&& value) { SetCloudWatchLoggingOptionId(std::forward<CloudWatchLoggingOptionIdT>(value)); return *this;}
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) { m_logStreamARNHasBeenSet = true; m_logStreamARN = std::forward<LogStreamARNT>(value); }
61 template<typename LogStreamARNT = Aws::String>
62 CloudWatchLoggingOptionDescription& WithLogStreamARN(LogStreamARNT&& value) { SetLogStreamARN(std::forward<LogStreamARNT>(value)); return *this;}
64
66
72 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
73 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
74 template<typename RoleARNT = Aws::String>
75 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
76 template<typename RoleARNT = Aws::String>
77 CloudWatchLoggingOptionDescription& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
79 private:
80
81 Aws::String m_cloudWatchLoggingOptionId;
82 bool m_cloudWatchLoggingOptionIdHasBeenSet = false;
83
84 Aws::String m_logStreamARN;
85 bool m_logStreamARNHasBeenSet = false;
86
87 Aws::String m_roleARN;
88 bool m_roleARNHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace KinesisAnalyticsV2
93} // 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