AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SiteMapsConfiguration.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
38 {
39 public:
40 AWS_KENDRA_API SiteMapsConfiguration() = default;
43 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Vector<Aws::String>& GetSiteMaps() const { return m_siteMaps; }
52 inline bool SiteMapsHasBeenSet() const { return m_siteMapsHasBeenSet; }
53 template<typename SiteMapsT = Aws::Vector<Aws::String>>
54 void SetSiteMaps(SiteMapsT&& value) { m_siteMapsHasBeenSet = true; m_siteMaps = std::forward<SiteMapsT>(value); }
55 template<typename SiteMapsT = Aws::Vector<Aws::String>>
56 SiteMapsConfiguration& WithSiteMaps(SiteMapsT&& value) { SetSiteMaps(std::forward<SiteMapsT>(value)); return *this;}
57 template<typename SiteMapsT = Aws::String>
58 SiteMapsConfiguration& AddSiteMaps(SiteMapsT&& value) { m_siteMapsHasBeenSet = true; m_siteMaps.emplace_back(std::forward<SiteMapsT>(value)); return *this; }
60 private:
61
62 Aws::Vector<Aws::String> m_siteMaps;
63 bool m_siteMapsHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace kendra
68} // 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