AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdatePipelineNotificationsRequest.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/elastictranscoder/ElasticTranscoderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elastictranscoder/model/Notifications.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ElasticTranscoder
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_ELASTICTRANSCODER_API UpdatePipelineNotificationsRequest() = default;
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_ELASTICTRANSCODER_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 UpdatePipelineNotificationsRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
72 inline const Notifications& GetNotifications() const { return m_notifications; }
73 inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
74 template<typename NotificationsT = Notifications>
75 void SetNotifications(NotificationsT&& value) { m_notificationsHasBeenSet = true; m_notifications = std::forward<NotificationsT>(value); }
76 template<typename NotificationsT = Notifications>
77 UpdatePipelineNotificationsRequest& WithNotifications(NotificationsT&& value) { SetNotifications(std::forward<NotificationsT>(value)); return *this;}
79 private:
80
81 Aws::String m_id;
82 bool m_idHasBeenSet = false;
83
84 Notifications m_notifications;
85 bool m_notificationsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ElasticTranscoder
90} // namespace Aws
AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override
UpdatePipelineNotificationsRequest & WithNotifications(NotificationsT &&value)
AWS_ELASTICTRANSCODER_API UpdatePipelineNotificationsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String