AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CacheBehavior.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/BehaviorEnum.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 Lightsail
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LIGHTSAIL_API CacheBehavior();
36 AWS_LIGHTSAIL_API CacheBehavior(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LIGHTSAIL_API CacheBehavior& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
56 inline const BehaviorEnum& GetBehavior() const{ return m_behavior; }
57 inline bool BehaviorHasBeenSet() const { return m_behaviorHasBeenSet; }
58 inline void SetBehavior(const BehaviorEnum& value) { m_behaviorHasBeenSet = true; m_behavior = value; }
59 inline void SetBehavior(BehaviorEnum&& value) { m_behaviorHasBeenSet = true; m_behavior = std::move(value); }
60 inline CacheBehavior& WithBehavior(const BehaviorEnum& value) { SetBehavior(value); return *this;}
61 inline CacheBehavior& WithBehavior(BehaviorEnum&& value) { SetBehavior(std::move(value)); return *this;}
63 private:
64
65 BehaviorEnum m_behavior;
66 bool m_behaviorHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Lightsail
71} // namespace Aws
void SetBehavior(const BehaviorEnum &value)
AWS_LIGHTSAIL_API CacheBehavior(Aws::Utils::Json::JsonView jsonValue)
const BehaviorEnum & GetBehavior() const
CacheBehavior & WithBehavior(BehaviorEnum &&value)
CacheBehavior & WithBehavior(const BehaviorEnum &value)
void SetBehavior(BehaviorEnum &&value)
AWS_LIGHTSAIL_API CacheBehavior & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue