1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/firehose/Firehose_EXPORTS.h> 8 #include <aws/firehose/model/KinesisStreamSourceDescription.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 namespace Utils 14 { 15 namespace Json 16 { 17 class JsonValue; 18 class JsonView; 19 } // namespace Json 20 } // namespace Utils 21 namespace Firehose 22 { 23 namespace Model 24 { 25 26 /** 27 * <p>Details about a Kinesis data stream used as the source for a Kinesis Data 28 * Firehose delivery stream.</p><p><h3>See Also:</h3> <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SourceDescription">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_FIREHOSE_API SourceDescription 33 { 34 public: 35 SourceDescription(); 36 SourceDescription(Aws::Utils::Json::JsonView jsonValue); 37 SourceDescription& operator=(Aws::Utils::Json::JsonView jsonValue); 38 Aws::Utils::Json::JsonValue Jsonize() const; 39 40 41 /** 42 * <p>The <a>KinesisStreamSourceDescription</a> value for the source Kinesis data 43 * stream.</p> 44 */ GetKinesisStreamSourceDescription()45 inline const KinesisStreamSourceDescription& GetKinesisStreamSourceDescription() const{ return m_kinesisStreamSourceDescription; } 46 47 /** 48 * <p>The <a>KinesisStreamSourceDescription</a> value for the source Kinesis data 49 * stream.</p> 50 */ KinesisStreamSourceDescriptionHasBeenSet()51 inline bool KinesisStreamSourceDescriptionHasBeenSet() const { return m_kinesisStreamSourceDescriptionHasBeenSet; } 52 53 /** 54 * <p>The <a>KinesisStreamSourceDescription</a> value for the source Kinesis data 55 * stream.</p> 56 */ SetKinesisStreamSourceDescription(const KinesisStreamSourceDescription & value)57 inline void SetKinesisStreamSourceDescription(const KinesisStreamSourceDescription& value) { m_kinesisStreamSourceDescriptionHasBeenSet = true; m_kinesisStreamSourceDescription = value; } 58 59 /** 60 * <p>The <a>KinesisStreamSourceDescription</a> value for the source Kinesis data 61 * stream.</p> 62 */ SetKinesisStreamSourceDescription(KinesisStreamSourceDescription && value)63 inline void SetKinesisStreamSourceDescription(KinesisStreamSourceDescription&& value) { m_kinesisStreamSourceDescriptionHasBeenSet = true; m_kinesisStreamSourceDescription = std::move(value); } 64 65 /** 66 * <p>The <a>KinesisStreamSourceDescription</a> value for the source Kinesis data 67 * stream.</p> 68 */ WithKinesisStreamSourceDescription(const KinesisStreamSourceDescription & value)69 inline SourceDescription& WithKinesisStreamSourceDescription(const KinesisStreamSourceDescription& value) { SetKinesisStreamSourceDescription(value); return *this;} 70 71 /** 72 * <p>The <a>KinesisStreamSourceDescription</a> value for the source Kinesis data 73 * stream.</p> 74 */ WithKinesisStreamSourceDescription(KinesisStreamSourceDescription && value)75 inline SourceDescription& WithKinesisStreamSourceDescription(KinesisStreamSourceDescription&& value) { SetKinesisStreamSourceDescription(std::move(value)); return *this;} 76 77 private: 78 79 KinesisStreamSourceDescription m_kinesisStreamSourceDescription; 80 bool m_kinesisStreamSourceDescriptionHasBeenSet; 81 }; 82 83 } // namespace Model 84 } // namespace Firehose 85 } // namespace Aws 86