AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
NotificationDetails.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/model/DataUpdateRequestDetails.h>
9#include <aws/dataexchange/model/DeprecationRequestDetails.h>
10#include <aws/dataexchange/model/SchemaChangeRequestDetails.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataExchange {
22namespace Model {
23
30 public:
31 AWS_DATAEXCHANGE_API NotificationDetails() = default;
32 AWS_DATAEXCHANGE_API NotificationDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const DataUpdateRequestDetails& GetDataUpdate() const { return m_dataUpdate; }
41 inline bool DataUpdateHasBeenSet() const { return m_dataUpdateHasBeenSet; }
42 template <typename DataUpdateT = DataUpdateRequestDetails>
43 void SetDataUpdate(DataUpdateT&& value) {
44 m_dataUpdateHasBeenSet = true;
45 m_dataUpdate = std::forward<DataUpdateT>(value);
46 }
47 template <typename DataUpdateT = DataUpdateRequestDetails>
48 NotificationDetails& WithDataUpdate(DataUpdateT&& value) {
49 SetDataUpdate(std::forward<DataUpdateT>(value));
50 return *this;
51 }
53
55
58 inline const DeprecationRequestDetails& GetDeprecation() const { return m_deprecation; }
59 inline bool DeprecationHasBeenSet() const { return m_deprecationHasBeenSet; }
60 template <typename DeprecationT = DeprecationRequestDetails>
61 void SetDeprecation(DeprecationT&& value) {
62 m_deprecationHasBeenSet = true;
63 m_deprecation = std::forward<DeprecationT>(value);
64 }
65 template <typename DeprecationT = DeprecationRequestDetails>
66 NotificationDetails& WithDeprecation(DeprecationT&& value) {
67 SetDeprecation(std::forward<DeprecationT>(value));
68 return *this;
69 }
71
73
76 inline const SchemaChangeRequestDetails& GetSchemaChange() const { return m_schemaChange; }
77 inline bool SchemaChangeHasBeenSet() const { return m_schemaChangeHasBeenSet; }
78 template <typename SchemaChangeT = SchemaChangeRequestDetails>
79 void SetSchemaChange(SchemaChangeT&& value) {
80 m_schemaChangeHasBeenSet = true;
81 m_schemaChange = std::forward<SchemaChangeT>(value);
82 }
83 template <typename SchemaChangeT = SchemaChangeRequestDetails>
84 NotificationDetails& WithSchemaChange(SchemaChangeT&& value) {
85 SetSchemaChange(std::forward<SchemaChangeT>(value));
86 return *this;
87 }
89 private:
90 DataUpdateRequestDetails m_dataUpdate;
91
92 DeprecationRequestDetails m_deprecation;
93
94 SchemaChangeRequestDetails m_schemaChange;
95 bool m_dataUpdateHasBeenSet = false;
96 bool m_deprecationHasBeenSet = false;
97 bool m_schemaChangeHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace DataExchange
102} // namespace Aws
NotificationDetails & WithDeprecation(DeprecationT &&value)
const DataUpdateRequestDetails & GetDataUpdate() const
AWS_DATAEXCHANGE_API NotificationDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAEXCHANGE_API NotificationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationDetails & WithSchemaChange(SchemaChangeT &&value)
const SchemaChangeRequestDetails & GetSchemaChange() const
NotificationDetails & WithDataUpdate(DataUpdateT &&value)
AWS_DATAEXCHANGE_API NotificationDetails()=default
const DeprecationRequestDetails & GetDeprecation() const
Aws::Utils::Json::JsonValue JsonValue