AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
45 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
46 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
48 inline UpdateNotificationConfigurationRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
49 inline UpdateNotificationConfigurationRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
51
53
58 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
59 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
60 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
61 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
62 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
64 inline UpdateNotificationConfigurationRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
65 inline UpdateNotificationConfigurationRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
67
69
73 inline const NotificationConfiguration& GetNotificationConfiguration() const{ return m_notificationConfiguration; }
74 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
75 inline void SetNotificationConfiguration(const NotificationConfiguration& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = value; }
76 inline void SetNotificationConfiguration(NotificationConfiguration&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::move(value); }
80 private:
81
82 Aws::String m_streamName;
83 bool m_streamNameHasBeenSet = false;
84
85 Aws::String m_streamARN;
86 bool m_streamARNHasBeenSet = false;
87
88 NotificationConfiguration m_notificationConfiguration;
89 bool m_notificationConfigurationHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace KinesisVideo
94} // namespace Aws
UpdateNotificationConfigurationRequest & WithStreamARN(const Aws::String &value)
UpdateNotificationConfigurationRequest & WithStreamName(const Aws::String &value)
UpdateNotificationConfigurationRequest & WithStreamARN(Aws::String &&value)
UpdateNotificationConfigurationRequest & WithNotificationConfiguration(NotificationConfiguration &&value)
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
UpdateNotificationConfigurationRequest & WithNotificationConfiguration(const NotificationConfiguration &value)
UpdateNotificationConfigurationRequest & WithStreamName(Aws::String &&value)
UpdateNotificationConfigurationRequest & WithStreamARN(const char *value)
UpdateNotificationConfigurationRequest & WithStreamName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String