AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ConfluenceBlogConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9#include <aws/kendra/model/ConfluenceBlogToIndexFieldMapping.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace kendra {
21namespace Model {
22
32 public:
33 AWS_KENDRA_API ConfluenceBlogConfiguration() = default;
36 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
49 inline const Aws::Vector<ConfluenceBlogToIndexFieldMapping>& GetBlogFieldMappings() const { return m_blogFieldMappings; }
50 inline bool BlogFieldMappingsHasBeenSet() const { return m_blogFieldMappingsHasBeenSet; }
51 template <typename BlogFieldMappingsT = Aws::Vector<ConfluenceBlogToIndexFieldMapping>>
52 void SetBlogFieldMappings(BlogFieldMappingsT&& value) {
53 m_blogFieldMappingsHasBeenSet = true;
54 m_blogFieldMappings = std::forward<BlogFieldMappingsT>(value);
55 }
56 template <typename BlogFieldMappingsT = Aws::Vector<ConfluenceBlogToIndexFieldMapping>>
58 SetBlogFieldMappings(std::forward<BlogFieldMappingsT>(value));
59 return *this;
60 }
61 template <typename BlogFieldMappingsT = ConfluenceBlogToIndexFieldMapping>
63 m_blogFieldMappingsHasBeenSet = true;
64 m_blogFieldMappings.emplace_back(std::forward<BlogFieldMappingsT>(value));
65 return *this;
66 }
68 private:
70 bool m_blogFieldMappingsHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace kendra
75} // 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