AWS SDK for C++

AWS SDK for C++ Version 1.11.829

Loading...
Searching...
No Matches
AiAgentSearchCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AiUseCase.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 AiAgentSearchCriteria() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
59 inline int GetVersionNumber() const { return m_versionNumber; }
60 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
61 inline void SetVersionNumber(int value) {
62 m_versionNumberHasBeenSet = true;
63 m_versionNumber = value;
64 }
66 SetVersionNumber(value);
67 return *this;
68 }
70
72
76 inline bool GetAiAgentEscalated() const { return m_aiAgentEscalated; }
77 inline bool AiAgentEscalatedHasBeenSet() const { return m_aiAgentEscalatedHasBeenSet; }
78 inline void SetAiAgentEscalated(bool value) {
79 m_aiAgentEscalatedHasBeenSet = true;
80 m_aiAgentEscalated = value;
81 }
84 return *this;
85 }
87
89
93 inline AiUseCase GetAiUseCase() const { return m_aiUseCase; }
94 inline bool AiUseCaseHasBeenSet() const { return m_aiUseCaseHasBeenSet; }
95 inline void SetAiUseCase(AiUseCase value) {
96 m_aiUseCaseHasBeenSet = true;
97 m_aiUseCase = value;
98 }
100 SetAiUseCase(value);
101 return *this;
102 }
104 private:
105 Aws::String m_id;
106
107 int m_versionNumber{0};
108
109 bool m_aiAgentEscalated{false};
110
111 AiUseCase m_aiUseCase{AiUseCase::NOT_SET};
112 bool m_idHasBeenSet = false;
113 bool m_versionNumberHasBeenSet = false;
114 bool m_aiAgentEscalatedHasBeenSet = false;
115 bool m_aiUseCaseHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace Connect
120} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AiAgentSearchCriteria & WithId(IdT &&value)
AWS_CONNECT_API AiAgentSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AiAgentSearchCriteria & WithVersionNumber(int value)
AWS_CONNECT_API AiAgentSearchCriteria()=default
AWS_CONNECT_API AiAgentSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
AiAgentSearchCriteria & WithAiUseCase(AiUseCase value)
AiAgentSearchCriteria & WithAiAgentEscalated(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue