AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40 AWS_AMPLIFY_API CacheConfig(Aws::Utils::Json::JsonView jsonValue);
42 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
55 inline const CacheConfigType& GetType() const{ return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(const CacheConfigType& value) { m_typeHasBeenSet = true; m_type = value; }
58 inline void SetType(CacheConfigType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
59 inline CacheConfig& WithType(const CacheConfigType& value) { SetType(value); return *this;}
60 inline CacheConfig& WithType(CacheConfigType&& value) { SetType(std::move(value)); return *this;}
62 private:
63
64 CacheConfigType m_type;
65 bool m_typeHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace Amplify
70} // namespace Aws
AWS_AMPLIFY_API CacheConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
CacheConfig & WithType(CacheConfigType &&value)
Definition CacheConfig.h:60
const CacheConfigType & GetType() const
Definition CacheConfig.h:55
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const CacheConfigType &value)
Definition CacheConfig.h:57
CacheConfig & WithType(const CacheConfigType &value)
Definition CacheConfig.h:59
void SetType(CacheConfigType &&value)
Definition CacheConfig.h:58
AWS_AMPLIFY_API CacheConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue