AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Rule.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/model/NonTalkTimeFilter.h>
9#include <aws/transcribe/model/InterruptionFilter.h>
10#include <aws/transcribe/model/TranscriptFilter.h>
11#include <aws/transcribe/model/SentimentFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace TranscribeService
25{
26namespace Model
27{
28
44 class Rule
45 {
46 public:
47 AWS_TRANSCRIBESERVICE_API Rule();
48 AWS_TRANSCRIBESERVICE_API Rule(Aws::Utils::Json::JsonView jsonValue);
49 AWS_TRANSCRIBESERVICE_API Rule& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
58 inline const NonTalkTimeFilter& GetNonTalkTimeFilter() const{ return m_nonTalkTimeFilter; }
59 inline bool NonTalkTimeFilterHasBeenSet() const { return m_nonTalkTimeFilterHasBeenSet; }
60 inline void SetNonTalkTimeFilter(const NonTalkTimeFilter& value) { m_nonTalkTimeFilterHasBeenSet = true; m_nonTalkTimeFilter = value; }
61 inline void SetNonTalkTimeFilter(NonTalkTimeFilter&& value) { m_nonTalkTimeFilterHasBeenSet = true; m_nonTalkTimeFilter = std::move(value); }
62 inline Rule& WithNonTalkTimeFilter(const NonTalkTimeFilter& value) { SetNonTalkTimeFilter(value); return *this;}
63 inline Rule& WithNonTalkTimeFilter(NonTalkTimeFilter&& value) { SetNonTalkTimeFilter(std::move(value)); return *this;}
65
67
71 inline const InterruptionFilter& GetInterruptionFilter() const{ return m_interruptionFilter; }
72 inline bool InterruptionFilterHasBeenSet() const { return m_interruptionFilterHasBeenSet; }
73 inline void SetInterruptionFilter(const InterruptionFilter& value) { m_interruptionFilterHasBeenSet = true; m_interruptionFilter = value; }
74 inline void SetInterruptionFilter(InterruptionFilter&& value) { m_interruptionFilterHasBeenSet = true; m_interruptionFilter = std::move(value); }
75 inline Rule& WithInterruptionFilter(const InterruptionFilter& value) { SetInterruptionFilter(value); return *this;}
76 inline Rule& WithInterruptionFilter(InterruptionFilter&& value) { SetInterruptionFilter(std::move(value)); return *this;}
78
80
84 inline const TranscriptFilter& GetTranscriptFilter() const{ return m_transcriptFilter; }
85 inline bool TranscriptFilterHasBeenSet() const { return m_transcriptFilterHasBeenSet; }
86 inline void SetTranscriptFilter(const TranscriptFilter& value) { m_transcriptFilterHasBeenSet = true; m_transcriptFilter = value; }
87 inline void SetTranscriptFilter(TranscriptFilter&& value) { m_transcriptFilterHasBeenSet = true; m_transcriptFilter = std::move(value); }
88 inline Rule& WithTranscriptFilter(const TranscriptFilter& value) { SetTranscriptFilter(value); return *this;}
89 inline Rule& WithTranscriptFilter(TranscriptFilter&& value) { SetTranscriptFilter(std::move(value)); return *this;}
91
93
97 inline const SentimentFilter& GetSentimentFilter() const{ return m_sentimentFilter; }
98 inline bool SentimentFilterHasBeenSet() const { return m_sentimentFilterHasBeenSet; }
99 inline void SetSentimentFilter(const SentimentFilter& value) { m_sentimentFilterHasBeenSet = true; m_sentimentFilter = value; }
100 inline void SetSentimentFilter(SentimentFilter&& value) { m_sentimentFilterHasBeenSet = true; m_sentimentFilter = std::move(value); }
101 inline Rule& WithSentimentFilter(const SentimentFilter& value) { SetSentimentFilter(value); return *this;}
102 inline Rule& WithSentimentFilter(SentimentFilter&& value) { SetSentimentFilter(std::move(value)); return *this;}
104 private:
105
106 NonTalkTimeFilter m_nonTalkTimeFilter;
107 bool m_nonTalkTimeFilterHasBeenSet = false;
108
109 InterruptionFilter m_interruptionFilter;
110 bool m_interruptionFilterHasBeenSet = false;
111
112 TranscriptFilter m_transcriptFilter;
113 bool m_transcriptFilterHasBeenSet = false;
114
115 SentimentFilter m_sentimentFilter;
116 bool m_sentimentFilterHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace TranscribeService
121} // namespace Aws
bool InterruptionFilterHasBeenSet() const
Definition Rule.h:72
void SetInterruptionFilter(const InterruptionFilter &value)
Definition Rule.h:73
void SetNonTalkTimeFilter(const NonTalkTimeFilter &value)
Definition Rule.h:60
const InterruptionFilter & GetInterruptionFilter() const
Definition Rule.h:71
Rule & WithTranscriptFilter(const TranscriptFilter &value)
Definition Rule.h:88
Rule & WithNonTalkTimeFilter(NonTalkTimeFilter &&value)
Definition Rule.h:63
Rule & WithInterruptionFilter(const InterruptionFilter &value)
Definition Rule.h:75
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSentimentFilter(SentimentFilter &&value)
Definition Rule.h:100
AWS_TRANSCRIBESERVICE_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
Rule & WithSentimentFilter(SentimentFilter &&value)
Definition Rule.h:102
AWS_TRANSCRIBESERVICE_API Rule()
Rule & WithTranscriptFilter(TranscriptFilter &&value)
Definition Rule.h:89
void SetSentimentFilter(const SentimentFilter &value)
Definition Rule.h:99
const SentimentFilter & GetSentimentFilter() const
Definition Rule.h:97
bool SentimentFilterHasBeenSet() const
Definition Rule.h:98
const NonTalkTimeFilter & GetNonTalkTimeFilter() const
Definition Rule.h:58
bool TranscriptFilterHasBeenSet() const
Definition Rule.h:85
void SetTranscriptFilter(const TranscriptFilter &value)
Definition Rule.h:86
Rule & WithNonTalkTimeFilter(const NonTalkTimeFilter &value)
Definition Rule.h:62
void SetNonTalkTimeFilter(NonTalkTimeFilter &&value)
Definition Rule.h:61
void SetInterruptionFilter(InterruptionFilter &&value)
Definition Rule.h:74
Rule & WithSentimentFilter(const SentimentFilter &value)
Definition Rule.h:101
Rule & WithInterruptionFilter(InterruptionFilter &&value)
Definition Rule.h:76
bool NonTalkTimeFilterHasBeenSet() const
Definition Rule.h:59
void SetTranscriptFilter(TranscriptFilter &&value)
Definition Rule.h:87
const TranscriptFilter & GetTranscriptFilter() const
Definition Rule.h:84
AWS_TRANSCRIBESERVICE_API Rule(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue