AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ChannelDefinition.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/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 TranscribeService {
20namespace Model {
21
32 public:
33 AWS_TRANSCRIBESERVICE_API ChannelDefinition() = default;
34 AWS_TRANSCRIBESERVICE_API ChannelDefinition(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TRANSCRIBESERVICE_API ChannelDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_TRANSCRIBESERVICE_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 TranscribeService
80} // namespace Aws
ChannelDefinition & WithParticipantRole(ParticipantRole value)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESERVICE_API ChannelDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESERVICE_API ChannelDefinition()=default
AWS_TRANSCRIBESERVICE_API ChannelDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue