AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ImagePermissions.h
Go to the documentation of this file.
1
6#pragma once
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppStream
20{
21namespace Model
22{
23
30 {
31 public:
36
37
41 inline bool GetAllowFleet() const{ return m_allowFleet; }
42
46 inline bool AllowFleetHasBeenSet() const { return m_allowFleetHasBeenSet; }
47
51 inline void SetAllowFleet(bool value) { m_allowFleetHasBeenSet = true; m_allowFleet = value; }
52
56 inline ImagePermissions& WithAllowFleet(bool value) { SetAllowFleet(value); return *this;}
57
58
62 inline bool GetAllowImageBuilder() const{ return m_allowImageBuilder; }
63
67 inline bool AllowImageBuilderHasBeenSet() const { return m_allowImageBuilderHasBeenSet; }
68
72 inline void SetAllowImageBuilder(bool value) { m_allowImageBuilderHasBeenSet = true; m_allowImageBuilder = value; }
73
77 inline ImagePermissions& WithAllowImageBuilder(bool value) { SetAllowImageBuilder(value); return *this;}
78
79 private:
80
81 bool m_allowFleet;
82 bool m_allowFleetHasBeenSet = false;
83
84 bool m_allowImageBuilder;
85 bool m_allowImageBuilderHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace AppStream
90} // namespace Aws
#define AWS_APPSTREAM_API
ImagePermissions & WithAllowImageBuilder(bool value)
AWS_APPSTREAM_API ImagePermissions & operator=(Aws::Utils::Json::JsonView jsonValue)
ImagePermissions & WithAllowFleet(bool value)
AWS_APPSTREAM_API ImagePermissions(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const