AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DbIormConfig.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace odb
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ODB_API DbIormConfig() = default;
38
39
41
45 inline const Aws::String& GetDbName() const { return m_dbName; }
46 inline bool DbNameHasBeenSet() const { return m_dbNameHasBeenSet; }
47 template<typename DbNameT = Aws::String>
48 void SetDbName(DbNameT&& value) { m_dbNameHasBeenSet = true; m_dbName = std::forward<DbNameT>(value); }
49 template<typename DbNameT = Aws::String>
50 DbIormConfig& WithDbName(DbNameT&& value) { SetDbName(std::forward<DbNameT>(value)); return *this;}
52
54
58 inline const Aws::String& GetFlashCacheLimit() const { return m_flashCacheLimit; }
59 inline bool FlashCacheLimitHasBeenSet() const { return m_flashCacheLimitHasBeenSet; }
60 template<typename FlashCacheLimitT = Aws::String>
61 void SetFlashCacheLimit(FlashCacheLimitT&& value) { m_flashCacheLimitHasBeenSet = true; m_flashCacheLimit = std::forward<FlashCacheLimitT>(value); }
62 template<typename FlashCacheLimitT = Aws::String>
63 DbIormConfig& WithFlashCacheLimit(FlashCacheLimitT&& value) { SetFlashCacheLimit(std::forward<FlashCacheLimitT>(value)); return *this;}
65
67
70 inline int GetShare() const { return m_share; }
71 inline bool ShareHasBeenSet() const { return m_shareHasBeenSet; }
72 inline void SetShare(int value) { m_shareHasBeenSet = true; m_share = value; }
73 inline DbIormConfig& WithShare(int value) { SetShare(value); return *this;}
75 private:
76
77 Aws::String m_dbName;
78 bool m_dbNameHasBeenSet = false;
79
80 Aws::String m_flashCacheLimit;
81 bool m_flashCacheLimitHasBeenSet = false;
82
83 int m_share{0};
84 bool m_shareHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace odb
89} // namespace Aws
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFlashCacheLimit(FlashCacheLimitT &&value)
void SetDbName(DbNameT &&value)
DbIormConfig & WithDbName(DbNameT &&value)
DbIormConfig & WithFlashCacheLimit(FlashCacheLimitT &&value)
AWS_ODB_API DbIormConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API DbIormConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FlashCacheLimitHasBeenSet() const
const Aws::String & GetFlashCacheLimit() const
const Aws::String & GetDbName() const
DbIormConfig & WithShare(int value)
AWS_ODB_API DbIormConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue