AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImagePermissions.h
1
6#pragma once
7#include <aws/appstream/AppStream_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 AppStream
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_APPSTREAM_API ImagePermissions();
33 AWS_APPSTREAM_API ImagePermissions(Aws::Utils::Json::JsonView jsonValue);
35 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline bool GetAllowFleet() const{ return m_allowFleet; }
43 inline bool AllowFleetHasBeenSet() const { return m_allowFleetHasBeenSet; }
44 inline void SetAllowFleet(bool value) { m_allowFleetHasBeenSet = true; m_allowFleet = value; }
45 inline ImagePermissions& WithAllowFleet(bool value) { SetAllowFleet(value); return *this;}
47
49
52 inline bool GetAllowImageBuilder() const{ return m_allowImageBuilder; }
53 inline bool AllowImageBuilderHasBeenSet() const { return m_allowImageBuilderHasBeenSet; }
54 inline void SetAllowImageBuilder(bool value) { m_allowImageBuilderHasBeenSet = true; m_allowImageBuilder = value; }
55 inline ImagePermissions& WithAllowImageBuilder(bool value) { SetAllowImageBuilder(value); return *this;}
57 private:
58
59 bool m_allowFleet;
60 bool m_allowFleetHasBeenSet = false;
61
62 bool m_allowImageBuilder;
63 bool m_allowImageBuilderHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace AppStream
68} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue