AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RealTimeContactAnalysisSegmentAttachments.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ParticipantRole.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connect/model/RealTimeContactAnalysisTimeData.h>
12#include <aws/connect/model/RealTimeContactAnalysisAttachment.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Connect
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_CONNECT_API RealTimeContactAnalysisSegmentAttachments() = default;
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 RealTimeContactAnalysisSegmentAttachments& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetParticipantId() const { return m_participantId; }
61 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
62 template<typename ParticipantIdT = Aws::String>
63 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet = true; m_participantId = std::forward<ParticipantIdT>(value); }
64 template<typename ParticipantIdT = Aws::String>
65 RealTimeContactAnalysisSegmentAttachments& WithParticipantId(ParticipantIdT&& value) { SetParticipantId(std::forward<ParticipantIdT>(value)); return *this;}
67
69
73 inline ParticipantRole GetParticipantRole() const { return m_participantRole; }
74 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
75 inline void SetParticipantRole(ParticipantRole value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
78
80
83 inline const Aws::String& GetDisplayName() const { return m_displayName; }
84 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
85 template<typename DisplayNameT = Aws::String>
86 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
87 template<typename DisplayNameT = Aws::String>
88 RealTimeContactAnalysisSegmentAttachments& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
90
92
95 inline const Aws::Vector<RealTimeContactAnalysisAttachment>& GetAttachments() const { return m_attachments; }
96 inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; }
97 template<typename AttachmentsT = Aws::Vector<RealTimeContactAnalysisAttachment>>
98 void SetAttachments(AttachmentsT&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::forward<AttachmentsT>(value); }
99 template<typename AttachmentsT = Aws::Vector<RealTimeContactAnalysisAttachment>>
100 RealTimeContactAnalysisSegmentAttachments& WithAttachments(AttachmentsT&& value) { SetAttachments(std::forward<AttachmentsT>(value)); return *this;}
101 template<typename AttachmentsT = RealTimeContactAnalysisAttachment>
102 RealTimeContactAnalysisSegmentAttachments& AddAttachments(AttachmentsT&& value) { m_attachmentsHasBeenSet = true; m_attachments.emplace_back(std::forward<AttachmentsT>(value)); return *this; }
104
106
110 inline const RealTimeContactAnalysisTimeData& GetTime() const { return m_time; }
111 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
112 template<typename TimeT = RealTimeContactAnalysisTimeData>
113 void SetTime(TimeT&& value) { m_timeHasBeenSet = true; m_time = std::forward<TimeT>(value); }
114 template<typename TimeT = RealTimeContactAnalysisTimeData>
115 RealTimeContactAnalysisSegmentAttachments& WithTime(TimeT&& value) { SetTime(std::forward<TimeT>(value)); return *this;}
117 private:
118
119 Aws::String m_id;
120 bool m_idHasBeenSet = false;
121
122 Aws::String m_participantId;
123 bool m_participantIdHasBeenSet = false;
124
125 ParticipantRole m_participantRole{ParticipantRole::NOT_SET};
126 bool m_participantRoleHasBeenSet = false;
127
128 Aws::String m_displayName;
129 bool m_displayNameHasBeenSet = false;
130
132 bool m_attachmentsHasBeenSet = false;
133
134 RealTimeContactAnalysisTimeData m_time;
135 bool m_timeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace Connect
140} // namespace Aws
RealTimeContactAnalysisSegmentAttachments & WithParticipantRole(ParticipantRole value)
const Aws::Vector< RealTimeContactAnalysisAttachment > & GetAttachments() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API RealTimeContactAnalysisSegmentAttachments(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API RealTimeContactAnalysisSegmentAttachments & operator=(Aws::Utils::Json::JsonView jsonValue)
RealTimeContactAnalysisSegmentAttachments & WithAttachments(AttachmentsT &&value)
RealTimeContactAnalysisSegmentAttachments & WithParticipantId(ParticipantIdT &&value)
RealTimeContactAnalysisSegmentAttachments & WithDisplayName(DisplayNameT &&value)
RealTimeContactAnalysisSegmentAttachments & AddAttachments(AttachmentsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue