AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lightsail {
20namespace Model {
21
29 public:
30 AWS_LIGHTSAIL_API CacheBehavior() = default;
31 AWS_LIGHTSAIL_API CacheBehavior(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LIGHTSAIL_API CacheBehavior& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
50 inline BehaviorEnum GetBehavior() const { return m_behavior; }
51 inline bool BehaviorHasBeenSet() const { return m_behaviorHasBeenSet; }
52 inline void SetBehavior(BehaviorEnum value) {
53 m_behaviorHasBeenSet = true;
54 m_behavior = value;
55 }
57 SetBehavior(value);
58 return *this;
59 }
61 private:
63 bool m_behaviorHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace Lightsail
68} // namespace Aws
void SetBehavior(BehaviorEnum value)
AWS_LIGHTSAIL_API CacheBehavior()=default
CacheBehavior & WithBehavior(BehaviorEnum value)
AWS_LIGHTSAIL_API CacheBehavior(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API CacheBehavior & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue