AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ParticipantTimerConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/TimerEligibleParticipantRoles.h>
9#include <aws/connect/model/ParticipantTimerType.h>
10#include <aws/connect/model/ParticipantTimerValue.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_CONNECT_API ParticipantTimerConfiguration() = default;
44 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline TimerEligibleParticipantRoles GetParticipantRole() const { return m_participantRole; }
52 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
53 inline void SetParticipantRole(TimerEligibleParticipantRoles value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
56
58
64 inline ParticipantTimerType GetTimerType() const { return m_timerType; }
65 inline bool TimerTypeHasBeenSet() const { return m_timerTypeHasBeenSet; }
66 inline void SetTimerType(ParticipantTimerType value) { m_timerTypeHasBeenSet = true; m_timerType = value; }
69
71
75 inline const ParticipantTimerValue& GetTimerValue() const { return m_timerValue; }
76 inline bool TimerValueHasBeenSet() const { return m_timerValueHasBeenSet; }
77 template<typename TimerValueT = ParticipantTimerValue>
78 void SetTimerValue(TimerValueT&& value) { m_timerValueHasBeenSet = true; m_timerValue = std::forward<TimerValueT>(value); }
79 template<typename TimerValueT = ParticipantTimerValue>
80 ParticipantTimerConfiguration& WithTimerValue(TimerValueT&& value) { SetTimerValue(std::forward<TimerValueT>(value)); return *this;}
82 private:
83
85 bool m_participantRoleHasBeenSet = false;
86
88 bool m_timerTypeHasBeenSet = false;
89
90 ParticipantTimerValue m_timerValue;
91 bool m_timerValueHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Connect
96} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ParticipantTimerConfiguration()=default
ParticipantTimerConfiguration & WithParticipantRole(TimerEligibleParticipantRoles value)
void SetParticipantRole(TimerEligibleParticipantRoles value)
ParticipantTimerConfiguration & WithTimerType(ParticipantTimerType value)
AWS_CONNECT_API ParticipantTimerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ParticipantTimerConfiguration & WithTimerValue(TimerValueT &&value)
AWS_CONNECT_API ParticipantTimerConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue