AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ConflictingItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace kendra {
20namespace Model {
21
31 public:
32 AWS_KENDRA_API ConflictingItem() = default;
35 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetQueryText() const { return m_queryText; }
42 inline bool QueryTextHasBeenSet() const { return m_queryTextHasBeenSet; }
43 template <typename QueryTextT = Aws::String>
44 void SetQueryText(QueryTextT&& value) {
45 m_queryTextHasBeenSet = true;
46 m_queryText = std::forward<QueryTextT>(value);
47 }
48 template <typename QueryTextT = Aws::String>
49 ConflictingItem& WithQueryText(QueryTextT&& value) {
50 SetQueryText(std::forward<QueryTextT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetSetName() const { return m_setName; }
61 inline bool SetNameHasBeenSet() const { return m_setNameHasBeenSet; }
62 template <typename SetNameT = Aws::String>
63 void SetSetName(SetNameT&& value) {
64 m_setNameHasBeenSet = true;
65 m_setName = std::forward<SetNameT>(value);
66 }
67 template <typename SetNameT = Aws::String>
68 ConflictingItem& WithSetName(SetNameT&& value) {
69 SetSetName(std::forward<SetNameT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetSetId() const { return m_setId; }
80 inline bool SetIdHasBeenSet() const { return m_setIdHasBeenSet; }
81 template <typename SetIdT = Aws::String>
82 void SetSetId(SetIdT&& value) {
83 m_setIdHasBeenSet = true;
84 m_setId = std::forward<SetIdT>(value);
85 }
86 template <typename SetIdT = Aws::String>
87 ConflictingItem& WithSetId(SetIdT&& value) {
88 SetSetId(std::forward<SetIdT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_queryText;
94 bool m_queryTextHasBeenSet = false;
95
96 Aws::String m_setName;
97 bool m_setNameHasBeenSet = false;
98
99 Aws::String m_setId;
100 bool m_setIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace kendra
105} // namespace Aws
ConflictingItem & WithSetName(SetNameT &&value)
const Aws::String & GetSetName() const
AWS_KENDRA_API ConflictingItem()=default
const Aws::String & GetQueryText() const
ConflictingItem & WithSetId(SetIdT &&value)
const Aws::String & GetSetId() const
void SetQueryText(QueryTextT &&value)
ConflictingItem & WithQueryText(QueryTextT &&value)
AWS_KENDRA_API ConflictingItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KENDRA_API ConflictingItem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue