AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreationInfo.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFS_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 EFS
22{
23namespace Model
24{
25
44 {
45 public:
46 AWS_EFS_API CreationInfo() = default;
50
51
53
57 inline long long GetOwnerUid() const { return m_ownerUid; }
58 inline bool OwnerUidHasBeenSet() const { return m_ownerUidHasBeenSet; }
59 inline void SetOwnerUid(long long value) { m_ownerUidHasBeenSet = true; m_ownerUid = value; }
60 inline CreationInfo& WithOwnerUid(long long value) { SetOwnerUid(value); return *this;}
62
64
68 inline long long GetOwnerGid() const { return m_ownerGid; }
69 inline bool OwnerGidHasBeenSet() const { return m_ownerGidHasBeenSet; }
70 inline void SetOwnerGid(long long value) { m_ownerGidHasBeenSet = true; m_ownerGid = value; }
71 inline CreationInfo& WithOwnerGid(long long value) { SetOwnerGid(value); return *this;}
73
75
79 inline const Aws::String& GetPermissions() const { return m_permissions; }
80 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
81 template<typename PermissionsT = Aws::String>
82 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions = std::forward<PermissionsT>(value); }
83 template<typename PermissionsT = Aws::String>
84 CreationInfo& WithPermissions(PermissionsT&& value) { SetPermissions(std::forward<PermissionsT>(value)); return *this;}
86 private:
87
88 long long m_ownerUid{0};
89 bool m_ownerUidHasBeenSet = false;
90
91 long long m_ownerGid{0};
92 bool m_ownerGidHasBeenSet = false;
93
94 Aws::String m_permissions;
95 bool m_permissionsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace EFS
100} // namespace Aws
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPermissions() const
CreationInfo & WithPermissions(PermissionsT &&value)
CreationInfo & WithOwnerGid(long long value)
AWS_EFS_API CreationInfo()=default
void SetOwnerUid(long long value)
CreationInfo & WithOwnerUid(long long value)
long long GetOwnerGid() const
AWS_EFS_API CreationInfo(Aws::Utils::Json::JsonView jsonValue)
void SetOwnerGid(long long value)
long long GetOwnerUid() const
void SetPermissions(PermissionsT &&value)
AWS_EFS_API CreationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue