AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TranscribeStreamingService
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition();
39 AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline int GetChannelId() const{ return m_channelId; }
49 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
50 inline void SetChannelId(int value) { m_channelIdHasBeenSet = true; m_channelId = value; }
51 inline ChannelDefinition& WithChannelId(int value) { SetChannelId(value); return *this;}
53
55
59 inline const ParticipantRole& GetParticipantRole() const{ return m_participantRole; }
60 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
61 inline void SetParticipantRole(const ParticipantRole& value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
62 inline void SetParticipantRole(ParticipantRole&& value) { m_participantRoleHasBeenSet = true; m_participantRole = std::move(value); }
63 inline ChannelDefinition& WithParticipantRole(const ParticipantRole& value) { SetParticipantRole(value); return *this;}
64 inline ChannelDefinition& WithParticipantRole(ParticipantRole&& value) { SetParticipantRole(std::move(value)); return *this;}
66 private:
67
68 int m_channelId;
69 bool m_channelIdHasBeenSet = false;
70
71 ParticipantRole m_participantRole;
72 bool m_participantRoleHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace TranscribeStreamingService
77} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition()
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition(Aws::Utils::Json::JsonView jsonValue)
ChannelDefinition & WithParticipantRole(ParticipantRole &&value)
ChannelDefinition & WithParticipantRole(const ParticipantRole &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API ChannelDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue