AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DestinationConfiguration.h
1
6#pragma once
7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/ivschat/model/S3DestinationConfiguration.h>
9#include <aws/ivschat/model/CloudWatchLogsDestinationConfiguration.h>
10#include <aws/ivschat/model/FirehoseDestinationConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ivschat
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_IVSCHAT_API DestinationConfiguration();
42 AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const S3DestinationConfiguration& GetS3() const{ return m_s3; }
51 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
52 inline void SetS3(const S3DestinationConfiguration& value) { m_s3HasBeenSet = true; m_s3 = value; }
53 inline void SetS3(S3DestinationConfiguration&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
54 inline DestinationConfiguration& WithS3(const S3DestinationConfiguration& value) { SetS3(value); return *this;}
55 inline DestinationConfiguration& WithS3(S3DestinationConfiguration&& value) { SetS3(std::move(value)); return *this;}
57
59
63 inline const CloudWatchLogsDestinationConfiguration& GetCloudWatchLogs() const{ return m_cloudWatchLogs; }
64 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
65 inline void SetCloudWatchLogs(const CloudWatchLogsDestinationConfiguration& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = value; }
66 inline void SetCloudWatchLogs(CloudWatchLogsDestinationConfiguration&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::move(value); }
70
72
76 inline const FirehoseDestinationConfiguration& GetFirehose() const{ return m_firehose; }
77 inline bool FirehoseHasBeenSet() const { return m_firehoseHasBeenSet; }
78 inline void SetFirehose(const FirehoseDestinationConfiguration& value) { m_firehoseHasBeenSet = true; m_firehose = value; }
79 inline void SetFirehose(FirehoseDestinationConfiguration&& value) { m_firehoseHasBeenSet = true; m_firehose = std::move(value); }
81 inline DestinationConfiguration& WithFirehose(FirehoseDestinationConfiguration&& value) { SetFirehose(std::move(value)); return *this;}
83 private:
84
86 bool m_s3HasBeenSet = false;
87
89 bool m_cloudWatchLogsHasBeenSet = false;
90
92 bool m_firehoseHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ivschat
97} // namespace Aws
DestinationConfiguration & WithCloudWatchLogs(const CloudWatchLogsDestinationConfiguration &value)
DestinationConfiguration & WithS3(const S3DestinationConfiguration &value)
AWS_IVSCHAT_API DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
const FirehoseDestinationConfiguration & GetFirehose() const
void SetS3(S3DestinationConfiguration &&value)
void SetFirehose(const FirehoseDestinationConfiguration &value)
void SetCloudWatchLogs(CloudWatchLogsDestinationConfiguration &&value)
void SetS3(const S3DestinationConfiguration &value)
AWS_IVSCHAT_API DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationConfiguration & WithFirehose(FirehoseDestinationConfiguration &&value)
AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCloudWatchLogs(const CloudWatchLogsDestinationConfiguration &value)
DestinationConfiguration & WithFirehose(const FirehoseDestinationConfiguration &value)
DestinationConfiguration & WithS3(S3DestinationConfiguration &&value)
DestinationConfiguration & WithCloudWatchLogs(CloudWatchLogsDestinationConfiguration &&value)
const S3DestinationConfiguration & GetS3() const
const CloudWatchLogsDestinationConfiguration & GetCloudWatchLogs() const
void SetFirehose(FirehoseDestinationConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue