AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Amplify {
20namespace Model {
21
33 public:
34 AWS_AMPLIFY_API CacheConfig() = default;
35 AWS_AMPLIFY_API CacheConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
48 inline CacheConfigType GetType() const { return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(CacheConfigType value) {
51 m_typeHasBeenSet = true;
52 m_type = value;
53 }
55 SetType(value);
56 return *this;
57 }
59 private:
61 bool m_typeHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Amplify
66} // namespace Aws
void SetType(CacheConfigType value)
Definition CacheConfig.h:50
AWS_AMPLIFY_API CacheConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
CacheConfig & WithType(CacheConfigType value)
Definition CacheConfig.h:54
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFY_API CacheConfig()=default
CacheConfigType GetType() const
Definition CacheConfig.h:48
AWS_AMPLIFY_API CacheConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue