AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DbIormConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/odb/Odb_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace odb {
20namespace Model {
21
28 public:
29 AWS_ODB_API DbIormConfig() = default;
33
35
39 inline const Aws::String& GetDbName() const { return m_dbName; }
40 inline bool DbNameHasBeenSet() const { return m_dbNameHasBeenSet; }
41 template <typename DbNameT = Aws::String>
42 void SetDbName(DbNameT&& value) {
43 m_dbNameHasBeenSet = true;
44 m_dbName = std::forward<DbNameT>(value);
45 }
46 template <typename DbNameT = Aws::String>
47 DbIormConfig& WithDbName(DbNameT&& value) {
48 SetDbName(std::forward<DbNameT>(value));
49 return *this;
50 }
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) {
62 m_flashCacheLimitHasBeenSet = true;
63 m_flashCacheLimit = std::forward<FlashCacheLimitT>(value);
64 }
65 template <typename FlashCacheLimitT = Aws::String>
66 DbIormConfig& WithFlashCacheLimit(FlashCacheLimitT&& value) {
67 SetFlashCacheLimit(std::forward<FlashCacheLimitT>(value));
68 return *this;
69 }
71
73
76 inline int GetShare() const { return m_share; }
77 inline bool ShareHasBeenSet() const { return m_shareHasBeenSet; }
78 inline void SetShare(int value) {
79 m_shareHasBeenSet = true;
80 m_share = value;
81 }
82 inline DbIormConfig& WithShare(int value) {
83 SetShare(value);
84 return *this;
85 }
87 private:
88 Aws::String m_dbName;
89
90 Aws::String m_flashCacheLimit;
91
92 int m_share{0};
93 bool m_dbNameHasBeenSet = false;
94 bool m_flashCacheLimitHasBeenSet = false;
95 bool m_shareHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace odb
100} // 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