AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ChatParticipantRoleConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ParticipantTimerConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API ChatParticipantRoleConfig() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<ParticipantTimerConfiguration>& GetParticipantTimerConfigList() const { return m_participantTimerConfigList; }
42 inline bool ParticipantTimerConfigListHasBeenSet() const { return m_participantTimerConfigListHasBeenSet; }
43 template <typename ParticipantTimerConfigListT = Aws::Vector<ParticipantTimerConfiguration>>
44 void SetParticipantTimerConfigList(ParticipantTimerConfigListT&& value) {
45 m_participantTimerConfigListHasBeenSet = true;
46 m_participantTimerConfigList = std::forward<ParticipantTimerConfigListT>(value);
47 }
48 template <typename ParticipantTimerConfigListT = Aws::Vector<ParticipantTimerConfiguration>>
49 ChatParticipantRoleConfig& WithParticipantTimerConfigList(ParticipantTimerConfigListT&& value) {
50 SetParticipantTimerConfigList(std::forward<ParticipantTimerConfigListT>(value));
51 return *this;
52 }
53 template <typename ParticipantTimerConfigListT = ParticipantTimerConfiguration>
54 ChatParticipantRoleConfig& AddParticipantTimerConfigList(ParticipantTimerConfigListT&& value) {
55 m_participantTimerConfigListHasBeenSet = true;
56 m_participantTimerConfigList.emplace_back(std::forward<ParticipantTimerConfigListT>(value));
57 return *this;
58 }
60 private:
61 Aws::Vector<ParticipantTimerConfiguration> m_participantTimerConfigList;
62 bool m_participantTimerConfigListHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Connect
67} // 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