AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KxDatabaseCacheConfiguration.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 finspace
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FINSPACE_API KxDatabaseCacheConfiguration() = default;
39 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetCacheType() const { return m_cacheType; }
49 inline bool CacheTypeHasBeenSet() const { return m_cacheTypeHasBeenSet; }
50 template<typename CacheTypeT = Aws::String>
51 void SetCacheType(CacheTypeT&& value) { m_cacheTypeHasBeenSet = true; m_cacheType = std::forward<CacheTypeT>(value); }
52 template<typename CacheTypeT = Aws::String>
53 KxDatabaseCacheConfiguration& WithCacheType(CacheTypeT&& value) { SetCacheType(std::forward<CacheTypeT>(value)); return *this;}
55
57
61 inline const Aws::Vector<Aws::String>& GetDbPaths() const { return m_dbPaths; }
62 inline bool DbPathsHasBeenSet() const { return m_dbPathsHasBeenSet; }
63 template<typename DbPathsT = Aws::Vector<Aws::String>>
64 void SetDbPaths(DbPathsT&& value) { m_dbPathsHasBeenSet = true; m_dbPaths = std::forward<DbPathsT>(value); }
65 template<typename DbPathsT = Aws::Vector<Aws::String>>
66 KxDatabaseCacheConfiguration& WithDbPaths(DbPathsT&& value) { SetDbPaths(std::forward<DbPathsT>(value)); return *this;}
67 template<typename DbPathsT = Aws::String>
68 KxDatabaseCacheConfiguration& AddDbPaths(DbPathsT&& value) { m_dbPathsHasBeenSet = true; m_dbPaths.emplace_back(std::forward<DbPathsT>(value)); return *this; }
70
72
76 inline const Aws::String& GetDataviewName() const { return m_dataviewName; }
77 inline bool DataviewNameHasBeenSet() const { return m_dataviewNameHasBeenSet; }
78 template<typename DataviewNameT = Aws::String>
79 void SetDataviewName(DataviewNameT&& value) { m_dataviewNameHasBeenSet = true; m_dataviewName = std::forward<DataviewNameT>(value); }
80 template<typename DataviewNameT = Aws::String>
81 KxDatabaseCacheConfiguration& WithDataviewName(DataviewNameT&& value) { SetDataviewName(std::forward<DataviewNameT>(value)); return *this;}
83 private:
84
85 Aws::String m_cacheType;
86 bool m_cacheTypeHasBeenSet = false;
87
89 bool m_dbPathsHasBeenSet = false;
90
91 Aws::String m_dataviewName;
92 bool m_dataviewNameHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace finspace
97} // namespace Aws
AWS_FINSPACE_API KxDatabaseCacheConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API KxDatabaseCacheConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FINSPACE_API KxDatabaseCacheConfiguration()=default
KxDatabaseCacheConfiguration & WithDataviewName(DataviewNameT &&value)
KxDatabaseCacheConfiguration & AddDbPaths(DbPathsT &&value)
KxDatabaseCacheConfiguration & WithCacheType(CacheTypeT &&value)
const Aws::Vector< Aws::String > & GetDbPaths() const
KxDatabaseCacheConfiguration & WithDbPaths(DbPathsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue