AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SiteMapsConfiguration.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
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
34 public:
35 AWS_KENDRA_API SiteMapsConfiguration() = default;
38 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::Vector<Aws::String>& GetSiteMaps() const { return m_siteMaps; }
46 inline bool SiteMapsHasBeenSet() const { return m_siteMapsHasBeenSet; }
47 template <typename SiteMapsT = Aws::Vector<Aws::String>>
48 void SetSiteMaps(SiteMapsT&& value) {
49 m_siteMapsHasBeenSet = true;
50 m_siteMaps = std::forward<SiteMapsT>(value);
51 }
52 template <typename SiteMapsT = Aws::Vector<Aws::String>>
53 SiteMapsConfiguration& WithSiteMaps(SiteMapsT&& value) {
54 SetSiteMaps(std::forward<SiteMapsT>(value));
55 return *this;
56 }
57 template <typename SiteMapsT = Aws::String>
58 SiteMapsConfiguration& AddSiteMaps(SiteMapsT&& value) {
59 m_siteMapsHasBeenSet = true;
60 m_siteMaps.emplace_back(std::forward<SiteMapsT>(value));
61 return *this;
62 }
64 private:
65 Aws::Vector<Aws::String> m_siteMaps;
66 bool m_siteMapsHasBeenSet = false;
67};
68
69} // namespace Model
70} // namespace kendra
71} // namespace Aws
const Aws::Vector< Aws::String > & GetSiteMaps() const
AWS_KENDRA_API SiteMapsConfiguration()=default
SiteMapsConfiguration & WithSiteMaps(SiteMapsT &&value)
AWS_KENDRA_API SiteMapsConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API SiteMapsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SiteMapsConfiguration & AddSiteMaps(SiteMapsT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue