AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetScope(const ScopeDetails& value) { m_scopeHasBeenSet = true; m_scope = value; }
47 inline void SetScope(ScopeDetails&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
48 inline SendDataSetNotificationRequest& WithScope(const ScopeDetails& value) { SetScope(value); return *this;}
49 inline SendDataSetNotificationRequest& WithScope(ScopeDetails&& value) { SetScope(std::move(value)); return *this;}
51
53
57 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
58 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
59 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
60 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
61 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
62 inline SendDataSetNotificationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
63 inline SendDataSetNotificationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
64 inline SendDataSetNotificationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
66
68
72 inline const Aws::String& GetComment() const{ return m_comment; }
73 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
74 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
75 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
76 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
77 inline SendDataSetNotificationRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;}
78 inline SendDataSetNotificationRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
79 inline SendDataSetNotificationRequest& WithComment(const char* value) { SetComment(value); return *this;}
81
83
86 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
87 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
88 inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; }
89 inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); }
90 inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); }
91 inline SendDataSetNotificationRequest& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
92 inline SendDataSetNotificationRequest& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
93 inline SendDataSetNotificationRequest& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
95
97
100 inline const NotificationDetails& GetDetails() const{ return m_details; }
101 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
102 inline void SetDetails(const NotificationDetails& value) { m_detailsHasBeenSet = true; m_details = value; }
103 inline void SetDetails(NotificationDetails&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
104 inline SendDataSetNotificationRequest& WithDetails(const NotificationDetails& value) { SetDetails(value); return *this;}
105 inline SendDataSetNotificationRequest& WithDetails(NotificationDetails&& value) { SetDetails(std::move(value)); return *this;}
107
109
113 inline const NotificationType& GetType() const{ return m_type; }
114 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
115 inline void SetType(const NotificationType& value) { m_typeHasBeenSet = true; m_type = value; }
116 inline void SetType(NotificationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
117 inline SendDataSetNotificationRequest& WithType(const NotificationType& value) { SetType(value); return *this;}
118 inline SendDataSetNotificationRequest& WithType(NotificationType&& value) { SetType(std::move(value)); return *this;}
120 private:
121
122 ScopeDetails m_scope;
123 bool m_scopeHasBeenSet = false;
124
125 Aws::String m_clientToken;
126 bool m_clientTokenHasBeenSet = false;
127
128 Aws::String m_comment;
129 bool m_commentHasBeenSet = false;
130
131 Aws::String m_dataSetId;
132 bool m_dataSetIdHasBeenSet = false;
133
134 NotificationDetails m_details;
135 bool m_detailsHasBeenSet = false;
136
137 NotificationType m_type;
138 bool m_typeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace DataExchange
143} // namespace Aws
SendDataSetNotificationRequest & WithComment(const char *value)
SendDataSetNotificationRequest & WithScope(ScopeDetails &&value)
SendDataSetNotificationRequest & WithDataSetId(const char *value)
SendDataSetNotificationRequest & WithClientToken(Aws::String &&value)
AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override
SendDataSetNotificationRequest & WithClientToken(const Aws::String &value)
SendDataSetNotificationRequest & WithDataSetId(Aws::String &&value)
SendDataSetNotificationRequest & WithDataSetId(const Aws::String &value)
SendDataSetNotificationRequest & WithType(const NotificationType &value)
SendDataSetNotificationRequest & WithScope(const ScopeDetails &value)
SendDataSetNotificationRequest & WithType(NotificationType &&value)
SendDataSetNotificationRequest & WithDetails(const NotificationDetails &value)
SendDataSetNotificationRequest & WithClientToken(const char *value)
SendDataSetNotificationRequest & WithDetails(NotificationDetails &&value)
SendDataSetNotificationRequest & WithComment(Aws::String &&value)
SendDataSetNotificationRequest & WithComment(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String