AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
51 inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
52 inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
53 inline KxUser& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
54 inline KxUser& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
55 inline KxUser& WithUserArn(const char* value) { SetUserArn(value); return *this;}
57
59
62 inline const Aws::String& GetUserName() const{ return m_userName; }
63 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
64 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
65 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
66 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
67 inline KxUser& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
68 inline KxUser& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
69 inline KxUser& WithUserName(const char* value) { SetUserName(value); return *this;}
71
73
76 inline const Aws::String& GetIamRole() const{ return m_iamRole; }
77 inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
78 inline void SetIamRole(const Aws::String& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; }
79 inline void SetIamRole(Aws::String&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); }
80 inline void SetIamRole(const char* value) { m_iamRoleHasBeenSet = true; m_iamRole.assign(value); }
81 inline KxUser& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;}
82 inline KxUser& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;}
83 inline KxUser& WithIamRole(const char* value) { SetIamRole(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; }
91 inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
92 inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; }
93 inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::move(value); }
94 inline KxUser& WithCreateTimestamp(const Aws::Utils::DateTime& value) { SetCreateTimestamp(value); return *this;}
95 inline KxUser& WithCreateTimestamp(Aws::Utils::DateTime&& value) { SetCreateTimestamp(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetUpdateTimestamp() const{ return m_updateTimestamp; }
103 inline bool UpdateTimestampHasBeenSet() const { return m_updateTimestampHasBeenSet; }
104 inline void SetUpdateTimestamp(const Aws::Utils::DateTime& value) { m_updateTimestampHasBeenSet = true; m_updateTimestamp = value; }
105 inline void SetUpdateTimestamp(Aws::Utils::DateTime&& value) { m_updateTimestampHasBeenSet = true; m_updateTimestamp = std::move(value); }
106 inline KxUser& WithUpdateTimestamp(const Aws::Utils::DateTime& value) { SetUpdateTimestamp(value); return *this;}
107 inline KxUser& WithUpdateTimestamp(Aws::Utils::DateTime&& value) { SetUpdateTimestamp(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_userArn;
112 bool m_userArnHasBeenSet = false;
113
114 Aws::String m_userName;
115 bool m_userNameHasBeenSet = false;
116
117 Aws::String m_iamRole;
118 bool m_iamRoleHasBeenSet = false;
119
120 Aws::Utils::DateTime m_createTimestamp;
121 bool m_createTimestampHasBeenSet = false;
122
123 Aws::Utils::DateTime m_updateTimestamp;
124 bool m_updateTimestampHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace finspace
129} // namespace Aws
void SetUpdateTimestamp(Aws::Utils::DateTime &&value)
Definition KxUser.h:105
const Aws::String & GetIamRole() const
Definition KxUser.h:76
KxUser & WithIamRole(Aws::String &&value)
Definition KxUser.h:82
KxUser & WithUserArn(const char *value)
Definition KxUser.h:55
KxUser & WithIamRole(const Aws::String &value)
Definition KxUser.h:81
KxUser & WithUserName(const Aws::String &value)
Definition KxUser.h:67
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserName(Aws::String &&value)
Definition KxUser.h:65
void SetIamRole(const Aws::String &value)
Definition KxUser.h:78
void SetCreateTimestamp(const Aws::Utils::DateTime &value)
Definition KxUser.h:92
bool UserNameHasBeenSet() const
Definition KxUser.h:63
bool UserArnHasBeenSet() const
Definition KxUser.h:49
KxUser & WithUserName(const char *value)
Definition KxUser.h:69
const Aws::String & GetUserArn() const
Definition KxUser.h:48
bool UpdateTimestampHasBeenSet() const
Definition KxUser.h:103
const Aws::Utils::DateTime & GetUpdateTimestamp() const
Definition KxUser.h:102
KxUser & WithUserName(Aws::String &&value)
Definition KxUser.h:68
AWS_FINSPACE_API KxUser()
bool CreateTimestampHasBeenSet() const
Definition KxUser.h:91
void SetUserArn(const Aws::String &value)
Definition KxUser.h:50
const Aws::String & GetUserName() const
Definition KxUser.h:62
AWS_FINSPACE_API KxUser(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreateTimestamp() const
Definition KxUser.h:90
void SetUserName(const char *value)
Definition KxUser.h:66
void SetUpdateTimestamp(const Aws::Utils::DateTime &value)
Definition KxUser.h:104
KxUser & WithUserArn(const Aws::String &value)
Definition KxUser.h:53
KxUser & WithCreateTimestamp(const Aws::Utils::DateTime &value)
Definition KxUser.h:94
void SetUserArn(const char *value)
Definition KxUser.h:52
KxUser & WithUpdateTimestamp(const Aws::Utils::DateTime &value)
Definition KxUser.h:106
void SetUserName(const Aws::String &value)
Definition KxUser.h:64
void SetUserArn(Aws::String &&value)
Definition KxUser.h:51
AWS_FINSPACE_API KxUser & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIamRole(Aws::String &&value)
Definition KxUser.h:79
KxUser & WithIamRole(const char *value)
Definition KxUser.h:83
KxUser & WithCreateTimestamp(Aws::Utils::DateTime &&value)
Definition KxUser.h:95
void SetIamRole(const char *value)
Definition KxUser.h:80
KxUser & WithUpdateTimestamp(Aws::Utils::DateTime &&value)
Definition KxUser.h:107
KxUser & WithUserArn(Aws::String &&value)
Definition KxUser.h:54
bool IamRoleHasBeenSet() const
Definition KxUser.h:77
void SetCreateTimestamp(Aws::Utils::DateTime &&value)
Definition KxUser.h:93
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue