AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline UpdatePipelineNotificationsRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline UpdatePipelineNotificationsRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline UpdatePipelineNotificationsRequest& WithId(const char* value) { SetId(value); return *this;}
54
56
74 inline const Notifications& GetNotifications() const{ return m_notifications; }
75 inline bool NotificationsHasBeenSet() const { return m_notificationsHasBeenSet; }
76 inline void SetNotifications(const Notifications& value) { m_notificationsHasBeenSet = true; m_notifications = value; }
77 inline void SetNotifications(Notifications&& value) { m_notificationsHasBeenSet = true; m_notifications = std::move(value); }
79 inline UpdatePipelineNotificationsRequest& WithNotifications(Notifications&& value) { SetNotifications(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85
86 Notifications m_notifications;
87 bool m_notificationsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ElasticTranscoder
92} // namespace Aws
UpdatePipelineNotificationsRequest & WithNotifications(Notifications &&value)
AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override
UpdatePipelineNotificationsRequest & WithId(Aws::String &&value)
UpdatePipelineNotificationsRequest & WithId(const Aws::String &value)
UpdatePipelineNotificationsRequest & WithNotifications(const Notifications &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String