AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Destination.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/model/S3Bucket.h>
9#include <aws/appfabric/model/FirehoseStream.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 AppFabric
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPFABRIC_API Destination() = default;
37 AWS_APPFABRIC_API Destination(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPFABRIC_API Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const S3Bucket& GetS3Bucket() const { return m_s3Bucket; }
47 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
48 template<typename S3BucketT = S3Bucket>
49 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
50 template<typename S3BucketT = S3Bucket>
51 Destination& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
53
55
59 inline const FirehoseStream& GetFirehoseStream() const { return m_firehoseStream; }
60 inline bool FirehoseStreamHasBeenSet() const { return m_firehoseStreamHasBeenSet; }
61 template<typename FirehoseStreamT = FirehoseStream>
62 void SetFirehoseStream(FirehoseStreamT&& value) { m_firehoseStreamHasBeenSet = true; m_firehoseStream = std::forward<FirehoseStreamT>(value); }
63 template<typename FirehoseStreamT = FirehoseStream>
64 Destination& WithFirehoseStream(FirehoseStreamT&& value) { SetFirehoseStream(std::forward<FirehoseStreamT>(value)); return *this;}
66 private:
67
68 S3Bucket m_s3Bucket;
69 bool m_s3BucketHasBeenSet = false;
70
71 FirehoseStream m_firehoseStream;
72 bool m_firehoseStreamHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace AppFabric
77} // namespace Aws
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPFABRIC_API Destination(Aws::Utils::Json::JsonView jsonValue)
const FirehoseStream & GetFirehoseStream() const
Definition Destination.h:59
AWS_APPFABRIC_API Destination()=default
void SetFirehoseStream(FirehoseStreamT &&value)
Definition Destination.h:62
void SetS3Bucket(S3BucketT &&value)
Definition Destination.h:49
AWS_APPFABRIC_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3Bucket & GetS3Bucket() const
Definition Destination.h:46
Destination & WithFirehoseStream(FirehoseStreamT &&value)
Definition Destination.h:64
Destination & WithS3Bucket(S3BucketT &&value)
Definition Destination.h:51
Aws::Utils::Json::JsonValue JsonValue