AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SendDataSetNotificationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/DataExchangeRequest.h>
10#include <aws/dataexchange/DataExchange_EXPORTS.h>
11#include <aws/dataexchange/model/NotificationDetails.h>
12#include <aws/dataexchange/model/NotificationType.h>
13#include <aws/dataexchange/model/ScopeDetails.h>
14
15#include <utility>
16
17namespace Aws {
18namespace DataExchange {
19namespace Model {
20
24 public:
25 AWS_DATAEXCHANGE_API SendDataSetNotificationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SendDataSetNotification"; }
32
33 AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override;
34
36
40 inline const ScopeDetails& GetScope() const { return m_scope; }
41 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
42 template <typename ScopeT = ScopeDetails>
43 void SetScope(ScopeT&& value) {
44 m_scopeHasBeenSet = true;
45 m_scope = std::forward<ScopeT>(value);
46 }
47 template <typename ScopeT = ScopeDetails>
49 SetScope(std::forward<ScopeT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetClientToken() const { return m_clientToken; }
60 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
61 template <typename ClientTokenT = Aws::String>
62 void SetClientToken(ClientTokenT&& value) {
63 m_clientTokenHasBeenSet = true;
64 m_clientToken = std::forward<ClientTokenT>(value);
65 }
66 template <typename ClientTokenT = Aws::String>
68 SetClientToken(std::forward<ClientTokenT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetComment() const { return m_comment; }
79 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
80 template <typename CommentT = Aws::String>
81 void SetComment(CommentT&& value) {
82 m_commentHasBeenSet = true;
83 m_comment = std::forward<CommentT>(value);
84 }
85 template <typename CommentT = Aws::String>
87 SetComment(std::forward<CommentT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetDataSetId() const { return m_dataSetId; }
97 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
98 template <typename DataSetIdT = Aws::String>
99 void SetDataSetId(DataSetIdT&& value) {
100 m_dataSetIdHasBeenSet = true;
101 m_dataSetId = std::forward<DataSetIdT>(value);
102 }
103 template <typename DataSetIdT = Aws::String>
105 SetDataSetId(std::forward<DataSetIdT>(value));
106 return *this;
107 }
109
111
114 inline const NotificationDetails& GetDetails() const { return m_details; }
115 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
116 template <typename DetailsT = NotificationDetails>
117 void SetDetails(DetailsT&& value) {
118 m_detailsHasBeenSet = true;
119 m_details = std::forward<DetailsT>(value);
120 }
121 template <typename DetailsT = NotificationDetails>
123 SetDetails(std::forward<DetailsT>(value));
124 return *this;
125 }
127
129
133 inline NotificationType GetType() const { return m_type; }
134 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
135 inline void SetType(NotificationType value) {
136 m_typeHasBeenSet = true;
137 m_type = value;
138 }
140 SetType(value);
141 return *this;
142 }
144 private:
145 ScopeDetails m_scope;
146
148
149 Aws::String m_comment;
150
151 Aws::String m_dataSetId;
152
153 NotificationDetails m_details;
154
156 bool m_scopeHasBeenSet = false;
157 bool m_clientTokenHasBeenSet = true;
158 bool m_commentHasBeenSet = false;
159 bool m_dataSetIdHasBeenSet = false;
160 bool m_detailsHasBeenSet = false;
161 bool m_typeHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace DataExchange
166} // namespace Aws
SendDataSetNotificationRequest & WithClientToken(ClientTokenT &&value)
SendDataSetNotificationRequest & WithScope(ScopeT &&value)
AWS_DATAEXCHANGE_API SendDataSetNotificationRequest()=default
AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override
SendDataSetNotificationRequest & WithComment(CommentT &&value)
SendDataSetNotificationRequest & WithDetails(DetailsT &&value)
SendDataSetNotificationRequest & WithDataSetId(DataSetIdT &&value)
SendDataSetNotificationRequest & WithType(NotificationType value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String