7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
11#include <aws/ivs-realtime/model/IngestConfigurationState.h>
12#include <aws/ivs-realtime/model/IngestProtocol.h>
13#include <aws/ivs-realtime/model/RedundantIngestCredential.h>
24namespace ivsrealtime {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename ArnT = Aws::String>
65 m_arnHasBeenSet =
true;
66 m_arn = std::forward<ArnT>(value);
68 template <
typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
82 m_ingestProtocolHasBeenSet =
true;
83 m_ingestProtocol = value;
97 template <
typename StreamKeyT = Aws::String>
99 m_streamKeyHasBeenSet =
true;
100 m_streamKey = std::forward<StreamKeyT>(value);
102 template <
typename StreamKeyT = Aws::String>
115 template <
typename StageArnT = Aws::String>
117 m_stageArnHasBeenSet =
true;
118 m_stageArn = std::forward<StageArnT>(value);
120 template <
typename StageArnT = Aws::String>
133 template <
typename ParticipantIdT = Aws::String>
135 m_participantIdHasBeenSet =
true;
136 m_participantId = std::forward<ParticipantIdT>(value);
138 template <
typename ParticipantIdT = Aws::String>
154 m_stateHasBeenSet =
true;
173 template <
typename UserIdT = Aws::String>
175 m_userIdHasBeenSet =
true;
176 m_userId = std::forward<UserIdT>(value);
178 template <
typename UserIdT = Aws::String>
193 m_redundantIngestHasBeenSet =
true;
194 m_redundantIngest = value;
211 template <
typename RedundantIngestCredentialsT = Aws::Vector<RedundantIngestCredential>>
213 m_redundantIngestCredentialsHasBeenSet =
true;
214 m_redundantIngestCredentials = std::forward<RedundantIngestCredentialsT>(value);
216 template <
typename RedundantIngestCredentialsT = Aws::Vector<RedundantIngestCredential>>
221 template <
typename RedundantIngestCredentialsT = RedundantIngestCredential>
223 m_redundantIngestCredentialsHasBeenSet =
true;
224 m_redundantIngestCredentials.emplace_back(std::forward<RedundantIngestCredentialsT>(value));
239 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
241 m_attributesHasBeenSet =
true;
242 m_attributes = std::forward<AttributesT>(value);
244 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
249 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
251 m_attributesHasBeenSet =
true;
252 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
269 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
271 m_tagsHasBeenSet =
true;
272 m_tags = std::forward<TagsT>(value);
274 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
276 SetTags(std::forward<TagsT>(value));
279 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
281 m_tagsHasBeenSet =
true;
282 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
303 bool m_redundantIngest{
false};
310 bool m_nameHasBeenSet =
false;
311 bool m_arnHasBeenSet =
false;
312 bool m_ingestProtocolHasBeenSet =
false;
313 bool m_streamKeyHasBeenSet =
false;
314 bool m_stageArnHasBeenSet =
false;
315 bool m_participantIdHasBeenSet =
false;
316 bool m_stateHasBeenSet =
false;
317 bool m_userIdHasBeenSet =
false;
318 bool m_redundantIngestHasBeenSet =
false;
319 bool m_redundantIngestCredentialsHasBeenSet =
false;
320 bool m_attributesHasBeenSet =
false;
321 bool m_tagsHasBeenSet =
false;
bool IngestProtocolHasBeenSet() const
IngestConfiguration & WithArn(ArnT &&value)
IngestConfiguration & WithName(NameT &&value)
bool AttributesHasBeenSet() const
bool StateHasBeenSet() const
IngestConfigurationState GetState() const
void SetStreamKey(StreamKeyT &&value)
void SetTags(TagsT &&value)
IngestConfiguration & WithParticipantId(ParticipantIdT &&value)
const Aws::String & GetArn() const
IngestConfiguration & WithStageArn(StageArnT &&value)
void SetUserId(UserIdT &&value)
void SetIngestProtocol(IngestProtocol value)
void SetName(NameT &&value)
bool TagsHasBeenSet() const
bool RedundantIngestCredentialsHasBeenSet() const
IngestConfiguration & WithStreamKey(StreamKeyT &&value)
IngestProtocol GetIngestProtocol() const
const Aws::String & GetParticipantId() const
void SetArn(ArnT &&value)
AWS_IVSREALTIME_API IngestConfiguration()=default
bool ArnHasBeenSet() const
bool UserIdHasBeenSet() const
bool ParticipantIdHasBeenSet() const
AWS_IVSREALTIME_API IngestConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool StageArnHasBeenSet() const
void SetAttributes(AttributesT &&value)
IngestConfiguration & WithRedundantIngestCredentials(RedundantIngestCredentialsT &&value)
void SetStageArn(StageArnT &&value)
const Aws::String & GetStreamKey() const
void SetRedundantIngestCredentials(RedundantIngestCredentialsT &&value)
const Aws::Vector< RedundantIngestCredential > & GetRedundantIngestCredentials() const
bool StreamKeyHasBeenSet() const
bool GetRedundantIngest() const
IngestConfiguration & WithUserId(UserIdT &&value)
IngestConfiguration & AddRedundantIngestCredentials(RedundantIngestCredentialsT &&value)
IngestConfiguration & WithIngestProtocol(IngestProtocol value)
void SetState(IngestConfigurationState value)
IngestConfiguration & WithRedundantIngest(bool value)
IngestConfiguration & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool NameHasBeenSet() const
IngestConfiguration & WithAttributes(AttributesT &&value)
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUserId() const
IngestConfiguration & WithState(IngestConfigurationState value)
bool RedundantIngestHasBeenSet() const
AWS_IVSREALTIME_API IngestConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetParticipantId(ParticipantIdT &&value)
const Aws::String & GetStageArn() const
IngestConfiguration & WithTags(TagsT &&value)
void SetRedundantIngest(bool value)
IngestConfiguration & AddAttributes(AttributesKeyT &&key, AttributesValueT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue