AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename UserT = Aws::String>
47 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
48 template<typename UserT = Aws::String>
49 WindowsUser& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
51
53
56 inline const Aws::String& GetPasswordArn() const { return m_passwordArn; }
57 inline bool PasswordArnHasBeenSet() const { return m_passwordArnHasBeenSet; }
58 template<typename PasswordArnT = Aws::String>
59 void SetPasswordArn(PasswordArnT&& value) { m_passwordArnHasBeenSet = true; m_passwordArn = std::forward<PasswordArnT>(value); }
60 template<typename PasswordArnT = Aws::String>
61 WindowsUser& WithPasswordArn(PasswordArnT&& value) { SetPasswordArn(std::forward<PasswordArnT>(value)); return *this;}
63 private:
64
65 Aws::String m_user;
66 bool m_userHasBeenSet = false;
67
68 Aws::String m_passwordArn;
69 bool m_passwordArnHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace deadline
74} // namespace Aws
WindowsUser & WithUser(UserT &&value)
Definition WindowsUser.h:49
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPasswordArn(PasswordArnT &&value)
Definition WindowsUser.h:59
AWS_DEADLINE_API WindowsUser()=default
const Aws::String & GetPasswordArn() const
Definition WindowsUser.h:56
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)
WindowsUser & WithPasswordArn(PasswordArnT &&value)
Definition WindowsUser.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue