AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDataUpdate(const DataUpdateRequestDetails& value) { m_dataUpdateHasBeenSet = true; m_dataUpdate = value; }
49 inline void SetDataUpdate(DataUpdateRequestDetails&& value) { m_dataUpdateHasBeenSet = true; m_dataUpdate = std::move(value); }
50 inline NotificationDetails& WithDataUpdate(const DataUpdateRequestDetails& value) { SetDataUpdate(value); return *this;}
51 inline NotificationDetails& WithDataUpdate(DataUpdateRequestDetails&& value) { SetDataUpdate(std::move(value)); return *this;}
53
55
58 inline const DeprecationRequestDetails& GetDeprecation() const{ return m_deprecation; }
59 inline bool DeprecationHasBeenSet() const { return m_deprecationHasBeenSet; }
60 inline void SetDeprecation(const DeprecationRequestDetails& value) { m_deprecationHasBeenSet = true; m_deprecation = value; }
61 inline void SetDeprecation(DeprecationRequestDetails&& value) { m_deprecationHasBeenSet = true; m_deprecation = std::move(value); }
62 inline NotificationDetails& WithDeprecation(const DeprecationRequestDetails& value) { SetDeprecation(value); return *this;}
63 inline NotificationDetails& WithDeprecation(DeprecationRequestDetails&& value) { SetDeprecation(std::move(value)); return *this;}
65
67
70 inline const SchemaChangeRequestDetails& GetSchemaChange() const{ return m_schemaChange; }
71 inline bool SchemaChangeHasBeenSet() const { return m_schemaChangeHasBeenSet; }
72 inline void SetSchemaChange(const SchemaChangeRequestDetails& value) { m_schemaChangeHasBeenSet = true; m_schemaChange = value; }
73 inline void SetSchemaChange(SchemaChangeRequestDetails&& value) { m_schemaChangeHasBeenSet = true; m_schemaChange = std::move(value); }
75 inline NotificationDetails& WithSchemaChange(SchemaChangeRequestDetails&& value) { SetSchemaChange(std::move(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 & WithSchemaChange(const SchemaChangeRequestDetails &value)
NotificationDetails & WithDeprecation(DeprecationRequestDetails &&value)
const DataUpdateRequestDetails & GetDataUpdate() const
AWS_DATAEXCHANGE_API NotificationDetails(Aws::Utils::Json::JsonView jsonValue)
void SetDataUpdate(DataUpdateRequestDetails &&value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
NotificationDetails & WithSchemaChange(SchemaChangeRequestDetails &&value)
AWS_DATAEXCHANGE_API NotificationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataUpdate(const DataUpdateRequestDetails &value)
NotificationDetails & WithDataUpdate(DataUpdateRequestDetails &&value)
const SchemaChangeRequestDetails & GetSchemaChange() const
NotificationDetails & WithDeprecation(const DeprecationRequestDetails &value)
NotificationDetails & WithDataUpdate(const DataUpdateRequestDetails &value)
void SetDeprecation(DeprecationRequestDetails &&value)
void SetDeprecation(const DeprecationRequestDetails &value)
const DeprecationRequestDetails & GetDeprecation() const
void SetSchemaChange(const SchemaChangeRequestDetails &value)
void SetSchemaChange(SchemaChangeRequestDetails &&value)
Aws::Utils::Json::JsonValue JsonValue