AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PermissionGroupParams.h
1
6#pragma once
7#include <aws/finspace-data/FinSpaceData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace-data/model/ResourcePermission.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FinSpaceData
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_FINSPACEDATA_API PermissionGroupParams();
42 AWS_FINSPACEDATA_API PermissionGroupParams(Aws::Utils::Json::JsonView jsonValue);
44 AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetPermissionGroupId() const{ return m_permissionGroupId; }
52 inline bool PermissionGroupIdHasBeenSet() const { return m_permissionGroupIdHasBeenSet; }
53 inline void SetPermissionGroupId(const Aws::String& value) { m_permissionGroupIdHasBeenSet = true; m_permissionGroupId = value; }
54 inline void SetPermissionGroupId(Aws::String&& value) { m_permissionGroupIdHasBeenSet = true; m_permissionGroupId = std::move(value); }
55 inline void SetPermissionGroupId(const char* value) { m_permissionGroupIdHasBeenSet = true; m_permissionGroupId.assign(value); }
56 inline PermissionGroupParams& WithPermissionGroupId(const Aws::String& value) { SetPermissionGroupId(value); return *this;}
57 inline PermissionGroupParams& WithPermissionGroupId(Aws::String&& value) { SetPermissionGroupId(std::move(value)); return *this;}
58 inline PermissionGroupParams& WithPermissionGroupId(const char* value) { SetPermissionGroupId(value); return *this;}
60
62
65 inline const Aws::Vector<ResourcePermission>& GetDatasetPermissions() const{ return m_datasetPermissions; }
66 inline bool DatasetPermissionsHasBeenSet() const { return m_datasetPermissionsHasBeenSet; }
67 inline void SetDatasetPermissions(const Aws::Vector<ResourcePermission>& value) { m_datasetPermissionsHasBeenSet = true; m_datasetPermissions = value; }
68 inline void SetDatasetPermissions(Aws::Vector<ResourcePermission>&& value) { m_datasetPermissionsHasBeenSet = true; m_datasetPermissions = std::move(value); }
71 inline PermissionGroupParams& AddDatasetPermissions(const ResourcePermission& value) { m_datasetPermissionsHasBeenSet = true; m_datasetPermissions.push_back(value); return *this; }
72 inline PermissionGroupParams& AddDatasetPermissions(ResourcePermission&& value) { m_datasetPermissionsHasBeenSet = true; m_datasetPermissions.push_back(std::move(value)); return *this; }
74 private:
75
76 Aws::String m_permissionGroupId;
77 bool m_permissionGroupIdHasBeenSet = false;
78
79 Aws::Vector<ResourcePermission> m_datasetPermissions;
80 bool m_datasetPermissionsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace FinSpaceData
85} // namespace Aws
void SetDatasetPermissions(const Aws::Vector< ResourcePermission > &value)
AWS_FINSPACEDATA_API PermissionGroupParams(Aws::Utils::Json::JsonView jsonValue)
PermissionGroupParams & WithDatasetPermissions(Aws::Vector< ResourcePermission > &&value)
void SetDatasetPermissions(Aws::Vector< ResourcePermission > &&value)
PermissionGroupParams & AddDatasetPermissions(const ResourcePermission &value)
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
PermissionGroupParams & AddDatasetPermissions(ResourcePermission &&value)
PermissionGroupParams & WithPermissionGroupId(const Aws::String &value)
PermissionGroupParams & WithDatasetPermissions(const Aws::Vector< ResourcePermission > &value)
const Aws::Vector< ResourcePermission > & GetDatasetPermissions() const
PermissionGroupParams & WithPermissionGroupId(Aws::String &&value)
AWS_FINSPACEDATA_API PermissionGroupParams & operator=(Aws::Utils::Json::JsonView jsonValue)
PermissionGroupParams & WithPermissionGroupId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue