AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
ImagePermissions.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace AppStream {
17namespace Model {
18
25 public:
26 AWS_APPSTREAM_API ImagePermissions() = default;
27 AWS_APPSTREAM_API ImagePermissions(Aws::Utils::Json::JsonView jsonValue);
29 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline bool GetAllowFleet() const { return m_allowFleet; }
36 inline bool AllowFleetHasBeenSet() const { return m_allowFleetHasBeenSet; }
37 inline void SetAllowFleet(bool value) {
38 m_allowFleetHasBeenSet = true;
39 m_allowFleet = value;
40 }
41 inline ImagePermissions& WithAllowFleet(bool value) {
42 SetAllowFleet(value);
43 return *this;
44 }
46
48
51 inline bool GetAllowImageBuilder() const { return m_allowImageBuilder; }
52 inline bool AllowImageBuilderHasBeenSet() const { return m_allowImageBuilderHasBeenSet; }
53 inline void SetAllowImageBuilder(bool value) {
54 m_allowImageBuilderHasBeenSet = true;
55 m_allowImageBuilder = value;
56 }
59 return *this;
60 }
62 private:
63 bool m_allowFleet{false};
64 bool m_allowFleetHasBeenSet = false;
65
66 bool m_allowImageBuilder{false};
67 bool m_allowImageBuilderHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace AppStream
72} // namespace Aws
ImagePermissions & WithAllowImageBuilder(bool value)
AWS_APPSTREAM_API ImagePermissions & operator=(Aws::Utils::Json::JsonView jsonValue)
ImagePermissions & WithAllowFleet(bool value)
AWS_APPSTREAM_API ImagePermissions()=default
AWS_APPSTREAM_API ImagePermissions(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue