AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ChatParticipantRoleConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/ParticipantTimerConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API ChatParticipantRoleConfig() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<ParticipantTimerConfiguration>& GetParticipantTimerConfigList() const { return m_participantTimerConfigList; }
48 inline bool ParticipantTimerConfigListHasBeenSet() const { return m_participantTimerConfigListHasBeenSet; }
49 template<typename ParticipantTimerConfigListT = Aws::Vector<ParticipantTimerConfiguration>>
50 void SetParticipantTimerConfigList(ParticipantTimerConfigListT&& value) { m_participantTimerConfigListHasBeenSet = true; m_participantTimerConfigList = std::forward<ParticipantTimerConfigListT>(value); }
51 template<typename ParticipantTimerConfigListT = Aws::Vector<ParticipantTimerConfiguration>>
52 ChatParticipantRoleConfig& WithParticipantTimerConfigList(ParticipantTimerConfigListT&& value) { SetParticipantTimerConfigList(std::forward<ParticipantTimerConfigListT>(value)); return *this;}
53 template<typename ParticipantTimerConfigListT = ParticipantTimerConfiguration>
54 ChatParticipantRoleConfig& AddParticipantTimerConfigList(ParticipantTimerConfigListT&& value) { m_participantTimerConfigListHasBeenSet = true; m_participantTimerConfigList.emplace_back(std::forward<ParticipantTimerConfigListT>(value)); return *this; }
56 private:
57
58 Aws::Vector<ParticipantTimerConfiguration> m_participantTimerConfigList;
59 bool m_participantTimerConfigListHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Connect
64} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ChatParticipantRoleConfig & WithParticipantTimerConfigList(ParticipantTimerConfigListT &&value)
AWS_CONNECT_API ChatParticipantRoleConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ChatParticipantRoleConfig()=default
ChatParticipantRoleConfig & AddParticipantTimerConfigList(ParticipantTimerConfigListT &&value)
void SetParticipantTimerConfigList(ParticipantTimerConfigListT &&value)
AWS_CONNECT_API ChatParticipantRoleConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ParticipantTimerConfiguration > & GetParticipantTimerConfigList() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue