AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateNotificationConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisvideo/KinesisVideoRequest.h>
9#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
10#include <aws/kinesisvideo/model/NotificationConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace KinesisVideo {
16namespace Model {
17
21 public:
22 AWS_KINESISVIDEO_API UpdateNotificationConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateNotificationConfiguration"; }
29
30 AWS_KINESISVIDEO_API Aws::String SerializePayload() const override;
31
33
38 inline const Aws::String& GetStreamName() const { return m_streamName; }
39 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
40 template <typename StreamNameT = Aws::String>
41 void SetStreamName(StreamNameT&& value) {
42 m_streamNameHasBeenSet = true;
43 m_streamName = std::forward<StreamNameT>(value);
44 }
45 template <typename StreamNameT = Aws::String>
47 SetStreamName(std::forward<StreamNameT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
59 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
60 template <typename StreamARNT = Aws::String>
61 void SetStreamARN(StreamARNT&& value) {
62 m_streamARNHasBeenSet = true;
63 m_streamARN = std::forward<StreamARNT>(value);
64 }
65 template <typename StreamARNT = Aws::String>
67 SetStreamARN(std::forward<StreamARNT>(value));
68 return *this;
69 }
71
73
77 inline const NotificationConfiguration& GetNotificationConfiguration() const { return m_notificationConfiguration; }
78 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
79 template <typename NotificationConfigurationT = NotificationConfiguration>
80 void SetNotificationConfiguration(NotificationConfigurationT&& value) {
81 m_notificationConfigurationHasBeenSet = true;
82 m_notificationConfiguration = std::forward<NotificationConfigurationT>(value);
83 }
84 template <typename NotificationConfigurationT = NotificationConfiguration>
86 SetNotificationConfiguration(std::forward<NotificationConfigurationT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_streamName;
92
93 Aws::String m_streamARN;
94
95 NotificationConfiguration m_notificationConfiguration;
96 bool m_streamNameHasBeenSet = false;
97 bool m_streamARNHasBeenSet = false;
98 bool m_notificationConfigurationHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace KinesisVideo
103} // 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