AWS SDK for C++

AWS SDK for C++ Version 1.11.878

Loading...
Searching...
No Matches
ExtractionConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ExtractionDefinitionNotFoundBehavior.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API ExtractionConfiguration() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetPromptHint() const { return m_promptHint; }
42 inline bool PromptHintHasBeenSet() const { return m_promptHintHasBeenSet; }
43 template <typename PromptHintT = Aws::String>
44 void SetPromptHint(PromptHintT&& value) {
45 m_promptHintHasBeenSet = true;
46 m_promptHint = std::forward<PromptHintT>(value);
47 }
48 template <typename PromptHintT = Aws::String>
50 SetPromptHint(std::forward<PromptHintT>(value));
51 return *this;
52 }
54
56
60 inline const ExtractionDefinitionNotFoundBehavior& GetNotFoundBehavior() const { return m_notFoundBehavior; }
61 inline bool NotFoundBehaviorHasBeenSet() const { return m_notFoundBehaviorHasBeenSet; }
62 template <typename NotFoundBehaviorT = ExtractionDefinitionNotFoundBehavior>
63 void SetNotFoundBehavior(NotFoundBehaviorT&& value) {
64 m_notFoundBehaviorHasBeenSet = true;
65 m_notFoundBehavior = std::forward<NotFoundBehaviorT>(value);
66 }
67 template <typename NotFoundBehaviorT = ExtractionDefinitionNotFoundBehavior>
68 ExtractionConfiguration& WithNotFoundBehavior(NotFoundBehaviorT&& value) {
69 SetNotFoundBehavior(std::forward<NotFoundBehaviorT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_promptHint;
75
76 ExtractionDefinitionNotFoundBehavior m_notFoundBehavior;
77 bool m_promptHintHasBeenSet = false;
78 bool m_notFoundBehaviorHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Connect
83} // namespace Aws
AWS_CONNECT_API ExtractionConfiguration()=default
AWS_CONNECT_API ExtractionConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExtractionConfiguration & WithNotFoundBehavior(NotFoundBehaviorT &&value)
const ExtractionDefinitionNotFoundBehavior & GetNotFoundBehavior() const
AWS_CONNECT_API ExtractionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNotFoundBehavior(NotFoundBehaviorT &&value)
ExtractionConfiguration & WithPromptHint(PromptHintT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue