AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateNotificationConfigurationRequest.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/KinesisVideoRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesisvideo/model/NotificationConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisVideo
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISVIDEO_API UpdateNotificationConfigurationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateNotificationConfiguration"; }
32
33 AWS_KINESISVIDEO_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetStreamName() const { return m_streamName; }
43 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
44 template<typename StreamNameT = Aws::String>
45 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet = true; m_streamName = std::forward<StreamNameT>(value); }
46 template<typename StreamNameT = Aws::String>
47 UpdateNotificationConfigurationRequest& WithStreamName(StreamNameT&& value) { SetStreamName(std::forward<StreamNameT>(value)); return *this;}
49
51
56 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
57 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
58 template<typename StreamARNT = Aws::String>
59 void SetStreamARN(StreamARNT&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::forward<StreamARNT>(value); }
60 template<typename StreamARNT = Aws::String>
61 UpdateNotificationConfigurationRequest& WithStreamARN(StreamARNT&& value) { SetStreamARN(std::forward<StreamARNT>(value)); return *this;}
63
65
69 inline const NotificationConfiguration& GetNotificationConfiguration() const { return m_notificationConfiguration; }
70 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
71 template<typename NotificationConfigurationT = NotificationConfiguration>
72 void SetNotificationConfiguration(NotificationConfigurationT&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::forward<NotificationConfigurationT>(value); }
73 template<typename NotificationConfigurationT = NotificationConfiguration>
74 UpdateNotificationConfigurationRequest& WithNotificationConfiguration(NotificationConfigurationT&& value) { SetNotificationConfiguration(std::forward<NotificationConfigurationT>(value)); return *this;}
76 private:
77
78 Aws::String m_streamName;
79 bool m_streamNameHasBeenSet = false;
80
81 Aws::String m_streamARN;
82 bool m_streamARNHasBeenSet = false;
83
84 NotificationConfiguration m_notificationConfiguration;
85 bool m_notificationConfigurationHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace KinesisVideo
90} // namespace Aws
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
UpdateNotificationConfigurationRequest & WithNotificationConfiguration(NotificationConfigurationT &&value)
UpdateNotificationConfigurationRequest & WithStreamName(StreamNameT &&value)
UpdateNotificationConfigurationRequest & WithStreamARN(StreamARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String