AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RealtimeContactAnalysisSegment.h
1
6#pragma once
7#include <aws/connect-contact-lens/ConnectContactLens_EXPORTS.h>
8#include <aws/connect-contact-lens/model/Transcript.h>
9#include <aws/connect-contact-lens/model/Categories.h>
10#include <aws/connect-contact-lens/model/PostContactSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConnectContactLens
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CONNECTCONTACTLENS_API RealtimeContactAnalysisSegment() = default;
38 AWS_CONNECTCONTACTLENS_API RealtimeContactAnalysisSegment(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Transcript& GetTranscript() const { return m_transcript; }
48 inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; }
49 template<typename TranscriptT = Transcript>
50 void SetTranscript(TranscriptT&& value) { m_transcriptHasBeenSet = true; m_transcript = std::forward<TranscriptT>(value); }
51 template<typename TranscriptT = Transcript>
52 RealtimeContactAnalysisSegment& WithTranscript(TranscriptT&& value) { SetTranscript(std::forward<TranscriptT>(value)); return *this;}
54
56
59 inline const Categories& GetCategories() const { return m_categories; }
60 inline bool CategoriesHasBeenSet() const { return m_categoriesHasBeenSet; }
61 template<typename CategoriesT = Categories>
62 void SetCategories(CategoriesT&& value) { m_categoriesHasBeenSet = true; m_categories = std::forward<CategoriesT>(value); }
63 template<typename CategoriesT = Categories>
64 RealtimeContactAnalysisSegment& WithCategories(CategoriesT&& value) { SetCategories(std::forward<CategoriesT>(value)); return *this;}
66
68
71 inline const PostContactSummary& GetPostContactSummary() const { return m_postContactSummary; }
72 inline bool PostContactSummaryHasBeenSet() const { return m_postContactSummaryHasBeenSet; }
73 template<typename PostContactSummaryT = PostContactSummary>
74 void SetPostContactSummary(PostContactSummaryT&& value) { m_postContactSummaryHasBeenSet = true; m_postContactSummary = std::forward<PostContactSummaryT>(value); }
75 template<typename PostContactSummaryT = PostContactSummary>
76 RealtimeContactAnalysisSegment& WithPostContactSummary(PostContactSummaryT&& value) { SetPostContactSummary(std::forward<PostContactSummaryT>(value)); return *this;}
78 private:
79
80 Transcript m_transcript;
81 bool m_transcriptHasBeenSet = false;
82
83 Categories m_categories;
84 bool m_categoriesHasBeenSet = false;
85
86 PostContactSummary m_postContactSummary;
87 bool m_postContactSummaryHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ConnectContactLens
92} // namespace Aws
AWS_CONNECTCONTACTLENS_API RealtimeContactAnalysisSegment()=default
AWS_CONNECTCONTACTLENS_API RealtimeContactAnalysisSegment(Aws::Utils::Json::JsonView jsonValue)
RealtimeContactAnalysisSegment & WithTranscript(TranscriptT &&value)
AWS_CONNECTCONTACTLENS_API RealtimeContactAnalysisSegment & operator=(Aws::Utils::Json::JsonView jsonValue)
RealtimeContactAnalysisSegment & WithPostContactSummary(PostContactSummaryT &&value)
AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const
RealtimeContactAnalysisSegment & WithCategories(CategoriesT &&value)
Aws::Utils::Json::JsonValue JsonValue