AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ConfluenceBlogConfiguration.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/model/ConfluenceBlogToIndexFieldMapping.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace kendra
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_KENDRA_API ConfluenceBlogConfiguration() = default;
41 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
55 inline const Aws::Vector<ConfluenceBlogToIndexFieldMapping>& GetBlogFieldMappings() const { return m_blogFieldMappings; }
56 inline bool BlogFieldMappingsHasBeenSet() const { return m_blogFieldMappingsHasBeenSet; }
57 template<typename BlogFieldMappingsT = Aws::Vector<ConfluenceBlogToIndexFieldMapping>>
58 void SetBlogFieldMappings(BlogFieldMappingsT&& value) { m_blogFieldMappingsHasBeenSet = true; m_blogFieldMappings = std::forward<BlogFieldMappingsT>(value); }
59 template<typename BlogFieldMappingsT = Aws::Vector<ConfluenceBlogToIndexFieldMapping>>
60 ConfluenceBlogConfiguration& WithBlogFieldMappings(BlogFieldMappingsT&& value) { SetBlogFieldMappings(std::forward<BlogFieldMappingsT>(value)); return *this;}
61 template<typename BlogFieldMappingsT = ConfluenceBlogToIndexFieldMapping>
62 ConfluenceBlogConfiguration& AddBlogFieldMappings(BlogFieldMappingsT&& value) { m_blogFieldMappingsHasBeenSet = true; m_blogFieldMappings.emplace_back(std::forward<BlogFieldMappingsT>(value)); return *this; }
64 private:
65
67 bool m_blogFieldMappingsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace kendra
72} // namespace Aws
const Aws::Vector< ConfluenceBlogToIndexFieldMapping > & GetBlogFieldMappings() const
ConfluenceBlogConfiguration & WithBlogFieldMappings(BlogFieldMappingsT &&value)
AWS_KENDRA_API ConfluenceBlogConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API ConfluenceBlogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
ConfluenceBlogConfiguration & AddBlogFieldMappings(BlogFieldMappingsT &&value)
AWS_KENDRA_API ConfluenceBlogConfiguration()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue