AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLogStreamARN(const Aws::String& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = value; }
49 inline void SetLogStreamARN(Aws::String&& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = std::move(value); }
50 inline void SetLogStreamARN(const char* value) { m_logStreamARNHasBeenSet = true; m_logStreamARN.assign(value); }
51 inline CloudWatchLoggingOption& WithLogStreamARN(const Aws::String& value) { SetLogStreamARN(value); return *this;}
52 inline CloudWatchLoggingOption& WithLogStreamARN(Aws::String&& value) { SetLogStreamARN(std::move(value)); return *this;}
53 inline CloudWatchLoggingOption& WithLogStreamARN(const char* value) { SetLogStreamARN(value); return *this;}
55
57
62 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
63 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
64 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
65 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
66 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
67 inline CloudWatchLoggingOption& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
68 inline CloudWatchLoggingOption& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
69 inline CloudWatchLoggingOption& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
71 private:
72
73 Aws::String m_logStreamARN;
74 bool m_logStreamARNHasBeenSet = false;
75
76 Aws::String m_roleARN;
77 bool m_roleARNHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace KinesisAnalytics
82} // namespace Aws
AWS_KINESISANALYTICS_API CloudWatchLoggingOption & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLoggingOption & WithLogStreamARN(const Aws::String &value)
CloudWatchLoggingOption & WithRoleARN(const Aws::String &value)
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICS_API CloudWatchLoggingOption(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLoggingOption & WithLogStreamARN(Aws::String &&value)
CloudWatchLoggingOption & WithRoleARN(const char *value)
CloudWatchLoggingOption & WithLogStreamARN(const char *value)
CloudWatchLoggingOption & WithRoleARN(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue