AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
IngestConfigurationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
9#include <aws/ivs-realtime/model/IngestConfigurationState.h>
10#include <aws/ivs-realtime/model/IngestProtocol.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ivsrealtime {
22namespace Model {
23
31 public:
32 AWS_IVSREALTIME_API IngestConfigurationSummary() = default;
35 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
77 inline IngestProtocol GetIngestProtocol() const { return m_ingestProtocol; }
78 inline bool IngestProtocolHasBeenSet() const { return m_ingestProtocolHasBeenSet; }
79 inline void SetIngestProtocol(IngestProtocol value) {
80 m_ingestProtocolHasBeenSet = true;
81 m_ingestProtocol = value;
82 }
84 SetIngestProtocol(value);
85 return *this;
86 }
88
90
93 inline const Aws::String& GetStageArn() const { return m_stageArn; }
94 inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; }
95 template <typename StageArnT = Aws::String>
96 void SetStageArn(StageArnT&& value) {
97 m_stageArnHasBeenSet = true;
98 m_stageArn = std::forward<StageArnT>(value);
99 }
100 template <typename StageArnT = Aws::String>
102 SetStageArn(std::forward<StageArnT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetParticipantId() const { return m_participantId; }
112 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
113 template <typename ParticipantIdT = Aws::String>
114 void SetParticipantId(ParticipantIdT&& value) {
115 m_participantIdHasBeenSet = true;
116 m_participantId = std::forward<ParticipantIdT>(value);
117 }
118 template <typename ParticipantIdT = Aws::String>
120 SetParticipantId(std::forward<ParticipantIdT>(value));
121 return *this;
122 }
124
126
131 inline IngestConfigurationState GetState() const { return m_state; }
132 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
134 m_stateHasBeenSet = true;
135 m_state = value;
136 }
138 SetState(value);
139 return *this;
140 }
142
144
151 inline const Aws::String& GetUserId() const { return m_userId; }
152 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
153 template <typename UserIdT = Aws::String>
154 void SetUserId(UserIdT&& value) {
155 m_userIdHasBeenSet = true;
156 m_userId = std::forward<UserIdT>(value);
157 }
158 template <typename UserIdT = Aws::String>
160 SetUserId(std::forward<UserIdT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_name;
166
167 Aws::String m_arn;
168
169 IngestProtocol m_ingestProtocol{IngestProtocol::NOT_SET};
170
171 Aws::String m_stageArn;
172
173 Aws::String m_participantId;
174
176
177 Aws::String m_userId;
178 bool m_nameHasBeenSet = false;
179 bool m_arnHasBeenSet = false;
180 bool m_ingestProtocolHasBeenSet = false;
181 bool m_stageArnHasBeenSet = false;
182 bool m_participantIdHasBeenSet = false;
183 bool m_stateHasBeenSet = false;
184 bool m_userIdHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace ivsrealtime
189} // namespace Aws
IngestConfigurationSummary & WithUserId(UserIdT &&value)
IngestConfigurationSummary & WithArn(ArnT &&value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
IngestConfigurationSummary & WithIngestProtocol(IngestProtocol value)
IngestConfigurationSummary & WithState(IngestConfigurationState value)
AWS_IVSREALTIME_API IngestConfigurationSummary()=default
AWS_IVSREALTIME_API IngestConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSREALTIME_API IngestConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
IngestConfigurationSummary & WithParticipantId(ParticipantIdT &&value)
IngestConfigurationSummary & WithStageArn(StageArnT &&value)
IngestConfigurationSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue