AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Destination.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/model/FirehoseStream.h>
9#include <aws/appfabric/model/S3Bucket.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AppFabric {
21namespace Model {
22
30 public:
31 AWS_APPFABRIC_API Destination() = default;
32 AWS_APPFABRIC_API Destination(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPFABRIC_API Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const S3Bucket& GetS3Bucket() const { return m_s3Bucket; }
41 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
42 template <typename S3BucketT = S3Bucket>
43 void SetS3Bucket(S3BucketT&& value) {
44 m_s3BucketHasBeenSet = true;
45 m_s3Bucket = std::forward<S3BucketT>(value);
46 }
47 template <typename S3BucketT = S3Bucket>
48 Destination& WithS3Bucket(S3BucketT&& value) {
49 SetS3Bucket(std::forward<S3BucketT>(value));
50 return *this;
51 }
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) {
63 m_firehoseStreamHasBeenSet = true;
64 m_firehoseStream = std::forward<FirehoseStreamT>(value);
65 }
66 template <typename FirehoseStreamT = FirehoseStream>
67 Destination& WithFirehoseStream(FirehoseStreamT&& value) {
68 SetFirehoseStream(std::forward<FirehoseStreamT>(value));
69 return *this;
70 }
72 private:
73 S3Bucket m_s3Bucket;
74
75 FirehoseStream m_firehoseStream;
76 bool m_s3BucketHasBeenSet = false;
77 bool m_firehoseStreamHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace AppFabric
82} // 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:43
AWS_APPFABRIC_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3Bucket & GetS3Bucket() const
Definition Destination.h:40
Destination & WithFirehoseStream(FirehoseStreamT &&value)
Definition Destination.h:67
Destination & WithS3Bucket(S3BucketT &&value)
Definition Destination.h:48
Aws::Utils::Json::JsonValue JsonValue