AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
RealTimeContactAnalysisAttachment.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ArtifactStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
29 public:
30 AWS_CONNECT_API RealTimeContactAnalysisAttachment() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAttachmentName() const { return m_attachmentName; }
40 inline bool AttachmentNameHasBeenSet() const { return m_attachmentNameHasBeenSet; }
41 template <typename AttachmentNameT = Aws::String>
42 void SetAttachmentName(AttachmentNameT&& value) {
43 m_attachmentNameHasBeenSet = true;
44 m_attachmentName = std::forward<AttachmentNameT>(value);
45 }
46 template <typename AttachmentNameT = Aws::String>
48 SetAttachmentName(std::forward<AttachmentNameT>(value));
49 return *this;
50 }
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) {
64 m_contentTypeHasBeenSet = true;
65 m_contentType = std::forward<ContentTypeT>(value);
66 }
67 template <typename ContentTypeT = Aws::String>
69 SetContentType(std::forward<ContentTypeT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetAttachmentId() const { return m_attachmentId; }
79 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
80 template <typename AttachmentIdT = Aws::String>
81 void SetAttachmentId(AttachmentIdT&& value) {
82 m_attachmentIdHasBeenSet = true;
83 m_attachmentId = std::forward<AttachmentIdT>(value);
84 }
85 template <typename AttachmentIdT = Aws::String>
87 SetAttachmentId(std::forward<AttachmentIdT>(value));
88 return *this;
89 }
91
93
96 inline ArtifactStatus GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 inline void SetStatus(ArtifactStatus value) {
99 m_statusHasBeenSet = true;
100 m_status = value;
101 }
103 SetStatus(value);
104 return *this;
105 }
107 private:
108 Aws::String m_attachmentName;
109
110 Aws::String m_contentType;
111
112 Aws::String m_attachmentId;
113
115 bool m_attachmentNameHasBeenSet = false;
116 bool m_contentTypeHasBeenSet = false;
117 bool m_attachmentIdHasBeenSet = false;
118 bool m_statusHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Connect
123} // 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