AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourcePermission.h
1
6#pragma once
7#include <aws/finspace-data/FinSpaceData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FinSpaceData
22{
23namespace Model
24{
25
44 {
45 public:
46 AWS_FINSPACEDATA_API ResourcePermission();
47 AWS_FINSPACEDATA_API ResourcePermission(Aws::Utils::Json::JsonView jsonValue);
49 AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::String& GetPermission() const{ return m_permission; }
57 inline bool PermissionHasBeenSet() const { return m_permissionHasBeenSet; }
58 inline void SetPermission(const Aws::String& value) { m_permissionHasBeenSet = true; m_permission = value; }
59 inline void SetPermission(Aws::String&& value) { m_permissionHasBeenSet = true; m_permission = std::move(value); }
60 inline void SetPermission(const char* value) { m_permissionHasBeenSet = true; m_permission.assign(value); }
61 inline ResourcePermission& WithPermission(const Aws::String& value) { SetPermission(value); return *this;}
62 inline ResourcePermission& WithPermission(Aws::String&& value) { SetPermission(std::move(value)); return *this;}
63 inline ResourcePermission& WithPermission(const char* value) { SetPermission(value); return *this;}
65 private:
66
67 Aws::String m_permission;
68 bool m_permissionHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace FinSpaceData
73} // namespace Aws
ResourcePermission & WithPermission(const char *value)
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
ResourcePermission & WithPermission(const Aws::String &value)
void SetPermission(const Aws::String &value)
ResourcePermission & WithPermission(Aws::String &&value)
AWS_FINSPACEDATA_API ResourcePermission(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACEDATA_API ResourcePermission & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue