AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KinesisStreamSourceConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_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 Firehose
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetKinesisStreamARN() const{ return m_kinesisStreamARN; }
48 inline bool KinesisStreamARNHasBeenSet() const { return m_kinesisStreamARNHasBeenSet; }
49 inline void SetKinesisStreamARN(const Aws::String& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = value; }
50 inline void SetKinesisStreamARN(Aws::String&& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = std::move(value); }
51 inline void SetKinesisStreamARN(const char* value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN.assign(value); }
53 inline KinesisStreamSourceConfiguration& WithKinesisStreamARN(Aws::String&& value) { SetKinesisStreamARN(std::move(value)); return *this;}
54 inline KinesisStreamSourceConfiguration& WithKinesisStreamARN(const char* value) { SetKinesisStreamARN(value); return *this;}
56
58
64 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
65 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
66 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
67 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
68 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
69 inline KinesisStreamSourceConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
70 inline KinesisStreamSourceConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
71 inline KinesisStreamSourceConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
73 private:
74
75 Aws::String m_kinesisStreamARN;
76 bool m_kinesisStreamARNHasBeenSet = false;
77
78 Aws::String m_roleARN;
79 bool m_roleARNHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Firehose
84} // namespace Aws
AWS_FIREHOSE_API KinesisStreamSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
KinesisStreamSourceConfiguration & WithRoleARN(Aws::String &&value)
KinesisStreamSourceConfiguration & WithRoleARN(const Aws::String &value)
KinesisStreamSourceConfiguration & WithKinesisStreamARN(Aws::String &&value)
KinesisStreamSourceConfiguration & WithKinesisStreamARN(const Aws::String &value)
KinesisStreamSourceConfiguration & WithKinesisStreamARN(const char *value)
AWS_FIREHOSE_API KinesisStreamSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
KinesisStreamSourceConfiguration & WithRoleARN(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue