AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ParticipantTimerConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ParticipantTimerType.h>
9#include <aws/connect/model/ParticipantTimerValue.h>
10#include <aws/connect/model/TimerEligibleParticipantRoles.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
35 public:
36 AWS_CONNECT_API ParticipantTimerConfiguration() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline TimerEligibleParticipantRoles GetParticipantRole() const { return m_participantRole; }
46 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
48 m_participantRoleHasBeenSet = true;
49 m_participantRole = value;
50 }
52 SetParticipantRole(value);
53 return *this;
54 }
56
58
64 inline ParticipantTimerType GetTimerType() const { return m_timerType; }
65 inline bool TimerTypeHasBeenSet() const { return m_timerTypeHasBeenSet; }
67 m_timerTypeHasBeenSet = true;
68 m_timerType = value;
69 }
71 SetTimerType(value);
72 return *this;
73 }
75
77
81 inline const ParticipantTimerValue& GetTimerValue() const { return m_timerValue; }
82 inline bool TimerValueHasBeenSet() const { return m_timerValueHasBeenSet; }
83 template <typename TimerValueT = ParticipantTimerValue>
84 void SetTimerValue(TimerValueT&& value) {
85 m_timerValueHasBeenSet = true;
86 m_timerValue = std::forward<TimerValueT>(value);
87 }
88 template <typename TimerValueT = ParticipantTimerValue>
90 SetTimerValue(std::forward<TimerValueT>(value));
91 return *this;
92 }
94 private:
96
98
99 ParticipantTimerValue m_timerValue;
100 bool m_participantRoleHasBeenSet = false;
101 bool m_timerTypeHasBeenSet = false;
102 bool m_timerValueHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Connect
107} // 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