AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CacheConfig.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/model/CacheConfigType.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 Amplify
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_AMPLIFY_API CacheConfig() = default;
40 AWS_AMPLIFY_API CacheConfig(Aws::Utils::Json::JsonView jsonValue);
42 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
54 inline CacheConfigType GetType() const { return m_type; }
55 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
56 inline void SetType(CacheConfigType value) { m_typeHasBeenSet = true; m_type = value; }
57 inline CacheConfig& WithType(CacheConfigType value) { SetType(value); return *this;}
59 private:
60
62 bool m_typeHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace Amplify
67} // namespace Aws
void SetType(CacheConfigType value)
Definition CacheConfig.h:56
AWS_AMPLIFY_API CacheConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
CacheConfig & WithType(CacheConfigType value)
Definition CacheConfig.h:57
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFY_API CacheConfig()=default
CacheConfigType GetType() const
Definition CacheConfig.h:54
AWS_AMPLIFY_API CacheConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue