AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 DataExchange
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAEXCHANGE_API NotificationDetails() = default;
37 AWS_DATAEXCHANGE_API NotificationDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const DataUpdateRequestDetails& GetDataUpdate() const { return m_dataUpdate; }
47 inline bool DataUpdateHasBeenSet() const { return m_dataUpdateHasBeenSet; }
48 template<typename DataUpdateT = DataUpdateRequestDetails>
49 void SetDataUpdate(DataUpdateT&& value) { m_dataUpdateHasBeenSet = true; m_dataUpdate = std::forward<DataUpdateT>(value); }
50 template<typename DataUpdateT = DataUpdateRequestDetails>
51 NotificationDetails& WithDataUpdate(DataUpdateT&& value) { SetDataUpdate(std::forward<DataUpdateT>(value)); return *this;}
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) { m_deprecationHasBeenSet = true; m_deprecation = std::forward<DeprecationT>(value); }
62 template<typename DeprecationT = DeprecationRequestDetails>
63 NotificationDetails& WithDeprecation(DeprecationT&& value) { SetDeprecation(std::forward<DeprecationT>(value)); return *this;}
65
67
70 inline const SchemaChangeRequestDetails& GetSchemaChange() const { return m_schemaChange; }
71 inline bool SchemaChangeHasBeenSet() const { return m_schemaChangeHasBeenSet; }
72 template<typename SchemaChangeT = SchemaChangeRequestDetails>
73 void SetSchemaChange(SchemaChangeT&& value) { m_schemaChangeHasBeenSet = true; m_schemaChange = std::forward<SchemaChangeT>(value); }
74 template<typename SchemaChangeT = SchemaChangeRequestDetails>
75 NotificationDetails& WithSchemaChange(SchemaChangeT&& value) { SetSchemaChange(std::forward<SchemaChangeT>(value)); return *this;}
77 private:
78
79 DataUpdateRequestDetails m_dataUpdate;
80 bool m_dataUpdateHasBeenSet = false;
81
82 DeprecationRequestDetails m_deprecation;
83 bool m_deprecationHasBeenSet = false;
84
85 SchemaChangeRequestDetails m_schemaChange;
86 bool m_schemaChangeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace DataExchange
91} // 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