AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ChannelDefinition.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/ParticipantRole.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TranscribeStreamingService {
20namespace Model {
21
32 public:
33 AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition() = default;
34 AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline int GetChannelId() const { return m_channelId; }
43 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
44 inline void SetChannelId(int value) {
45 m_channelIdHasBeenSet = true;
46 m_channelId = value;
47 }
48 inline ChannelDefinition& WithChannelId(int value) {
49 SetChannelId(value);
50 return *this;
51 }
53
55
59 inline ParticipantRole GetParticipantRole() const { return m_participantRole; }
60 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
62 m_participantRoleHasBeenSet = true;
63 m_participantRole = value;
64 }
66 SetParticipantRole(value);
67 return *this;
68 }
70 private:
71 int m_channelId{0};
72
74 bool m_channelIdHasBeenSet = false;
75 bool m_participantRoleHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace TranscribeStreamingService
80} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition()=default
AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
ChannelDefinition & WithParticipantRole(ParticipantRole value)
Aws::Utils::Json::JsonValue JsonValue