AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KxUser.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace finspace
23{
24namespace Model
25{
26
32 class KxUser
33 {
34 public:
35 AWS_FINSPACE_API KxUser() = default;
36 AWS_FINSPACE_API KxUser(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FINSPACE_API KxUser& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetUserArn() const { return m_userArn; }
49 inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
50 template<typename UserArnT = Aws::String>
51 void SetUserArn(UserArnT&& value) { m_userArnHasBeenSet = true; m_userArn = std::forward<UserArnT>(value); }
52 template<typename UserArnT = Aws::String>
53 KxUser& WithUserArn(UserArnT&& value) { SetUserArn(std::forward<UserArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetUserName() const { return m_userName; }
61 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
62 template<typename UserNameT = Aws::String>
63 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet = true; m_userName = std::forward<UserNameT>(value); }
64 template<typename UserNameT = Aws::String>
65 KxUser& WithUserName(UserNameT&& value) { SetUserName(std::forward<UserNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetIamRole() const { return m_iamRole; }
73 inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
74 template<typename IamRoleT = Aws::String>
75 void SetIamRole(IamRoleT&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::forward<IamRoleT>(value); }
76 template<typename IamRoleT = Aws::String>
77 KxUser& WithIamRole(IamRoleT&& value) { SetIamRole(std::forward<IamRoleT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetCreateTimestamp() const { return m_createTimestamp; }
85 inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
86 template<typename CreateTimestampT = Aws::Utils::DateTime>
87 void SetCreateTimestamp(CreateTimestampT&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::forward<CreateTimestampT>(value); }
88 template<typename CreateTimestampT = Aws::Utils::DateTime>
89 KxUser& WithCreateTimestamp(CreateTimestampT&& value) { SetCreateTimestamp(std::forward<CreateTimestampT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetUpdateTimestamp() const { return m_updateTimestamp; }
97 inline bool UpdateTimestampHasBeenSet() const { return m_updateTimestampHasBeenSet; }
98 template<typename UpdateTimestampT = Aws::Utils::DateTime>
99 void SetUpdateTimestamp(UpdateTimestampT&& value) { m_updateTimestampHasBeenSet = true; m_updateTimestamp = std::forward<UpdateTimestampT>(value); }
100 template<typename UpdateTimestampT = Aws::Utils::DateTime>
101 KxUser& WithUpdateTimestamp(UpdateTimestampT&& value) { SetUpdateTimestamp(std::forward<UpdateTimestampT>(value)); return *this;}
103 private:
104
105 Aws::String m_userArn;
106 bool m_userArnHasBeenSet = false;
107
108 Aws::String m_userName;
109 bool m_userNameHasBeenSet = false;
110
111 Aws::String m_iamRole;
112 bool m_iamRoleHasBeenSet = false;
113
114 Aws::Utils::DateTime m_createTimestamp{};
115 bool m_createTimestampHasBeenSet = false;
116
117 Aws::Utils::DateTime m_updateTimestamp{};
118 bool m_updateTimestampHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace finspace
123} // namespace Aws
KxUser & WithCreateTimestamp(CreateTimestampT &&value)
Definition KxUser.h:89
const Aws::String & GetIamRole() const
Definition KxUser.h:72
KxUser & WithIamRole(IamRoleT &&value)
Definition KxUser.h:77
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreateTimestamp(CreateTimestampT &&value)
Definition KxUser.h:87
bool UserNameHasBeenSet() const
Definition KxUser.h:61
bool UserArnHasBeenSet() const
Definition KxUser.h:49
void SetIamRole(IamRoleT &&value)
Definition KxUser.h:75
const Aws::String & GetUserArn() const
Definition KxUser.h:48
bool UpdateTimestampHasBeenSet() const
Definition KxUser.h:97
const Aws::Utils::DateTime & GetUpdateTimestamp() const
Definition KxUser.h:96
KxUser & WithUserName(UserNameT &&value)
Definition KxUser.h:65
bool CreateTimestampHasBeenSet() const
Definition KxUser.h:85
KxUser & WithUserArn(UserArnT &&value)
Definition KxUser.h:53
void SetUserName(UserNameT &&value)
Definition KxUser.h:63
const Aws::String & GetUserName() const
Definition KxUser.h:60
void SetUserArn(UserArnT &&value)
Definition KxUser.h:51
AWS_FINSPACE_API KxUser(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API KxUser()=default
const Aws::Utils::DateTime & GetCreateTimestamp() const
Definition KxUser.h:84
AWS_FINSPACE_API KxUser & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateTimestamp(UpdateTimestampT &&value)
Definition KxUser.h:99
KxUser & WithUpdateTimestamp(UpdateTimestampT &&value)
Definition KxUser.h:101
bool IamRoleHasBeenSet() const
Definition KxUser.h:73
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue