AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceDescription.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/KinesisStreamSourceDescription.h>
9#include <aws/firehose/model/MSKSourceDescription.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Firehose
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FIREHOSE_API SourceDescription();
37 AWS_FIREHOSE_API SourceDescription(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const KinesisStreamSourceDescription& GetKinesisStreamSourceDescription() const{ return m_kinesisStreamSourceDescription; }
48 inline bool KinesisStreamSourceDescriptionHasBeenSet() const { return m_kinesisStreamSourceDescriptionHasBeenSet; }
49 inline void SetKinesisStreamSourceDescription(const KinesisStreamSourceDescription& value) { m_kinesisStreamSourceDescriptionHasBeenSet = true; m_kinesisStreamSourceDescription = value; }
50 inline void SetKinesisStreamSourceDescription(KinesisStreamSourceDescription&& value) { m_kinesisStreamSourceDescriptionHasBeenSet = true; m_kinesisStreamSourceDescription = std::move(value); }
54
56
60 inline const MSKSourceDescription& GetMSKSourceDescription() const{ return m_mSKSourceDescription; }
61 inline bool MSKSourceDescriptionHasBeenSet() const { return m_mSKSourceDescriptionHasBeenSet; }
62 inline void SetMSKSourceDescription(const MSKSourceDescription& value) { m_mSKSourceDescriptionHasBeenSet = true; m_mSKSourceDescription = value; }
63 inline void SetMSKSourceDescription(MSKSourceDescription&& value) { m_mSKSourceDescriptionHasBeenSet = true; m_mSKSourceDescription = std::move(value); }
67 private:
68
69 KinesisStreamSourceDescription m_kinesisStreamSourceDescription;
70 bool m_kinesisStreamSourceDescriptionHasBeenSet = false;
71
72 MSKSourceDescription m_mSKSourceDescription;
73 bool m_mSKSourceDescriptionHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Firehose
78} // namespace Aws
SourceDescription & WithMSKSourceDescription(const MSKSourceDescription &value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMSKSourceDescription(MSKSourceDescription &&value)
AWS_FIREHOSE_API SourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceDescription & WithKinesisStreamSourceDescription(const KinesisStreamSourceDescription &value)
const MSKSourceDescription & GetMSKSourceDescription() const
void SetMSKSourceDescription(const MSKSourceDescription &value)
void SetKinesisStreamSourceDescription(KinesisStreamSourceDescription &&value)
AWS_FIREHOSE_API SourceDescription(Aws::Utils::Json::JsonView jsonValue)
void SetKinesisStreamSourceDescription(const KinesisStreamSourceDescription &value)
SourceDescription & WithKinesisStreamSourceDescription(KinesisStreamSourceDescription &&value)
const KinesisStreamSourceDescription & GetKinesisStreamSourceDescription() const
SourceDescription & WithMSKSourceDescription(MSKSourceDescription &&value)
Aws::Utils::Json::JsonValue JsonValue