AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
RedundantIngestCredential.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ivsrealtime {
20namespace Model {
21
29 public:
30 AWS_IVSREALTIME_API RedundantIngestCredential() = default;
33 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetParticipantId() const { return m_participantId; }
40 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
41 template <typename ParticipantIdT = Aws::String>
42 void SetParticipantId(ParticipantIdT&& value) {
43 m_participantIdHasBeenSet = true;
44 m_participantId = std::forward<ParticipantIdT>(value);
45 }
46 template <typename ParticipantIdT = Aws::String>
48 SetParticipantId(std::forward<ParticipantIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetStreamKey() const { return m_streamKey; }
58 inline bool StreamKeyHasBeenSet() const { return m_streamKeyHasBeenSet; }
59 template <typename StreamKeyT = Aws::String>
60 void SetStreamKey(StreamKeyT&& value) {
61 m_streamKeyHasBeenSet = true;
62 m_streamKey = std::forward<StreamKeyT>(value);
63 }
64 template <typename StreamKeyT = Aws::String>
66 SetStreamKey(std::forward<StreamKeyT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_participantId;
72
73 Aws::String m_streamKey;
74 bool m_participantIdHasBeenSet = false;
75 bool m_streamKeyHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace ivsrealtime
80} // namespace Aws
RedundantIngestCredential & WithParticipantId(ParticipantIdT &&value)
AWS_IVSREALTIME_API RedundantIngestCredential(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSREALTIME_API RedundantIngestCredential & operator=(Aws::Utils::Json::JsonView jsonValue)
RedundantIngestCredential & WithStreamKey(StreamKeyT &&value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IVSREALTIME_API RedundantIngestCredential()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue