AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStreamRequest.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 <utility>
11
12namespace Aws
13{
14namespace KinesisVideo
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_KINESISVIDEO_API UpdateStreamRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateStream"; }
31
32 AWS_KINESISVIDEO_API Aws::String SerializePayload() const override;
33
34
36
41 inline const Aws::String& GetStreamName() const{ return m_streamName; }
42 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
43 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
44 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
45 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
46 inline UpdateStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
47 inline UpdateStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
48 inline UpdateStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
50
52
55 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
56 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
57 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
58 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
59 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
60 inline UpdateStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
61 inline UpdateStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
62 inline UpdateStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
64
66
69 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
70 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
71 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
72 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
73 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
74 inline UpdateStreamRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
75 inline UpdateStreamRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
76 inline UpdateStreamRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
78
80
85 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
86 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
87 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
88 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
89 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
90 inline UpdateStreamRequest& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
91 inline UpdateStreamRequest& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
92 inline UpdateStreamRequest& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
94
96
107 inline const Aws::String& GetMediaType() const{ return m_mediaType; }
108 inline bool MediaTypeHasBeenSet() const { return m_mediaTypeHasBeenSet; }
109 inline void SetMediaType(const Aws::String& value) { m_mediaTypeHasBeenSet = true; m_mediaType = value; }
110 inline void SetMediaType(Aws::String&& value) { m_mediaTypeHasBeenSet = true; m_mediaType = std::move(value); }
111 inline void SetMediaType(const char* value) { m_mediaTypeHasBeenSet = true; m_mediaType.assign(value); }
112 inline UpdateStreamRequest& WithMediaType(const Aws::String& value) { SetMediaType(value); return *this;}
113 inline UpdateStreamRequest& WithMediaType(Aws::String&& value) { SetMediaType(std::move(value)); return *this;}
114 inline UpdateStreamRequest& WithMediaType(const char* value) { SetMediaType(value); return *this;}
116 private:
117
118 Aws::String m_streamName;
119 bool m_streamNameHasBeenSet = false;
120
121 Aws::String m_streamARN;
122 bool m_streamARNHasBeenSet = false;
123
124 Aws::String m_currentVersion;
125 bool m_currentVersionHasBeenSet = false;
126
127 Aws::String m_deviceName;
128 bool m_deviceNameHasBeenSet = false;
129
130 Aws::String m_mediaType;
131 bool m_mediaTypeHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace KinesisVideo
136} // namespace Aws
UpdateStreamRequest & WithStreamARN(Aws::String &&value)
UpdateStreamRequest & WithMediaType(const char *value)
UpdateStreamRequest & WithStreamName(Aws::String &&value)
UpdateStreamRequest & WithCurrentVersion(const char *value)
UpdateStreamRequest & WithCurrentVersion(Aws::String &&value)
UpdateStreamRequest & WithStreamARN(const Aws::String &value)
UpdateStreamRequest & WithStreamARN(const char *value)
void SetCurrentVersion(const Aws::String &value)
UpdateStreamRequest & WithMediaType(Aws::String &&value)
UpdateStreamRequest & WithStreamName(const char *value)
UpdateStreamRequest & WithDeviceName(const Aws::String &value)
UpdateStreamRequest & WithDeviceName(Aws::String &&value)
UpdateStreamRequest & WithDeviceName(const char *value)
UpdateStreamRequest & WithStreamName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
UpdateStreamRequest & WithCurrentVersion(const Aws::String &value)
UpdateStreamRequest & WithMediaType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String