AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LifecyclePolicyDetailActionIncludeResources.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace imagebuilder
20{
21namespace Model
22{
23
31 {
32 public:
36 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline bool GetAmis() const{ return m_amis; }
44 inline bool AmisHasBeenSet() const { return m_amisHasBeenSet; }
45 inline void SetAmis(bool value) { m_amisHasBeenSet = true; m_amis = value; }
46 inline LifecyclePolicyDetailActionIncludeResources& WithAmis(bool value) { SetAmis(value); return *this;}
48
50
54 inline bool GetSnapshots() const{ return m_snapshots; }
55 inline bool SnapshotsHasBeenSet() const { return m_snapshotsHasBeenSet; }
56 inline void SetSnapshots(bool value) { m_snapshotsHasBeenSet = true; m_snapshots = value; }
57 inline LifecyclePolicyDetailActionIncludeResources& WithSnapshots(bool value) { SetSnapshots(value); return *this;}
59
61
65 inline bool GetContainers() const{ return m_containers; }
66 inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; }
67 inline void SetContainers(bool value) { m_containersHasBeenSet = true; m_containers = value; }
70 private:
71
72 bool m_amis;
73 bool m_amisHasBeenSet = false;
74
75 bool m_snapshots;
76 bool m_snapshotsHasBeenSet = false;
77
78 bool m_containers;
79 bool m_containersHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace imagebuilder
84} // namespace Aws
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IMAGEBUILDER_API LifecyclePolicyDetailActionIncludeResources(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API LifecyclePolicyDetailActionIncludeResources & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue