AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportDataSource.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/MetricsDataSource.h>
9#include <aws/sesv2/model/MessageInsightsDataSource.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 SESV2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SESV2_API ExportDataSource();
40 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const MetricsDataSource& GetMetricsDataSource() const{ return m_metricsDataSource; }
46 inline bool MetricsDataSourceHasBeenSet() const { return m_metricsDataSourceHasBeenSet; }
47 inline void SetMetricsDataSource(const MetricsDataSource& value) { m_metricsDataSourceHasBeenSet = true; m_metricsDataSource = value; }
48 inline void SetMetricsDataSource(MetricsDataSource&& value) { m_metricsDataSourceHasBeenSet = true; m_metricsDataSource = std::move(value); }
50 inline ExportDataSource& WithMetricsDataSource(MetricsDataSource&& value) { SetMetricsDataSource(std::move(value)); return *this;}
52
54
55 inline const MessageInsightsDataSource& GetMessageInsightsDataSource() const{ return m_messageInsightsDataSource; }
56 inline bool MessageInsightsDataSourceHasBeenSet() const { return m_messageInsightsDataSourceHasBeenSet; }
57 inline void SetMessageInsightsDataSource(const MessageInsightsDataSource& value) { m_messageInsightsDataSourceHasBeenSet = true; m_messageInsightsDataSource = value; }
58 inline void SetMessageInsightsDataSource(MessageInsightsDataSource&& value) { m_messageInsightsDataSourceHasBeenSet = true; m_messageInsightsDataSource = std::move(value); }
62 private:
63
64 MetricsDataSource m_metricsDataSource;
65 bool m_metricsDataSourceHasBeenSet = false;
66
67 MessageInsightsDataSource m_messageInsightsDataSource;
68 bool m_messageInsightsDataSourceHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SESV2
73} // namespace Aws
AWS_SESV2_API ExportDataSource(Aws::Utils::Json::JsonView jsonValue)
void SetMetricsDataSource(const MetricsDataSource &value)
const MetricsDataSource & GetMetricsDataSource() const
void SetMessageInsightsDataSource(MessageInsightsDataSource &&value)
void SetMetricsDataSource(MetricsDataSource &&value)
ExportDataSource & WithMessageInsightsDataSource(MessageInsightsDataSource &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
ExportDataSource & WithMetricsDataSource(MetricsDataSource &&value)
AWS_SESV2_API ExportDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessageInsightsDataSource(const MessageInsightsDataSource &value)
const MessageInsightsDataSource & GetMessageInsightsDataSource() const
ExportDataSource & WithMessageInsightsDataSource(const MessageInsightsDataSource &value)
ExportDataSource & WithMetricsDataSource(const MetricsDataSource &value)
Aws::Utils::Json::JsonValue JsonValue