AWS SDK for C++  1.9.66
AWS SDK for C++
UpdatePipelineNotificationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ElasticTranscoder
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UpdatePipelineNotifications"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
50  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 
56  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 
62  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
63 
68  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
69 
74  inline UpdatePipelineNotificationsRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
75 
80  inline UpdatePipelineNotificationsRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
81 
86  inline UpdatePipelineNotificationsRequest& WithId(const char* value) { SetId(value); return *this;}
87 
88 
107  inline const Notifications& GetNotifications() const{ return m_notifications; }
108 
127  inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
128 
147  inline void SetNotifications(const Notifications& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
148 
167  inline void SetNotifications(Notifications&& value) { m_notificationsHasBeenSet = true; m_notifications = std::move(value); }
168 
187  inline UpdatePipelineNotificationsRequest& WithNotifications(const Notifications& value) { SetNotifications(value); return *this;}
188 
207  inline UpdatePipelineNotificationsRequest& WithNotifications(Notifications&& value) { SetNotifications(std::move(value)); return *this;}
208 
209  private:
210 
211  Aws::String m_id;
212  bool m_idHasBeenSet;
213 
214  Notifications m_notifications;
215  bool m_notificationsHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace ElasticTranscoder
220 } // namespace Aws
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdatePipelineNotificationsRequest.h:50
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::WithNotifications
UpdatePipelineNotificationsRequest & WithNotifications(const Notifications &value)
Definition: UpdatePipelineNotificationsRequest.h:187
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::SetId
void SetId(const char *value)
Definition: UpdatePipelineNotificationsRequest.h:68
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::SetNotifications
void SetNotifications(const Notifications &value)
Definition: UpdatePipelineNotificationsRequest.h:147
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::UpdatePipelineNotificationsRequest
UpdatePipelineNotificationsRequest()
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest
Definition: UpdatePipelineNotificationsRequest.h:27
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::SetId
void SetId(const Aws::String &value)
Definition: UpdatePipelineNotificationsRequest.h:56
Notifications.h
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::WithId
UpdatePipelineNotificationsRequest & WithId(Aws::String &&value)
Definition: UpdatePipelineNotificationsRequest.h:80
Aws::ElasticTranscoder::Model::Notifications
Definition: Notifications.h:35
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::NotificationsHasBeenSet
bool NotificationsHasBeenSet() const
Definition: UpdatePipelineNotificationsRequest.h:127
AWSString.h
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::SetId
void SetId(Aws::String &&value)
Definition: UpdatePipelineNotificationsRequest.h:62
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::WithNotifications
UpdatePipelineNotificationsRequest & WithNotifications(Notifications &&value)
Definition: UpdatePipelineNotificationsRequest.h:207
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::WithId
UpdatePipelineNotificationsRequest & WithId(const Aws::String &value)
Definition: UpdatePipelineNotificationsRequest.h:74
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::WithId
UpdatePipelineNotificationsRequest & WithId(const char *value)
Definition: UpdatePipelineNotificationsRequest.h:86
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::GetId
const Aws::String & GetId() const
Definition: UpdatePipelineNotificationsRequest.h:44
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdatePipelineNotificationsRequest.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::ElasticTranscoderRequest
Definition: ElasticTranscoderRequest.h:17
ElasticTranscoderRequest.h
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::GetNotifications
const Notifications & GetNotifications() const
Definition: UpdatePipelineNotificationsRequest.h:107
Aws::ElasticTranscoder::Model::UpdatePipelineNotificationsRequest::SetNotifications
void SetNotifications(Notifications &&value)
Definition: UpdatePipelineNotificationsRequest.h:167