AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RealTimeContactAnalysisAttachment.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/ArtifactStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API RealTimeContactAnalysisAttachment() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAttachmentName() const { return m_attachmentName; }
46 inline bool AttachmentNameHasBeenSet() const { return m_attachmentNameHasBeenSet; }
47 template<typename AttachmentNameT = Aws::String>
48 void SetAttachmentName(AttachmentNameT&& value) { m_attachmentNameHasBeenSet = true; m_attachmentName = std::forward<AttachmentNameT>(value); }
49 template<typename AttachmentNameT = Aws::String>
50 RealTimeContactAnalysisAttachment& WithAttachmentName(AttachmentNameT&& value) { SetAttachmentName(std::forward<AttachmentNameT>(value)); return *this;}
52
54
60 inline const Aws::String& GetContentType() const { return m_contentType; }
61 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
62 template<typename ContentTypeT = Aws::String>
63 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
64 template<typename ContentTypeT = Aws::String>
65 RealTimeContactAnalysisAttachment& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
67
69
72 inline const Aws::String& GetAttachmentId() const { return m_attachmentId; }
73 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
74 template<typename AttachmentIdT = Aws::String>
75 void SetAttachmentId(AttachmentIdT&& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = std::forward<AttachmentIdT>(value); }
76 template<typename AttachmentIdT = Aws::String>
77 RealTimeContactAnalysisAttachment& WithAttachmentId(AttachmentIdT&& value) { SetAttachmentId(std::forward<AttachmentIdT>(value)); return *this;}
79
81
84 inline ArtifactStatus GetStatus() const { return m_status; }
85 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 inline void SetStatus(ArtifactStatus value) { m_statusHasBeenSet = true; m_status = value; }
89 private:
90
91 Aws::String m_attachmentName;
92 bool m_attachmentNameHasBeenSet = false;
93
94 Aws::String m_contentType;
95 bool m_contentTypeHasBeenSet = false;
96
97 Aws::String m_attachmentId;
98 bool m_attachmentIdHasBeenSet = false;
99
101 bool m_statusHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Connect
106} // namespace Aws
RealTimeContactAnalysisAttachment & WithStatus(ArtifactStatus value)
AWS_CONNECT_API RealTimeContactAnalysisAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RealTimeContactAnalysisAttachment & WithContentType(ContentTypeT &&value)
RealTimeContactAnalysisAttachment & WithAttachmentName(AttachmentNameT &&value)
AWS_CONNECT_API RealTimeContactAnalysisAttachment(Aws::Utils::Json::JsonView jsonValue)
RealTimeContactAnalysisAttachment & WithAttachmentId(AttachmentIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue