AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IngestConfiguration.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/model/IngestProtocol.h>
10#include <aws/ivs-realtime/model/IngestConfigurationState.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ivsrealtime
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IVSREALTIME_API IngestConfiguration();
38 AWS_IVSREALTIME_API IngestConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline IngestConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline IngestConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline IngestConfiguration& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline IngestConfiguration& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline IngestConfiguration& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline IngestConfiguration& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const IngestProtocol& GetIngestProtocol() const{ return m_ingestProtocol; }
76 inline bool IngestProtocolHasBeenSet() const { return m_ingestProtocolHasBeenSet; }
77 inline void SetIngestProtocol(const IngestProtocol& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = value; }
78 inline void SetIngestProtocol(IngestProtocol&& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = std::move(value); }
79 inline IngestConfiguration& WithIngestProtocol(const IngestProtocol& value) { SetIngestProtocol(value); return *this;}
80 inline IngestConfiguration& WithIngestProtocol(IngestProtocol&& value) { SetIngestProtocol(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetStreamKey() const{ return m_streamKey; }
88 inline bool StreamKeyHasBeenSet() const { return m_streamKeyHasBeenSet; }
89 inline void SetStreamKey(const Aws::String& value) { m_streamKeyHasBeenSet = true; m_streamKey = value; }
90 inline void SetStreamKey(Aws::String&& value) { m_streamKeyHasBeenSet = true; m_streamKey = std::move(value); }
91 inline void SetStreamKey(const char* value) { m_streamKeyHasBeenSet = true; m_streamKey.assign(value); }
92 inline IngestConfiguration& WithStreamKey(const Aws::String& value) { SetStreamKey(value); return *this;}
93 inline IngestConfiguration& WithStreamKey(Aws::String&& value) { SetStreamKey(std::move(value)); return *this;}
94 inline IngestConfiguration& WithStreamKey(const char* value) { SetStreamKey(value); return *this;}
96
98
101 inline const Aws::String& GetStageArn() const{ return m_stageArn; }
102 inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; }
103 inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; }
104 inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); }
105 inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); }
106 inline IngestConfiguration& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;}
107 inline IngestConfiguration& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;}
108 inline IngestConfiguration& WithStageArn(const char* value) { SetStageArn(value); return *this;}
110
112
115 inline const Aws::String& GetParticipantId() const{ return m_participantId; }
116 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
117 inline void SetParticipantId(const Aws::String& value) { m_participantIdHasBeenSet = true; m_participantId = value; }
118 inline void SetParticipantId(Aws::String&& value) { m_participantIdHasBeenSet = true; m_participantId = std::move(value); }
119 inline void SetParticipantId(const char* value) { m_participantIdHasBeenSet = true; m_participantId.assign(value); }
120 inline IngestConfiguration& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;}
121 inline IngestConfiguration& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;}
122 inline IngestConfiguration& WithParticipantId(const char* value) { SetParticipantId(value); return *this;}
124
126
131 inline const IngestConfigurationState& GetState() const{ return m_state; }
132 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
133 inline void SetState(const IngestConfigurationState& value) { m_stateHasBeenSet = true; m_state = value; }
134 inline void SetState(IngestConfigurationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
135 inline IngestConfiguration& WithState(const IngestConfigurationState& value) { SetState(value); return *this;}
136 inline IngestConfiguration& WithState(IngestConfigurationState&& value) { SetState(std::move(value)); return *this;}
138
140
147 inline const Aws::String& GetUserId() const{ return m_userId; }
148 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
149 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
150 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
151 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
152 inline IngestConfiguration& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
153 inline IngestConfiguration& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
154 inline IngestConfiguration& WithUserId(const char* value) { SetUserId(value); return *this;}
156
158
165 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
166 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
167 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
168 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
170 inline IngestConfiguration& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
171 inline IngestConfiguration& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
172 inline IngestConfiguration& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
173 inline IngestConfiguration& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
174 inline IngestConfiguration& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
175 inline IngestConfiguration& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
176 inline IngestConfiguration& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
177 inline IngestConfiguration& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
179
181
190 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
191 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
192 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
193 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
194 inline IngestConfiguration& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
195 inline IngestConfiguration& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
196 inline IngestConfiguration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
197 inline IngestConfiguration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
198 inline IngestConfiguration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
199 inline IngestConfiguration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
200 inline IngestConfiguration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
201 inline IngestConfiguration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
202 inline IngestConfiguration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
204 private:
205
206 Aws::String m_name;
207 bool m_nameHasBeenSet = false;
208
209 Aws::String m_arn;
210 bool m_arnHasBeenSet = false;
211
212 IngestProtocol m_ingestProtocol;
213 bool m_ingestProtocolHasBeenSet = false;
214
215 Aws::String m_streamKey;
216 bool m_streamKeyHasBeenSet = false;
217
218 Aws::String m_stageArn;
219 bool m_stageArnHasBeenSet = false;
220
221 Aws::String m_participantId;
222 bool m_participantIdHasBeenSet = false;
223
225 bool m_stateHasBeenSet = false;
226
227 Aws::String m_userId;
228 bool m_userIdHasBeenSet = false;
229
231 bool m_attributesHasBeenSet = false;
232
234 bool m_tagsHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace ivsrealtime
239} // namespace Aws
void SetState(const IngestConfigurationState &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
IngestConfiguration & AddAttributes(const Aws::String &key, Aws::String &&value)
IngestConfiguration & WithUserId(Aws::String &&value)
void SetParticipantId(const Aws::String &value)
IngestConfiguration & AddTags(Aws::String &&key, const Aws::String &value)
IngestConfiguration & WithParticipantId(const Aws::String &value)
IngestConfiguration & WithIngestProtocol(const IngestProtocol &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
IngestConfiguration & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
IngestConfiguration & AddAttributes(const char *key, const char *value)
const IngestConfigurationState & GetState() const
IngestConfiguration & WithState(IngestConfigurationState &&value)
IngestConfiguration & WithArn(const char *value)
IngestConfiguration & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
IngestConfiguration & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
IngestConfiguration & WithStreamKey(const Aws::String &value)
IngestConfiguration & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
IngestConfiguration & AddTags(Aws::String &&key, Aws::String &&value)
IngestConfiguration & WithArn(Aws::String &&value)
IngestConfiguration & AddAttributes(Aws::String &&key, const char *value)
IngestConfiguration & WithName(const char *value)
IngestConfiguration & WithStreamKey(Aws::String &&value)
AWS_IVSREALTIME_API IngestConfiguration(Aws::Utils::Json::JsonView jsonValue)
IngestConfiguration & AddTags(const char *key, Aws::String &&value)
IngestConfiguration & AddAttributes(Aws::String &&key, Aws::String &&value)
IngestConfiguration & AddTags(const char *key, const char *value)
IngestConfiguration & AddAttributes(const char *key, Aws::String &&value)
IngestConfiguration & WithArn(const Aws::String &value)
IngestConfiguration & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetState(IngestConfigurationState &&value)
IngestConfiguration & WithIngestProtocol(IngestProtocol &&value)
IngestConfiguration & AddTags(const Aws::String &key, Aws::String &&value)
IngestConfiguration & WithUserId(const char *value)
IngestConfiguration & WithName(Aws::String &&value)
IngestConfiguration & WithStreamKey(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
IngestConfiguration & WithStageArn(Aws::String &&value)
const IngestProtocol & GetIngestProtocol() const
IngestConfiguration & WithUserId(const Aws::String &value)
IngestConfiguration & WithStageArn(const Aws::String &value)
IngestConfiguration & WithState(const IngestConfigurationState &value)
IngestConfiguration & AddAttributes(Aws::String &&key, const Aws::String &value)
IngestConfiguration & WithStageArn(const char *value)
IngestConfiguration & WithParticipantId(Aws::String &&value)
IngestConfiguration & WithName(const Aws::String &value)
AWS_IVSREALTIME_API IngestConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestConfiguration & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
IngestConfiguration & AddTags(const Aws::String &key, const Aws::String &value)
IngestConfiguration & WithParticipantId(const char *value)
void SetIngestProtocol(const IngestProtocol &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
Aws::Utils::Json::JsonValue JsonValue