AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Bucket(const S3Bucket& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
49 inline void SetS3Bucket(S3Bucket&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
50 inline Destination& WithS3Bucket(const S3Bucket& value) { SetS3Bucket(value); return *this;}
51 inline Destination& WithS3Bucket(S3Bucket&& value) { SetS3Bucket(std::move(value)); return *this;}
53
55
59 inline const FirehoseStream& GetFirehoseStream() const{ return m_firehoseStream; }
60 inline bool FirehoseStreamHasBeenSet() const { return m_firehoseStreamHasBeenSet; }
61 inline void SetFirehoseStream(const FirehoseStream& value) { m_firehoseStreamHasBeenSet = true; m_firehoseStream = value; }
62 inline void SetFirehoseStream(FirehoseStream&& value) { m_firehoseStreamHasBeenSet = true; m_firehoseStream = std::move(value); }
63 inline Destination& WithFirehoseStream(const FirehoseStream& value) { SetFirehoseStream(value); return *this;}
64 inline Destination& WithFirehoseStream(FirehoseStream&& value) { SetFirehoseStream(std::move(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
void SetFirehoseStream(const FirehoseStream &value)
Definition Destination.h:61
AWS_APPFABRIC_API Destination(Aws::Utils::Json::JsonView jsonValue)
const FirehoseStream & GetFirehoseStream() const
Definition Destination.h:59
Destination & WithS3Bucket(S3Bucket &&value)
Definition Destination.h:51
Destination & WithFirehoseStream(const FirehoseStream &value)
Definition Destination.h:63
Destination & WithS3Bucket(const S3Bucket &value)
Definition Destination.h:50
void SetFirehoseStream(FirehoseStream &&value)
Definition Destination.h:62
AWS_APPFABRIC_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3Bucket & GetS3Bucket() const
Definition Destination.h:46
void SetS3Bucket(S3Bucket &&value)
Definition Destination.h:49
Destination & WithFirehoseStream(FirehoseStream &&value)
Definition Destination.h:64
void SetS3Bucket(const S3Bucket &value)
Definition Destination.h:48
Aws::Utils::Json::JsonValue JsonValue