AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFlowMediaStreamRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/mediaconnect/model/MediaStreamAttributesRequest.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mediaconnect/model/MediaStreamType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaConnect
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_MEDIACONNECT_API UpdateFlowMediaStreamRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowMediaStream"; }
37
38 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
39
40
42
45 inline const MediaStreamAttributesRequest& GetAttributes() const{ return m_attributes; }
46 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
47 inline void SetAttributes(const MediaStreamAttributesRequest& value) { m_attributesHasBeenSet = true; m_attributes = value; }
48 inline void SetAttributes(MediaStreamAttributesRequest&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
52
54
59 inline int GetClockRate() const{ return m_clockRate; }
60 inline bool ClockRateHasBeenSet() const { return m_clockRateHasBeenSet; }
61 inline void SetClockRate(int value) { m_clockRateHasBeenSet = true; m_clockRate = value; }
62 inline UpdateFlowMediaStreamRequest& WithClockRate(int value) { SetClockRate(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline UpdateFlowMediaStreamRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline UpdateFlowMediaStreamRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline UpdateFlowMediaStreamRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
83 inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
84 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
85 inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
86 inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
87 inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
88 inline UpdateFlowMediaStreamRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
89 inline UpdateFlowMediaStreamRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
90 inline UpdateFlowMediaStreamRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
92
94
97 inline const Aws::String& GetMediaStreamName() const{ return m_mediaStreamName; }
98 inline bool MediaStreamNameHasBeenSet() const { return m_mediaStreamNameHasBeenSet; }
99 inline void SetMediaStreamName(const Aws::String& value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName = value; }
100 inline void SetMediaStreamName(Aws::String&& value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName = std::move(value); }
101 inline void SetMediaStreamName(const char* value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName.assign(value); }
103 inline UpdateFlowMediaStreamRequest& WithMediaStreamName(Aws::String&& value) { SetMediaStreamName(std::move(value)); return *this;}
104 inline UpdateFlowMediaStreamRequest& WithMediaStreamName(const char* value) { SetMediaStreamName(value); return *this;}
106
108
111 inline const MediaStreamType& GetMediaStreamType() const{ return m_mediaStreamType; }
112 inline bool MediaStreamTypeHasBeenSet() const { return m_mediaStreamTypeHasBeenSet; }
113 inline void SetMediaStreamType(const MediaStreamType& value) { m_mediaStreamTypeHasBeenSet = true; m_mediaStreamType = value; }
114 inline void SetMediaStreamType(MediaStreamType&& value) { m_mediaStreamTypeHasBeenSet = true; m_mediaStreamType = std::move(value); }
116 inline UpdateFlowMediaStreamRequest& WithMediaStreamType(MediaStreamType&& value) { SetMediaStreamType(std::move(value)); return *this;}
118
120
123 inline const Aws::String& GetVideoFormat() const{ return m_videoFormat; }
124 inline bool VideoFormatHasBeenSet() const { return m_videoFormatHasBeenSet; }
125 inline void SetVideoFormat(const Aws::String& value) { m_videoFormatHasBeenSet = true; m_videoFormat = value; }
126 inline void SetVideoFormat(Aws::String&& value) { m_videoFormatHasBeenSet = true; m_videoFormat = std::move(value); }
127 inline void SetVideoFormat(const char* value) { m_videoFormatHasBeenSet = true; m_videoFormat.assign(value); }
128 inline UpdateFlowMediaStreamRequest& WithVideoFormat(const Aws::String& value) { SetVideoFormat(value); return *this;}
129 inline UpdateFlowMediaStreamRequest& WithVideoFormat(Aws::String&& value) { SetVideoFormat(std::move(value)); return *this;}
130 inline UpdateFlowMediaStreamRequest& WithVideoFormat(const char* value) { SetVideoFormat(value); return *this;}
132 private:
133
134 MediaStreamAttributesRequest m_attributes;
135 bool m_attributesHasBeenSet = false;
136
137 int m_clockRate;
138 bool m_clockRateHasBeenSet = false;
139
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142
143 Aws::String m_flowArn;
144 bool m_flowArnHasBeenSet = false;
145
146 Aws::String m_mediaStreamName;
147 bool m_mediaStreamNameHasBeenSet = false;
148
149 MediaStreamType m_mediaStreamType;
150 bool m_mediaStreamTypeHasBeenSet = false;
151
152 Aws::String m_videoFormat;
153 bool m_videoFormatHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace MediaConnect
158} // namespace Aws
UpdateFlowMediaStreamRequest & WithFlowArn(const char *value)
UpdateFlowMediaStreamRequest & WithMediaStreamType(const MediaStreamType &value)
UpdateFlowMediaStreamRequest & WithVideoFormat(const char *value)
UpdateFlowMediaStreamRequest & WithMediaStreamName(Aws::String &&value)
UpdateFlowMediaStreamRequest & WithDescription(Aws::String &&value)
UpdateFlowMediaStreamRequest & WithDescription(const Aws::String &value)
UpdateFlowMediaStreamRequest & WithDescription(const char *value)
UpdateFlowMediaStreamRequest & WithFlowArn(const Aws::String &value)
UpdateFlowMediaStreamRequest & WithVideoFormat(Aws::String &&value)
UpdateFlowMediaStreamRequest & WithFlowArn(Aws::String &&value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
UpdateFlowMediaStreamRequest & WithAttributes(const MediaStreamAttributesRequest &value)
UpdateFlowMediaStreamRequest & WithMediaStreamName(const char *value)
const MediaStreamAttributesRequest & GetAttributes() const
UpdateFlowMediaStreamRequest & WithMediaStreamName(const Aws::String &value)
UpdateFlowMediaStreamRequest & WithVideoFormat(const Aws::String &value)
void SetAttributes(const MediaStreamAttributesRequest &value)
UpdateFlowMediaStreamRequest & WithMediaStreamType(MediaStreamType &&value)
UpdateFlowMediaStreamRequest & WithAttributes(MediaStreamAttributesRequest &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String