AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ParticipantTimerValue.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ParticipantTimerAction.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
32 public:
33 AWS_CONNECT_API ParticipantTimerValue() = default;
36 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline ParticipantTimerAction GetParticipantTimerAction() const { return m_participantTimerAction; }
44 inline bool ParticipantTimerActionHasBeenSet() const { return m_participantTimerActionHasBeenSet; }
46 m_participantTimerActionHasBeenSet = true;
47 m_participantTimerAction = value;
48 }
51 return *this;
52 }
54
56
59 inline int GetParticipantTimerDurationInMinutes() const { return m_participantTimerDurationInMinutes; }
60 inline bool ParticipantTimerDurationInMinutesHasBeenSet() const { return m_participantTimerDurationInMinutesHasBeenSet; }
61 inline void SetParticipantTimerDurationInMinutes(int value) {
62 m_participantTimerDurationInMinutesHasBeenSet = true;
63 m_participantTimerDurationInMinutes = value;
64 }
67 return *this;
68 }
70 private:
72
73 int m_participantTimerDurationInMinutes{0};
74 bool m_participantTimerActionHasBeenSet = false;
75 bool m_participantTimerDurationInMinutesHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Connect
80} // namespace Aws
AWS_CONNECT_API ParticipantTimerValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ParticipantTimerValue()=default
ParticipantTimerValue & WithParticipantTimerAction(ParticipantTimerAction value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ParticipantTimerValue(Aws::Utils::Json::JsonView jsonValue)
ParticipantTimerAction GetParticipantTimerAction() const
ParticipantTimerValue & WithParticipantTimerDurationInMinutes(int value)
void SetParticipantTimerAction(ParticipantTimerAction value)
Aws::Utils::Json::JsonValue JsonValue