AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAttachmentName(const Aws::String& value) { m_attachmentNameHasBeenSet = true; m_attachmentName = value; }
48 inline void SetAttachmentName(Aws::String&& value) { m_attachmentNameHasBeenSet = true; m_attachmentName = std::move(value); }
49 inline void SetAttachmentName(const char* value) { m_attachmentNameHasBeenSet = true; m_attachmentName.assign(value); }
51 inline RealTimeContactAnalysisAttachment& WithAttachmentName(Aws::String&& value) { SetAttachmentName(std::move(value)); return *this;}
52 inline RealTimeContactAnalysisAttachment& WithAttachmentName(const char* value) { SetAttachmentName(value); return *this;}
54
56
62 inline const Aws::String& GetContentType() const{ return m_contentType; }
63 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
64 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
65 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
66 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
67 inline RealTimeContactAnalysisAttachment& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
68 inline RealTimeContactAnalysisAttachment& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
69 inline RealTimeContactAnalysisAttachment& WithContentType(const char* value) { SetContentType(value); return *this;}
71
73
76 inline const Aws::String& GetAttachmentId() const{ return m_attachmentId; }
77 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
78 inline void SetAttachmentId(const Aws::String& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = value; }
79 inline void SetAttachmentId(Aws::String&& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = std::move(value); }
80 inline void SetAttachmentId(const char* value) { m_attachmentIdHasBeenSet = true; m_attachmentId.assign(value); }
82 inline RealTimeContactAnalysisAttachment& WithAttachmentId(Aws::String&& value) { SetAttachmentId(std::move(value)); return *this;}
83 inline RealTimeContactAnalysisAttachment& WithAttachmentId(const char* value) { SetAttachmentId(value); return *this;}
85
87
90 inline const ArtifactStatus& GetStatus() const{ return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(const ArtifactStatus& value) { m_statusHasBeenSet = true; m_status = value; }
93 inline void SetStatus(ArtifactStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
94 inline RealTimeContactAnalysisAttachment& WithStatus(const ArtifactStatus& value) { SetStatus(value); return *this;}
95 inline RealTimeContactAnalysisAttachment& WithStatus(ArtifactStatus&& value) { SetStatus(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_attachmentName;
100 bool m_attachmentNameHasBeenSet = false;
101
102 Aws::String m_contentType;
103 bool m_contentTypeHasBeenSet = false;
104
105 Aws::String m_attachmentId;
106 bool m_attachmentIdHasBeenSet = false;
107
108 ArtifactStatus m_status;
109 bool m_statusHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Connect
114} // namespace Aws
RealTimeContactAnalysisAttachment & WithContentType(const char *value)
RealTimeContactAnalysisAttachment & WithAttachmentName(const char *value)
RealTimeContactAnalysisAttachment & WithAttachmentId(const Aws::String &value)
AWS_CONNECT_API RealTimeContactAnalysisAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RealTimeContactAnalysisAttachment & WithContentType(Aws::String &&value)
RealTimeContactAnalysisAttachment & WithStatus(const ArtifactStatus &value)
RealTimeContactAnalysisAttachment & WithContentType(const Aws::String &value)
AWS_CONNECT_API RealTimeContactAnalysisAttachment(Aws::Utils::Json::JsonView jsonValue)
RealTimeContactAnalysisAttachment & WithAttachmentName(Aws::String &&value)
RealTimeContactAnalysisAttachment & WithAttachmentId(Aws::String &&value)
RealTimeContactAnalysisAttachment & WithStatus(ArtifactStatus &&value)
RealTimeContactAnalysisAttachment & WithAttachmentName(const Aws::String &value)
RealTimeContactAnalysisAttachment & WithAttachmentId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue