AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
KxCacheStorageConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/finspace/Finspace_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace finspace {
20namespace Model {
21
29 public:
30 AWS_FINSPACE_API KxCacheStorageConfiguration() = default;
33 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
46 inline const Aws::String& GetType() const { return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 template <typename TypeT = Aws::String>
49 void SetType(TypeT&& value) {
50 m_typeHasBeenSet = true;
51 m_type = std::forward<TypeT>(value);
52 }
53 template <typename TypeT = Aws::String>
55 SetType(std::forward<TypeT>(value));
56 return *this;
57 }
59
61
64 inline int GetSize() const { return m_size; }
65 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
66 inline void SetSize(int value) {
67 m_sizeHasBeenSet = true;
68 m_size = value;
69 }
71 SetSize(value);
72 return *this;
73 }
75 private:
76 Aws::String m_type;
77
78 int m_size{0};
79 bool m_typeHasBeenSet = false;
80 bool m_sizeHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace finspace
85} // 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