AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
StartEdgeConfigurationUpdateRequest.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/EdgeConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace KinesisVideo {
16namespace Model {
17
21 public:
22 AWS_KINESISVIDEO_API StartEdgeConfigurationUpdateRequest() = 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 "StartEdgeConfigurationUpdate"; }
29
30 AWS_KINESISVIDEO_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetStreamName() const { return m_streamName; }
38 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
39 template <typename StreamNameT = Aws::String>
40 void SetStreamName(StreamNameT&& value) {
41 m_streamNameHasBeenSet = true;
42 m_streamName = std::forward<StreamNameT>(value);
43 }
44 template <typename StreamNameT = Aws::String>
46 SetStreamName(std::forward<StreamNameT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
57 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
58 template <typename StreamARNT = Aws::String>
59 void SetStreamARN(StreamARNT&& value) {
60 m_streamARNHasBeenSet = true;
61 m_streamARN = std::forward<StreamARNT>(value);
62 }
63 template <typename StreamARNT = Aws::String>
65 SetStreamARN(std::forward<StreamARNT>(value));
66 return *this;
67 }
69
71
74 inline const EdgeConfig& GetEdgeConfig() const { return m_edgeConfig; }
75 inline bool EdgeConfigHasBeenSet() const { return m_edgeConfigHasBeenSet; }
76 template <typename EdgeConfigT = EdgeConfig>
77 void SetEdgeConfig(EdgeConfigT&& value) {
78 m_edgeConfigHasBeenSet = true;
79 m_edgeConfig = std::forward<EdgeConfigT>(value);
80 }
81 template <typename EdgeConfigT = EdgeConfig>
83 SetEdgeConfig(std::forward<EdgeConfigT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_streamName;
89 bool m_streamNameHasBeenSet = false;
90
91 Aws::String m_streamARN;
92 bool m_streamARNHasBeenSet = false;
93
94 EdgeConfig m_edgeConfig;
95 bool m_edgeConfigHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace KinesisVideo
100} // namespace Aws
StartEdgeConfigurationUpdateRequest & WithEdgeConfig(EdgeConfigT &&value)
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
StartEdgeConfigurationUpdateRequest & WithStreamARN(StreamARNT &&value)
AWS_KINESISVIDEO_API StartEdgeConfigurationUpdateRequest()=default
StartEdgeConfigurationUpdateRequest & WithStreamName(StreamNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String