AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
KxDatabaseCacheConfiguration.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/finspace/Finspace_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace finspace {
21namespace Model {
22
30 public:
31 AWS_FINSPACE_API KxDatabaseCacheConfiguration() = default;
34 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetCacheType() const { return m_cacheType; }
43 inline bool CacheTypeHasBeenSet() const { return m_cacheTypeHasBeenSet; }
44 template <typename CacheTypeT = Aws::String>
45 void SetCacheType(CacheTypeT&& value) {
46 m_cacheTypeHasBeenSet = true;
47 m_cacheType = std::forward<CacheTypeT>(value);
48 }
49 template <typename CacheTypeT = Aws::String>
51 SetCacheType(std::forward<CacheTypeT>(value));
52 return *this;
53 }
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) {
65 m_dbPathsHasBeenSet = true;
66 m_dbPaths = std::forward<DbPathsT>(value);
67 }
68 template <typename DbPathsT = Aws::Vector<Aws::String>>
70 SetDbPaths(std::forward<DbPathsT>(value));
71 return *this;
72 }
73 template <typename DbPathsT = Aws::String>
75 m_dbPathsHasBeenSet = true;
76 m_dbPaths.emplace_back(std::forward<DbPathsT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::String& GetDataviewName() const { return m_dataviewName; }
87 inline bool DataviewNameHasBeenSet() const { return m_dataviewNameHasBeenSet; }
88 template <typename DataviewNameT = Aws::String>
89 void SetDataviewName(DataviewNameT&& value) {
90 m_dataviewNameHasBeenSet = true;
91 m_dataviewName = std::forward<DataviewNameT>(value);
92 }
93 template <typename DataviewNameT = Aws::String>
95 SetDataviewName(std::forward<DataviewNameT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_cacheType;
101
102 Aws::Vector<Aws::String> m_dbPaths;
103
104 Aws::String m_dataviewName;
105 bool m_cacheTypeHasBeenSet = false;
106 bool m_dbPathsHasBeenSet = false;
107 bool m_dataviewNameHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace finspace
112} // 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