AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Transcript.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/SearchContactsMatchType.h>
10#include <aws/connect/model/TranscriptCriteria.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 Connect
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_CONNECT_API Transcript();
39 AWS_CONNECT_API Transcript(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECT_API Transcript& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<TranscriptCriteria>& GetCriteria() const{ return m_criteria; }
50 inline bool CriteriaHasBeenSet() const { return m_criteriaHasBeenSet; }
51 inline void SetCriteria(const Aws::Vector<TranscriptCriteria>& value) { m_criteriaHasBeenSet = true; m_criteria = value; }
52 inline void SetCriteria(Aws::Vector<TranscriptCriteria>&& value) { m_criteriaHasBeenSet = true; m_criteria = std::move(value); }
53 inline Transcript& WithCriteria(const Aws::Vector<TranscriptCriteria>& value) { SetCriteria(value); return *this;}
54 inline Transcript& WithCriteria(Aws::Vector<TranscriptCriteria>&& value) { SetCriteria(std::move(value)); return *this;}
55 inline Transcript& AddCriteria(const TranscriptCriteria& value) { m_criteriaHasBeenSet = true; m_criteria.push_back(value); return *this; }
56 inline Transcript& AddCriteria(TranscriptCriteria&& value) { m_criteriaHasBeenSet = true; m_criteria.push_back(std::move(value)); return *this; }
58
60
64 inline const SearchContactsMatchType& GetMatchType() const{ return m_matchType; }
65 inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; }
66 inline void SetMatchType(const SearchContactsMatchType& value) { m_matchTypeHasBeenSet = true; m_matchType = value; }
67 inline void SetMatchType(SearchContactsMatchType&& value) { m_matchTypeHasBeenSet = true; m_matchType = std::move(value); }
68 inline Transcript& WithMatchType(const SearchContactsMatchType& value) { SetMatchType(value); return *this;}
69 inline Transcript& WithMatchType(SearchContactsMatchType&& value) { SetMatchType(std::move(value)); return *this;}
71 private:
72
74 bool m_criteriaHasBeenSet = false;
75
76 SearchContactsMatchType m_matchType;
77 bool m_matchTypeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Connect
82} // namespace Aws
void SetCriteria(Aws::Vector< TranscriptCriteria > &&value)
Definition Transcript.h:52
Transcript & WithCriteria(const Aws::Vector< TranscriptCriteria > &value)
Definition Transcript.h:53
Transcript & AddCriteria(const TranscriptCriteria &value)
Definition Transcript.h:55
AWS_CONNECT_API Transcript(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TranscriptCriteria > & GetCriteria() const
Definition Transcript.h:49
void SetMatchType(SearchContactsMatchType &&value)
Definition Transcript.h:67
Transcript & WithMatchType(SearchContactsMatchType &&value)
Definition Transcript.h:69
Transcript & WithCriteria(Aws::Vector< TranscriptCriteria > &&value)
Definition Transcript.h:54
AWS_CONNECT_API Transcript & operator=(Aws::Utils::Json::JsonView jsonValue)
const SearchContactsMatchType & GetMatchType() const
Definition Transcript.h:64
Transcript & WithMatchType(const SearchContactsMatchType &value)
Definition Transcript.h:68
Transcript & AddCriteria(TranscriptCriteria &&value)
Definition Transcript.h:56
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCriteria(const Aws::Vector< TranscriptCriteria > &value)
Definition Transcript.h:51
void SetMatchType(const SearchContactsMatchType &value)
Definition Transcript.h:66
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue