AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCacheType(const Aws::String& value) { m_cacheTypeHasBeenSet = true; m_cacheType = value; }
51 inline void SetCacheType(Aws::String&& value) { m_cacheTypeHasBeenSet = true; m_cacheType = std::move(value); }
52 inline void SetCacheType(const char* value) { m_cacheTypeHasBeenSet = true; m_cacheType.assign(value); }
53 inline KxDatabaseCacheConfiguration& WithCacheType(const Aws::String& value) { SetCacheType(value); return *this;}
54 inline KxDatabaseCacheConfiguration& WithCacheType(Aws::String&& value) { SetCacheType(std::move(value)); return *this;}
55 inline KxDatabaseCacheConfiguration& WithCacheType(const char* value) { SetCacheType(value); return *this;}
57
59
63 inline const Aws::Vector<Aws::String>& GetDbPaths() const{ return m_dbPaths; }
64 inline bool DbPathsHasBeenSet() const { return m_dbPathsHasBeenSet; }
65 inline void SetDbPaths(const Aws::Vector<Aws::String>& value) { m_dbPathsHasBeenSet = true; m_dbPaths = value; }
66 inline void SetDbPaths(Aws::Vector<Aws::String>&& value) { m_dbPathsHasBeenSet = true; m_dbPaths = std::move(value); }
67 inline KxDatabaseCacheConfiguration& WithDbPaths(const Aws::Vector<Aws::String>& value) { SetDbPaths(value); return *this;}
68 inline KxDatabaseCacheConfiguration& WithDbPaths(Aws::Vector<Aws::String>&& value) { SetDbPaths(std::move(value)); return *this;}
69 inline KxDatabaseCacheConfiguration& AddDbPaths(const Aws::String& value) { m_dbPathsHasBeenSet = true; m_dbPaths.push_back(value); return *this; }
70 inline KxDatabaseCacheConfiguration& AddDbPaths(Aws::String&& value) { m_dbPathsHasBeenSet = true; m_dbPaths.push_back(std::move(value)); return *this; }
71 inline KxDatabaseCacheConfiguration& AddDbPaths(const char* value) { m_dbPathsHasBeenSet = true; m_dbPaths.push_back(value); return *this; }
73
75
79 inline const Aws::String& GetDataviewName() const{ return m_dataviewName; }
80 inline bool DataviewNameHasBeenSet() const { return m_dataviewNameHasBeenSet; }
81 inline void SetDataviewName(const Aws::String& value) { m_dataviewNameHasBeenSet = true; m_dataviewName = value; }
82 inline void SetDataviewName(Aws::String&& value) { m_dataviewNameHasBeenSet = true; m_dataviewName = std::move(value); }
83 inline void SetDataviewName(const char* value) { m_dataviewNameHasBeenSet = true; m_dataviewName.assign(value); }
84 inline KxDatabaseCacheConfiguration& WithDataviewName(const Aws::String& value) { SetDataviewName(value); return *this;}
85 inline KxDatabaseCacheConfiguration& WithDataviewName(Aws::String&& value) { SetDataviewName(std::move(value)); return *this;}
86 inline KxDatabaseCacheConfiguration& WithDataviewName(const char* value) { SetDataviewName(value); return *this;}
88 private:
89
90 Aws::String m_cacheType;
91 bool m_cacheTypeHasBeenSet = false;
92
94 bool m_dbPathsHasBeenSet = false;
95
96 Aws::String m_dataviewName;
97 bool m_dataviewNameHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace finspace
102} // namespace Aws
void SetDbPaths(const Aws::Vector< Aws::String > &value)
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
KxDatabaseCacheConfiguration & WithCacheType(Aws::String &&value)
KxDatabaseCacheConfiguration & AddDbPaths(const char *value)
KxDatabaseCacheConfiguration & WithCacheType(const Aws::String &value)
KxDatabaseCacheConfiguration & WithDbPaths(const Aws::Vector< Aws::String > &value)
KxDatabaseCacheConfiguration & AddDbPaths(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDbPaths() const
KxDatabaseCacheConfiguration & WithDataviewName(const Aws::String &value)
KxDatabaseCacheConfiguration & WithDbPaths(Aws::Vector< Aws::String > &&value)
KxDatabaseCacheConfiguration & AddDbPaths(Aws::String &&value)
KxDatabaseCacheConfiguration & WithDataviewName(Aws::String &&value)
KxDatabaseCacheConfiguration & WithCacheType(const char *value)
KxDatabaseCacheConfiguration & WithDataviewName(const char *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