AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
KxUser.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/Finspace_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace finspace {
21namespace Model {
22
28class KxUser {
29 public:
30 AWS_FINSPACE_API KxUser() = default;
31 AWS_FINSPACE_API KxUser(Aws::Utils::Json::JsonView jsonValue);
32 AWS_FINSPACE_API KxUser& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetUserArn() const { return m_userArn; }
43 inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
44 template <typename UserArnT = Aws::String>
45 void SetUserArn(UserArnT&& value) {
46 m_userArnHasBeenSet = true;
47 m_userArn = std::forward<UserArnT>(value);
48 }
49 template <typename UserArnT = Aws::String>
50 KxUser& WithUserArn(UserArnT&& value) {
51 SetUserArn(std::forward<UserArnT>(value));
52 return *this;
53 }
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) {
64 m_userNameHasBeenSet = true;
65 m_userName = std::forward<UserNameT>(value);
66 }
67 template <typename UserNameT = Aws::String>
68 KxUser& WithUserName(UserNameT&& value) {
69 SetUserName(std::forward<UserNameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetIamRole() const { return m_iamRole; }
79 inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
80 template <typename IamRoleT = Aws::String>
81 void SetIamRole(IamRoleT&& value) {
82 m_iamRoleHasBeenSet = true;
83 m_iamRole = std::forward<IamRoleT>(value);
84 }
85 template <typename IamRoleT = Aws::String>
86 KxUser& WithIamRole(IamRoleT&& value) {
87 SetIamRole(std::forward<IamRoleT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetCreateTimestamp() const { return m_createTimestamp; }
97 inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
98 template <typename CreateTimestampT = Aws::Utils::DateTime>
99 void SetCreateTimestamp(CreateTimestampT&& value) {
100 m_createTimestampHasBeenSet = true;
101 m_createTimestamp = std::forward<CreateTimestampT>(value);
102 }
103 template <typename CreateTimestampT = Aws::Utils::DateTime>
104 KxUser& WithCreateTimestamp(CreateTimestampT&& value) {
105 SetCreateTimestamp(std::forward<CreateTimestampT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetUpdateTimestamp() const { return m_updateTimestamp; }
115 inline bool UpdateTimestampHasBeenSet() const { return m_updateTimestampHasBeenSet; }
116 template <typename UpdateTimestampT = Aws::Utils::DateTime>
117 void SetUpdateTimestamp(UpdateTimestampT&& value) {
118 m_updateTimestampHasBeenSet = true;
119 m_updateTimestamp = std::forward<UpdateTimestampT>(value);
120 }
121 template <typename UpdateTimestampT = Aws::Utils::DateTime>
122 KxUser& WithUpdateTimestamp(UpdateTimestampT&& value) {
123 SetUpdateTimestamp(std::forward<UpdateTimestampT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_userArn;
129
130 Aws::String m_userName;
131
132 Aws::String m_iamRole;
133
134 Aws::Utils::DateTime m_createTimestamp{};
135
136 Aws::Utils::DateTime m_updateTimestamp{};
137 bool m_userArnHasBeenSet = false;
138 bool m_userNameHasBeenSet = false;
139 bool m_iamRoleHasBeenSet = false;
140 bool m_createTimestampHasBeenSet = false;
141 bool m_updateTimestampHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace finspace
146} // namespace Aws
KxUser & WithCreateTimestamp(CreateTimestampT &&value)
Definition KxUser.h:104
const Aws::String & GetIamRole() const
Definition KxUser.h:78
KxUser & WithIamRole(IamRoleT &&value)
Definition KxUser.h:86
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreateTimestamp(CreateTimestampT &&value)
Definition KxUser.h:99
bool UserNameHasBeenSet() const
Definition KxUser.h:61
bool UserArnHasBeenSet() const
Definition KxUser.h:43
void SetIamRole(IamRoleT &&value)
Definition KxUser.h:81
const Aws::String & GetUserArn() const
Definition KxUser.h:42
bool UpdateTimestampHasBeenSet() const
Definition KxUser.h:115
const Aws::Utils::DateTime & GetUpdateTimestamp() const
Definition KxUser.h:114
KxUser & WithUserName(UserNameT &&value)
Definition KxUser.h:68
bool CreateTimestampHasBeenSet() const
Definition KxUser.h:97
KxUser & WithUserArn(UserArnT &&value)
Definition KxUser.h:50
void SetUserName(UserNameT &&value)
Definition KxUser.h:63
const Aws::String & GetUserName() const
Definition KxUser.h:60
void SetUserArn(UserArnT &&value)
Definition KxUser.h:45
AWS_FINSPACE_API KxUser(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API KxUser()=default
const Aws::Utils::DateTime & GetCreateTimestamp() const
Definition KxUser.h:96
AWS_FINSPACE_API KxUser & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateTimestamp(UpdateTimestampT &&value)
Definition KxUser.h:117
KxUser & WithUpdateTimestamp(UpdateTimestampT &&value)
Definition KxUser.h:122
bool IamRoleHasBeenSet() const
Definition KxUser.h:79
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue