AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ConflictingItem.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace kendra
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_KENDRA_API ConflictingItem() = default;
40 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetQueryText() const { return m_queryText; }
48 inline bool QueryTextHasBeenSet() const { return m_queryTextHasBeenSet; }
49 template<typename QueryTextT = Aws::String>
50 void SetQueryText(QueryTextT&& value) { m_queryTextHasBeenSet = true; m_queryText = std::forward<QueryTextT>(value); }
51 template<typename QueryTextT = Aws::String>
52 ConflictingItem& WithQueryText(QueryTextT&& value) { SetQueryText(std::forward<QueryTextT>(value)); return *this;}
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) { m_setNameHasBeenSet = true; m_setName = std::forward<SetNameT>(value); }
64 template<typename SetNameT = Aws::String>
65 ConflictingItem& WithSetName(SetNameT&& value) { SetSetName(std::forward<SetNameT>(value)); return *this;}
67
69
73 inline const Aws::String& GetSetId() const { return m_setId; }
74 inline bool SetIdHasBeenSet() const { return m_setIdHasBeenSet; }
75 template<typename SetIdT = Aws::String>
76 void SetSetId(SetIdT&& value) { m_setIdHasBeenSet = true; m_setId = std::forward<SetIdT>(value); }
77 template<typename SetIdT = Aws::String>
78 ConflictingItem& WithSetId(SetIdT&& value) { SetSetId(std::forward<SetIdT>(value)); return *this;}
80 private:
81
82 Aws::String m_queryText;
83 bool m_queryTextHasBeenSet = false;
84
85 Aws::String m_setName;
86 bool m_setNameHasBeenSet = false;
87
88 Aws::String m_setId;
89 bool m_setIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace kendra
94} // 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