AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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
24 {
25 public:
26 AWS_MEDIACONNECT_API UpdateFlowMediaStreamRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowMediaStream"; }
33
34 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const MediaStreamAttributesRequest& GetAttributes() const { return m_attributes; }
42 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
43 template<typename AttributesT = MediaStreamAttributesRequest>
44 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
45 template<typename AttributesT = MediaStreamAttributesRequest>
46 UpdateFlowMediaStreamRequest& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
48
50
53 inline int GetClockRate() const { return m_clockRate; }
54 inline bool ClockRateHasBeenSet() const { return m_clockRateHasBeenSet; }
55 inline void SetClockRate(int value) { m_clockRateHasBeenSet = true; m_clockRate = value; }
56 inline UpdateFlowMediaStreamRequest& WithClockRate(int value) { SetClockRate(value); return *this;}
58
60
64 inline const Aws::String& GetDescription() const { return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 template<typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
68 template<typename DescriptionT = Aws::String>
69 UpdateFlowMediaStreamRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
77 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
78 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
79 template<typename FlowArnT = Aws::String>
80 void SetFlowArn(FlowArnT&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::forward<FlowArnT>(value); }
81 template<typename FlowArnT = Aws::String>
82 UpdateFlowMediaStreamRequest& WithFlowArn(FlowArnT&& value) { SetFlowArn(std::forward<FlowArnT>(value)); return *this;}
84
86
89 inline const Aws::String& GetMediaStreamName() const { return m_mediaStreamName; }
90 inline bool MediaStreamNameHasBeenSet() const { return m_mediaStreamNameHasBeenSet; }
91 template<typename MediaStreamNameT = Aws::String>
92 void SetMediaStreamName(MediaStreamNameT&& value) { m_mediaStreamNameHasBeenSet = true; m_mediaStreamName = std::forward<MediaStreamNameT>(value); }
93 template<typename MediaStreamNameT = Aws::String>
94 UpdateFlowMediaStreamRequest& WithMediaStreamName(MediaStreamNameT&& value) { SetMediaStreamName(std::forward<MediaStreamNameT>(value)); return *this;}
96
98
101 inline MediaStreamType GetMediaStreamType() const { return m_mediaStreamType; }
102 inline bool MediaStreamTypeHasBeenSet() const { return m_mediaStreamTypeHasBeenSet; }
103 inline void SetMediaStreamType(MediaStreamType value) { m_mediaStreamTypeHasBeenSet = true; m_mediaStreamType = value; }
106
108
111 inline const Aws::String& GetVideoFormat() const { return m_videoFormat; }
112 inline bool VideoFormatHasBeenSet() const { return m_videoFormatHasBeenSet; }
113 template<typename VideoFormatT = Aws::String>
114 void SetVideoFormat(VideoFormatT&& value) { m_videoFormatHasBeenSet = true; m_videoFormat = std::forward<VideoFormatT>(value); }
115 template<typename VideoFormatT = Aws::String>
116 UpdateFlowMediaStreamRequest& WithVideoFormat(VideoFormatT&& value) { SetVideoFormat(std::forward<VideoFormatT>(value)); return *this;}
118 private:
119
120 MediaStreamAttributesRequest m_attributes;
121 bool m_attributesHasBeenSet = false;
122
123 int m_clockRate{0};
124 bool m_clockRateHasBeenSet = false;
125
126 Aws::String m_description;
127 bool m_descriptionHasBeenSet = false;
128
129 Aws::String m_flowArn;
130 bool m_flowArnHasBeenSet = false;
131
132 Aws::String m_mediaStreamName;
133 bool m_mediaStreamNameHasBeenSet = false;
134
135 MediaStreamType m_mediaStreamType{MediaStreamType::NOT_SET};
136 bool m_mediaStreamTypeHasBeenSet = false;
137
138 Aws::String m_videoFormat;
139 bool m_videoFormatHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace MediaConnect
144} // namespace Aws
UpdateFlowMediaStreamRequest & WithAttributes(AttributesT &&value)
AWS_MEDIACONNECT_API UpdateFlowMediaStreamRequest()=default
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
UpdateFlowMediaStreamRequest & WithFlowArn(FlowArnT &&value)
const MediaStreamAttributesRequest & GetAttributes() const
UpdateFlowMediaStreamRequest & WithDescription(DescriptionT &&value)
UpdateFlowMediaStreamRequest & WithVideoFormat(VideoFormatT &&value)
UpdateFlowMediaStreamRequest & WithMediaStreamName(MediaStreamNameT &&value)
UpdateFlowMediaStreamRequest & WithMediaStreamType(MediaStreamType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String