AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SendDataSetNotificationRequest.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/DataExchangeRequest.h>
9#include <aws/dataexchange/model/ScopeDetails.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/dataexchange/model/NotificationDetails.h>
12#include <aws/dataexchange/model/NotificationType.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace DataExchange
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_DATAEXCHANGE_API SendDataSetNotificationRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "SendDataSetNotification"; }
35
36 AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override;
37
38
40
44 inline const ScopeDetails& GetScope() const { return m_scope; }
45 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
46 template<typename ScopeT = ScopeDetails>
47 void SetScope(ScopeT&& value) { m_scopeHasBeenSet = true; m_scope = std::forward<ScopeT>(value); }
48 template<typename ScopeT = ScopeDetails>
49 SendDataSetNotificationRequest& WithScope(ScopeT&& value) { SetScope(std::forward<ScopeT>(value)); return *this;}
51
53
57 inline const Aws::String& GetClientToken() const { return m_clientToken; }
58 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
59 template<typename ClientTokenT = Aws::String>
60 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
61 template<typename ClientTokenT = Aws::String>
62 SendDataSetNotificationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
64
66
70 inline const Aws::String& GetComment() const { return m_comment; }
71 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
72 template<typename CommentT = Aws::String>
73 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
74 template<typename CommentT = Aws::String>
75 SendDataSetNotificationRequest& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDataSetId() const { return m_dataSetId; }
83 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
84 template<typename DataSetIdT = Aws::String>
85 void SetDataSetId(DataSetIdT&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::forward<DataSetIdT>(value); }
86 template<typename DataSetIdT = Aws::String>
87 SendDataSetNotificationRequest& WithDataSetId(DataSetIdT&& value) { SetDataSetId(std::forward<DataSetIdT>(value)); return *this;}
89
91
94 inline const NotificationDetails& GetDetails() const { return m_details; }
95 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
96 template<typename DetailsT = NotificationDetails>
97 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
98 template<typename DetailsT = NotificationDetails>
99 SendDataSetNotificationRequest& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
101
103
107 inline NotificationType GetType() const { return m_type; }
108 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
109 inline void SetType(NotificationType value) { m_typeHasBeenSet = true; m_type = value; }
110 inline SendDataSetNotificationRequest& WithType(NotificationType value) { SetType(value); return *this;}
112 private:
113
114 ScopeDetails m_scope;
115 bool m_scopeHasBeenSet = false;
116
118 bool m_clientTokenHasBeenSet = true;
119
120 Aws::String m_comment;
121 bool m_commentHasBeenSet = false;
122
123 Aws::String m_dataSetId;
124 bool m_dataSetIdHasBeenSet = false;
125
126 NotificationDetails m_details;
127 bool m_detailsHasBeenSet = false;
128
130 bool m_typeHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace DataExchange
135} // 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