AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KxCacheStorageConfiguration.h
1
6#pragma once
7#include <aws/finspace/Finspace_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 finspace
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_FINSPACE_API KxCacheStorageConfiguration() = default;
38 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
52 inline const Aws::String& GetType() const { return m_type; }
53 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
54 template<typename TypeT = Aws::String>
55 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
56 template<typename TypeT = Aws::String>
57 KxCacheStorageConfiguration& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
59
61
64 inline int GetSize() const { return m_size; }
65 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
66 inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
67 inline KxCacheStorageConfiguration& WithSize(int value) { SetSize(value); return *this;}
69 private:
70
71 Aws::String m_type;
72 bool m_typeHasBeenSet = false;
73
74 int m_size{0};
75 bool m_sizeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace finspace
80} // namespace Aws
AWS_FINSPACE_API KxCacheStorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API KxCacheStorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
KxCacheStorageConfiguration & WithType(TypeT &&value)
AWS_FINSPACE_API KxCacheStorageConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue