AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
Transcript.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/SearchContactsMatchType.h>
9#include <aws/connect/model/TranscriptCriteria.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
32 public:
33 AWS_CONNECT_API Transcript() = default;
34 AWS_CONNECT_API Transcript(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONNECT_API Transcript& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::Vector<TranscriptCriteria>& GetCriteria() const { return m_criteria; }
44 inline bool CriteriaHasBeenSet() const { return m_criteriaHasBeenSet; }
45 template <typename CriteriaT = Aws::Vector<TranscriptCriteria>>
46 void SetCriteria(CriteriaT&& value) {
47 m_criteriaHasBeenSet = true;
48 m_criteria = std::forward<CriteriaT>(value);
49 }
50 template <typename CriteriaT = Aws::Vector<TranscriptCriteria>>
51 Transcript& WithCriteria(CriteriaT&& value) {
52 SetCriteria(std::forward<CriteriaT>(value));
53 return *this;
54 }
55 template <typename CriteriaT = TranscriptCriteria>
56 Transcript& AddCriteria(CriteriaT&& value) {
57 m_criteriaHasBeenSet = true;
58 m_criteria.emplace_back(std::forward<CriteriaT>(value));
59 return *this;
60 }
62
64
68 inline SearchContactsMatchType GetMatchType() const { return m_matchType; }
69 inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; }
71 m_matchTypeHasBeenSet = true;
72 m_matchType = value;
73 }
75 SetMatchType(value);
76 return *this;
77 }
79 private:
81
83 bool m_criteriaHasBeenSet = false;
84 bool m_matchTypeHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace Connect
89} // namespace Aws
void SetCriteria(CriteriaT &&value)
Definition Transcript.h:46
AWS_CONNECT_API Transcript(Aws::Utils::Json::JsonView jsonValue)
Transcript & AddCriteria(CriteriaT &&value)
Definition Transcript.h:56
const Aws::Vector< TranscriptCriteria > & GetCriteria() const
Definition Transcript.h:43
AWS_CONNECT_API Transcript()=default
Transcript & WithMatchType(SearchContactsMatchType value)
Definition Transcript.h:74
void SetMatchType(SearchContactsMatchType value)
Definition Transcript.h:70
Transcript & WithCriteria(CriteriaT &&value)
Definition Transcript.h:51
AWS_CONNECT_API Transcript & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchContactsMatchType GetMatchType() const
Definition Transcript.h:68
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue