AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
FeaturedResultsConflictException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/Kendra_EXPORTS.h>
10#include <aws/kendra/model/ConflictingItem.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace kendra {
22namespace Model {
23
33 public:
34 AWS_KENDRA_API FeaturedResultsConflictException() = default;
37 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetMessage() const { return m_message; }
44 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
45 template <typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) {
47 m_messageHasBeenSet = true;
48 m_message = std::forward<MessageT>(value);
49 }
50 template <typename MessageT = Aws::String>
52 SetMessage(std::forward<MessageT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Vector<ConflictingItem>& GetConflictingItems() const { return m_conflictingItems; }
63 inline bool ConflictingItemsHasBeenSet() const { return m_conflictingItemsHasBeenSet; }
64 template <typename ConflictingItemsT = Aws::Vector<ConflictingItem>>
65 void SetConflictingItems(ConflictingItemsT&& value) {
66 m_conflictingItemsHasBeenSet = true;
67 m_conflictingItems = std::forward<ConflictingItemsT>(value);
68 }
69 template <typename ConflictingItemsT = Aws::Vector<ConflictingItem>>
71 SetConflictingItems(std::forward<ConflictingItemsT>(value));
72 return *this;
73 }
74 template <typename ConflictingItemsT = ConflictingItem>
76 m_conflictingItemsHasBeenSet = true;
77 m_conflictingItems.emplace_back(std::forward<ConflictingItemsT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_message;
83
84 Aws::Vector<ConflictingItem> m_conflictingItems;
85 bool m_messageHasBeenSet = false;
86 bool m_conflictingItemsHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace kendra
91} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue