AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CloudWatchLoggingOptionUpdate.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
28 public:
29 AWS_KINESISANALYTICS_API CloudWatchLoggingOptionUpdate() = default;
30 AWS_KINESISANALYTICS_API CloudWatchLoggingOptionUpdate(Aws::Utils::Json::JsonView jsonValue);
32 AWS_KINESISANALYTICS_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>
46 CloudWatchLoggingOptionUpdate& WithCloudWatchLoggingOptionId(CloudWatchLoggingOptionIdT&& value) {
47 SetCloudWatchLoggingOptionId(std::forward<CloudWatchLoggingOptionIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetLogStreamARNUpdate() const { return m_logStreamARNUpdate; }
57 inline bool LogStreamARNUpdateHasBeenSet() const { return m_logStreamARNUpdateHasBeenSet; }
58 template <typename LogStreamARNUpdateT = Aws::String>
59 void SetLogStreamARNUpdate(LogStreamARNUpdateT&& value) {
60 m_logStreamARNUpdateHasBeenSet = true;
61 m_logStreamARNUpdate = std::forward<LogStreamARNUpdateT>(value);
62 }
63 template <typename LogStreamARNUpdateT = Aws::String>
65 SetLogStreamARNUpdate(std::forward<LogStreamARNUpdateT>(value));
66 return *this;
67 }
69
71
76 inline const Aws::String& GetRoleARNUpdate() const { return m_roleARNUpdate; }
77 inline bool RoleARNUpdateHasBeenSet() const { return m_roleARNUpdateHasBeenSet; }
78 template <typename RoleARNUpdateT = Aws::String>
79 void SetRoleARNUpdate(RoleARNUpdateT&& value) {
80 m_roleARNUpdateHasBeenSet = true;
81 m_roleARNUpdate = std::forward<RoleARNUpdateT>(value);
82 }
83 template <typename RoleARNUpdateT = Aws::String>
85 SetRoleARNUpdate(std::forward<RoleARNUpdateT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_cloudWatchLoggingOptionId;
91
92 Aws::String m_logStreamARNUpdate;
93
94 Aws::String m_roleARNUpdate;
95 bool m_cloudWatchLoggingOptionIdHasBeenSet = false;
96 bool m_logStreamARNUpdateHasBeenSet = false;
97 bool m_roleARNUpdateHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace KinesisAnalytics
102} // namespace Aws
AWS_KINESISANALYTICS_API CloudWatchLoggingOptionUpdate(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLoggingOptionUpdate & WithRoleARNUpdate(RoleARNUpdateT &&value)
AWS_KINESISANALYTICS_API CloudWatchLoggingOptionUpdate()=default
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
CloudWatchLoggingOptionUpdate & WithLogStreamARNUpdate(LogStreamARNUpdateT &&value)
AWS_KINESISANALYTICS_API CloudWatchLoggingOptionUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLoggingOptionUpdate & WithCloudWatchLoggingOptionId(CloudWatchLoggingOptionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue