AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
LinkSharingConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/ResourcePermission.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API LinkSharingConfiguration() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<ResourcePermission>& GetPermissions() const { return m_permissions; }
41 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
42 template <typename PermissionsT = Aws::Vector<ResourcePermission>>
43 void SetPermissions(PermissionsT&& value) {
44 m_permissionsHasBeenSet = true;
45 m_permissions = std::forward<PermissionsT>(value);
46 }
47 template <typename PermissionsT = Aws::Vector<ResourcePermission>>
49 SetPermissions(std::forward<PermissionsT>(value));
50 return *this;
51 }
52 template <typename PermissionsT = ResourcePermission>
54 m_permissionsHasBeenSet = true;
55 m_permissions.emplace_back(std::forward<PermissionsT>(value));
56 return *this;
57 }
59 private:
61 bool m_permissionsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace QuickSight
66} // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue