AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateIngestConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/IvsrealtimeRequest.h>
10#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
11#include <aws/ivs-realtime/model/IngestProtocol.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ivsrealtime {
17namespace Model {
18
22 public:
23 AWS_IVSREALTIME_API CreateIngestConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateIngestConfiguration"; }
30
31 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetStageArn() const { return m_stageArn; }
57 inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; }
58 template <typename StageArnT = Aws::String>
59 void SetStageArn(StageArnT&& value) {
60 m_stageArnHasBeenSet = true;
61 m_stageArn = std::forward<StageArnT>(value);
62 }
63 template <typename StageArnT = Aws::String>
65 SetStageArn(std::forward<StageArnT>(value));
66 return *this;
67 }
69
71
78 inline const Aws::String& GetUserId() const { return m_userId; }
79 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
80 template <typename UserIdT = Aws::String>
81 void SetUserId(UserIdT&& value) {
82 m_userIdHasBeenSet = true;
83 m_userId = std::forward<UserIdT>(value);
84 }
85 template <typename UserIdT = Aws::String>
87 SetUserId(std::forward<UserIdT>(value));
88 return *this;
89 }
91
93
100 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
101 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
102 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
103 void SetAttributes(AttributesT&& value) {
104 m_attributesHasBeenSet = true;
105 m_attributes = std::forward<AttributesT>(value);
106 }
107 template <typename AttributesT = Aws::Map<Aws::String, Aws::String>>
109 SetAttributes(std::forward<AttributesT>(value));
110 return *this;
111 }
112 template <typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
113 CreateIngestConfigurationRequest& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
114 m_attributesHasBeenSet = true;
115 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
116 return *this;
117 }
119
121
126 inline IngestProtocol GetIngestProtocol() const { return m_ingestProtocol; }
127 inline bool IngestProtocolHasBeenSet() const { return m_ingestProtocolHasBeenSet; }
129 m_ingestProtocolHasBeenSet = true;
130 m_ingestProtocol = value;
131 }
133 SetIngestProtocol(value);
134 return *this;
135 }
137
139
144 inline bool GetInsecureIngest() const { return m_insecureIngest; }
145 inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; }
146 inline void SetInsecureIngest(bool value) {
147 m_insecureIngestHasBeenSet = true;
148 m_insecureIngest = value;
149 }
151 SetInsecureIngest(value);
152 return *this;
153 }
155
157
161 inline bool GetRedundantIngest() const { return m_redundantIngest; }
162 inline bool RedundantIngestHasBeenSet() const { return m_redundantIngestHasBeenSet; }
163 inline void SetRedundantIngest(bool value) {
164 m_redundantIngestHasBeenSet = true;
165 m_redundantIngest = value;
166 }
168 SetRedundantIngest(value);
169 return *this;
170 }
172
174
183 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
184 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
185 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
186 void SetTags(TagsT&& value) {
187 m_tagsHasBeenSet = true;
188 m_tags = std::forward<TagsT>(value);
189 }
190 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
192 SetTags(std::forward<TagsT>(value));
193 return *this;
194 }
195 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
196 CreateIngestConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
197 m_tagsHasBeenSet = true;
198 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
199 return *this;
200 }
202 private:
203 Aws::String m_name;
204
205 Aws::String m_stageArn;
206
207 Aws::String m_userId;
208
210
211 IngestProtocol m_ingestProtocol{IngestProtocol::NOT_SET};
212
213 bool m_insecureIngest{false};
214
215 bool m_redundantIngest{false};
216
218 bool m_nameHasBeenSet = false;
219 bool m_stageArnHasBeenSet = false;
220 bool m_userIdHasBeenSet = false;
221 bool m_attributesHasBeenSet = false;
222 bool m_ingestProtocolHasBeenSet = false;
223 bool m_insecureIngestHasBeenSet = false;
224 bool m_redundantIngestHasBeenSet = false;
225 bool m_tagsHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace ivsrealtime
230} // namespace Aws
CreateIngestConfigurationRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateIngestConfigurationRequest & WithStageArn(StageArnT &&value)
AWS_IVSREALTIME_API CreateIngestConfigurationRequest()=default
CreateIngestConfigurationRequest & WithUserId(UserIdT &&value)
CreateIngestConfigurationRequest & WithAttributes(AttributesT &&value)
CreateIngestConfigurationRequest & WithIngestProtocol(IngestProtocol value)
CreateIngestConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String