AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPermissions(const Aws::String& value) { m_permissionsHasBeenSet = true; m_permissions = value; }
82 inline void SetPermissions(Aws::String&& value) { m_permissionsHasBeenSet = true; m_permissions = std::move(value); }
83 inline void SetPermissions(const char* value) { m_permissionsHasBeenSet = true; m_permissions.assign(value); }
84 inline CreationInfo& WithPermissions(const Aws::String& value) { SetPermissions(value); return *this;}
85 inline CreationInfo& WithPermissions(Aws::String&& value) { SetPermissions(std::move(value)); return *this;}
86 inline CreationInfo& WithPermissions(const char* value) { SetPermissions(value); return *this;}
88 private:
89
90 long long m_ownerUid;
91 bool m_ownerUidHasBeenSet = false;
92
93 long long m_ownerGid;
94 bool m_ownerGidHasBeenSet = false;
95
96 Aws::String m_permissions;
97 bool m_permissionsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace EFS
102} // namespace Aws
void SetPermissions(const char *value)
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPermissions() const
CreationInfo & WithPermissions(Aws::String &&value)
void SetPermissions(Aws::String &&value)
CreationInfo & WithOwnerGid(long long value)
void SetPermissions(const Aws::String &value)
CreationInfo & WithPermissions(const Aws::String &value)
void SetOwnerUid(long long value)
CreationInfo & WithOwnerUid(long long value)
long long GetOwnerGid() const
CreationInfo & WithPermissions(const char *value)
AWS_EFS_API CreationInfo(Aws::Utils::Json::JsonView jsonValue)
void SetOwnerGid(long long value)
long long GetOwnerUid() const
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