AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WindowsUser.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 WindowsUser();
35 AWS_DEADLINE_API WindowsUser(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DEADLINE_API WindowsUser& 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 WindowsUser& WithUser(const Aws::String& value) { SetUser(value); return *this;}
50 inline WindowsUser& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
51 inline WindowsUser& WithUser(const char* value) { SetUser(value); return *this;}
53
55
58 inline const Aws::String& GetPasswordArn() const{ return m_passwordArn; }
59 inline bool PasswordArnHasBeenSet() const { return m_passwordArnHasBeenSet; }
60 inline void SetPasswordArn(const Aws::String& value) { m_passwordArnHasBeenSet = true; m_passwordArn = value; }
61 inline void SetPasswordArn(Aws::String&& value) { m_passwordArnHasBeenSet = true; m_passwordArn = std::move(value); }
62 inline void SetPasswordArn(const char* value) { m_passwordArnHasBeenSet = true; m_passwordArn.assign(value); }
63 inline WindowsUser& WithPasswordArn(const Aws::String& value) { SetPasswordArn(value); return *this;}
64 inline WindowsUser& WithPasswordArn(Aws::String&& value) { SetPasswordArn(std::move(value)); return *this;}
65 inline WindowsUser& WithPasswordArn(const char* value) { SetPasswordArn(value); return *this;}
67 private:
68
69 Aws::String m_user;
70 bool m_userHasBeenSet = false;
71
72 Aws::String m_passwordArn;
73 bool m_passwordArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace deadline
78} // namespace Aws
void SetUser(const char *value)
Definition WindowsUser.h:48
void SetPasswordArn(const Aws::String &value)
Definition WindowsUser.h:60
WindowsUser & WithUser(const char *value)
Definition WindowsUser.h:51
void SetPasswordArn(const char *value)
Definition WindowsUser.h:62
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
WindowsUser & WithPasswordArn(Aws::String &&value)
Definition WindowsUser.h:64
const Aws::String & GetPasswordArn() const
Definition WindowsUser.h:58
WindowsUser & WithPasswordArn(const Aws::String &value)
Definition WindowsUser.h:63
void SetUser(const Aws::String &value)
Definition WindowsUser.h:46
WindowsUser & WithUser(Aws::String &&value)
Definition WindowsUser.h:50
const Aws::String & GetUser() const
Definition WindowsUser.h:44
AWS_DEADLINE_API WindowsUser(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API WindowsUser & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPasswordArn(Aws::String &&value)
Definition WindowsUser.h:61
void SetUser(Aws::String &&value)
Definition WindowsUser.h:47
WindowsUser & WithPasswordArn(const char *value)
Definition WindowsUser.h:65
WindowsUser & WithUser(const Aws::String &value)
Definition WindowsUser.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue