AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline RealTimeContactAnalysisSegmentAttachments& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline RealTimeContactAnalysisSegmentAttachments& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline RealTimeContactAnalysisSegmentAttachments& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetParticipantId() const{ return m_participantId; }
63 inline bool ParticipantIdHasBeenSet() const { return m_participantIdHasBeenSet; }
64 inline void SetParticipantId(const Aws::String& value) { m_participantIdHasBeenSet = true; m_participantId = value; }
65 inline void SetParticipantId(Aws::String&& value) { m_participantIdHasBeenSet = true; m_participantId = std::move(value); }
66 inline void SetParticipantId(const char* value) { m_participantIdHasBeenSet = true; m_participantId.assign(value); }
69 inline RealTimeContactAnalysisSegmentAttachments& WithParticipantId(const char* value) { SetParticipantId(value); return *this;}
71
73
77 inline const ParticipantRole& GetParticipantRole() const{ return m_participantRole; }
78 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
79 inline void SetParticipantRole(const ParticipantRole& value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
80 inline void SetParticipantRole(ParticipantRole&& value) { m_participantRoleHasBeenSet = true; m_participantRole = std::move(value); }
84
86
89 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
90 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
91 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
92 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
93 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
95 inline RealTimeContactAnalysisSegmentAttachments& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
96 inline RealTimeContactAnalysisSegmentAttachments& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
98
100
103 inline const Aws::Vector<RealTimeContactAnalysisAttachment>& GetAttachments() const{ return m_attachments; }
104 inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; }
105 inline void SetAttachments(const Aws::Vector<RealTimeContactAnalysisAttachment>& value) { m_attachmentsHasBeenSet = true; m_attachments = value; }
106 inline void SetAttachments(Aws::Vector<RealTimeContactAnalysisAttachment>&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); }
109 inline RealTimeContactAnalysisSegmentAttachments& AddAttachments(const RealTimeContactAnalysisAttachment& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(value); return *this; }
110 inline RealTimeContactAnalysisSegmentAttachments& AddAttachments(RealTimeContactAnalysisAttachment&& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(std::move(value)); return *this; }
112
114
118 inline const RealTimeContactAnalysisTimeData& GetTime() const{ return m_time; }
119 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
120 inline void SetTime(const RealTimeContactAnalysisTimeData& value) { m_timeHasBeenSet = true; m_time = value; }
121 inline void SetTime(RealTimeContactAnalysisTimeData&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
125 private:
126
127 Aws::String m_id;
128 bool m_idHasBeenSet = false;
129
130 Aws::String m_participantId;
131 bool m_participantIdHasBeenSet = false;
132
133 ParticipantRole m_participantRole;
134 bool m_participantRoleHasBeenSet = false;
135
136 Aws::String m_displayName;
137 bool m_displayNameHasBeenSet = false;
138
140 bool m_attachmentsHasBeenSet = false;
141
143 bool m_timeHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Connect
148} // namespace Aws
RealTimeContactAnalysisSegmentAttachments & WithId(Aws::String &&value)
RealTimeContactAnalysisSegmentAttachments & WithAttachments(Aws::Vector< RealTimeContactAnalysisAttachment > &&value)
RealTimeContactAnalysisSegmentAttachments & WithParticipantRole(ParticipantRole &&value)
const Aws::Vector< RealTimeContactAnalysisAttachment > & GetAttachments() const
RealTimeContactAnalysisSegmentAttachments & WithParticipantId(const char *value)
RealTimeContactAnalysisSegmentAttachments & WithParticipantRole(const ParticipantRole &value)
RealTimeContactAnalysisSegmentAttachments & WithParticipantId(Aws::String &&value)
RealTimeContactAnalysisSegmentAttachments & WithTime(const RealTimeContactAnalysisTimeData &value)
RealTimeContactAnalysisSegmentAttachments & WithTime(RealTimeContactAnalysisTimeData &&value)
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 & WithId(const char *value)
RealTimeContactAnalysisSegmentAttachments & WithParticipantId(const Aws::String &value)
RealTimeContactAnalysisSegmentAttachments & WithDisplayName(const char *value)
RealTimeContactAnalysisSegmentAttachments & AddAttachments(const RealTimeContactAnalysisAttachment &value)
RealTimeContactAnalysisSegmentAttachments & WithId(const Aws::String &value)
void SetAttachments(const Aws::Vector< RealTimeContactAnalysisAttachment > &value)
RealTimeContactAnalysisSegmentAttachments & WithDisplayName(const Aws::String &value)
RealTimeContactAnalysisSegmentAttachments & WithDisplayName(Aws::String &&value)
void SetAttachments(Aws::Vector< RealTimeContactAnalysisAttachment > &&value)
RealTimeContactAnalysisSegmentAttachments & AddAttachments(RealTimeContactAnalysisAttachment &&value)
RealTimeContactAnalysisSegmentAttachments & WithAttachments(const Aws::Vector< RealTimeContactAnalysisAttachment > &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