AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
44 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const TimerEligibleParticipantRoles& GetParticipantRole() const{ return m_participantRole; }
52 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
53 inline void SetParticipantRole(const TimerEligibleParticipantRoles& value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
54 inline void SetParticipantRole(TimerEligibleParticipantRoles&& value) { m_participantRoleHasBeenSet = true; m_participantRole = std::move(value); }
58
60
66 inline const ParticipantTimerType& GetTimerType() const{ return m_timerType; }
67 inline bool TimerTypeHasBeenSet() const { return m_timerTypeHasBeenSet; }
68 inline void SetTimerType(const ParticipantTimerType& value) { m_timerTypeHasBeenSet = true; m_timerType = value; }
69 inline void SetTimerType(ParticipantTimerType&& value) { m_timerTypeHasBeenSet = true; m_timerType = std::move(value); }
71 inline ParticipantTimerConfiguration& WithTimerType(ParticipantTimerType&& value) { SetTimerType(std::move(value)); return *this;}
73
75
79 inline const ParticipantTimerValue& GetTimerValue() const{ return m_timerValue; }
80 inline bool TimerValueHasBeenSet() const { return m_timerValueHasBeenSet; }
81 inline void SetTimerValue(const ParticipantTimerValue& value) { m_timerValueHasBeenSet = true; m_timerValue = value; }
82 inline void SetTimerValue(ParticipantTimerValue&& value) { m_timerValueHasBeenSet = true; m_timerValue = std::move(value); }
84 inline ParticipantTimerConfiguration& WithTimerValue(ParticipantTimerValue&& value) { SetTimerValue(std::move(value)); return *this;}
86 private:
87
88 TimerEligibleParticipantRoles m_participantRole;
89 bool m_participantRoleHasBeenSet = false;
90
91 ParticipantTimerType m_timerType;
92 bool m_timerTypeHasBeenSet = false;
93
94 ParticipantTimerValue m_timerValue;
95 bool m_timerValueHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Connect
100} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ParticipantTimerConfiguration & WithTimerType(const ParticipantTimerType &value)
ParticipantTimerConfiguration & WithTimerValue(const ParticipantTimerValue &value)
AWS_CONNECT_API ParticipantTimerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParticipantRole(TimerEligibleParticipantRoles &&value)
const TimerEligibleParticipantRoles & GetParticipantRole() const
ParticipantTimerConfiguration & WithTimerValue(ParticipantTimerValue &&value)
void SetParticipantRole(const TimerEligibleParticipantRoles &value)
ParticipantTimerConfiguration & WithParticipantRole(const TimerEligibleParticipantRoles &value)
ParticipantTimerConfiguration & WithParticipantRole(TimerEligibleParticipantRoles &&value)
AWS_CONNECT_API ParticipantTimerConfiguration(Aws::Utils::Json::JsonView jsonValue)
ParticipantTimerConfiguration & WithTimerType(ParticipantTimerType &&value)
Aws::Utils::Json::JsonValue JsonValue