AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PosixUser.h
1
6#pragma once
7#include <aws/deadline/Deadline_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 deadline
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DEADLINE_API PosixUser();
35 AWS_DEADLINE_API PosixUser(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DEADLINE_API PosixUser& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetUser() const{ return m_user; }
45 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
46 inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
47 inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
48 inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
49 inline PosixUser& WithUser(const Aws::String& value) { SetUser(value); return *this;}
50 inline PosixUser& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
51 inline PosixUser& WithUser(const char* value) { SetUser(value); return *this;}
53
55
58 inline const Aws::String& GetGroup() const{ return m_group; }
59 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
60 inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
61 inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
62 inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
63 inline PosixUser& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
64 inline PosixUser& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
65 inline PosixUser& WithGroup(const char* value) { SetGroup(value); return *this;}
67 private:
68
69 Aws::String m_user;
70 bool m_userHasBeenSet = false;
71
72 Aws::String m_group;
73 bool m_groupHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace deadline
78} // namespace Aws
PosixUser & WithGroup(const char *value)
Definition PosixUser.h:65
PosixUser & WithUser(const char *value)
Definition PosixUser.h:51
void SetUser(const char *value)
Definition PosixUser.h:48
AWS_DEADLINE_API PosixUser()
void SetGroup(const char *value)
Definition PosixUser.h:62
AWS_DEADLINE_API PosixUser(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API PosixUser & operator=(Aws::Utils::Json::JsonView jsonValue)
PosixUser & WithUser(Aws::String &&value)
Definition PosixUser.h:50
const Aws::String & GetUser() const
Definition PosixUser.h:44
PosixUser & WithGroup(const Aws::String &value)
Definition PosixUser.h:63
const Aws::String & GetGroup() const
Definition PosixUser.h:58
void SetGroup(const Aws::String &value)
Definition PosixUser.h:60
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroup(Aws::String &&value)
Definition PosixUser.h:61
void SetUser(const Aws::String &value)
Definition PosixUser.h:46
PosixUser & WithUser(const Aws::String &value)
Definition PosixUser.h:49
void SetUser(Aws::String &&value)
Definition PosixUser.h:47
PosixUser & WithGroup(Aws::String &&value)
Definition PosixUser.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue