AWS SDK for C++  1.9.175
AWS SDK for C++
EnvironmentMember.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Cloud9
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
50  inline const Permissions& GetPermissions() const{ return m_permissions; }
51 
59  inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
60 
68  inline void SetPermissions(const Permissions& value) { m_permissionsHasBeenSet = true; m_permissions = value; }
69 
77  inline void SetPermissions(Permissions&& value) { m_permissionsHasBeenSet = true; m_permissions = std::move(value); }
78 
86  inline EnvironmentMember& WithPermissions(const Permissions& value) { SetPermissions(value); return *this;}
87 
95  inline EnvironmentMember& WithPermissions(Permissions&& value) { SetPermissions(std::move(value)); return *this;}
96 
97 
102  inline const Aws::String& GetUserId() const{ return m_userId; }
103 
108  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
109 
114  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
115 
120  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
121 
126  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
127 
132  inline EnvironmentMember& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
133 
138  inline EnvironmentMember& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
139 
144  inline EnvironmentMember& WithUserId(const char* value) { SetUserId(value); return *this;}
145 
146 
150  inline const Aws::String& GetUserArn() const{ return m_userArn; }
151 
155  inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
156 
160  inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
161 
165  inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
166 
170  inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
171 
175  inline EnvironmentMember& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
176 
180  inline EnvironmentMember& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
181 
185  inline EnvironmentMember& WithUserArn(const char* value) { SetUserArn(value); return *this;}
186 
187 
191  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
192 
196  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
197 
201  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
202 
206  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
207 
211  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
212 
216  inline EnvironmentMember& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
217 
221  inline EnvironmentMember& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
222 
226  inline EnvironmentMember& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
227 
228 
233  inline const Aws::Utils::DateTime& GetLastAccess() const{ return m_lastAccess; }
234 
239  inline bool LastAccessHasBeenSet() const { return m_lastAccessHasBeenSet; }
240 
245  inline void SetLastAccess(const Aws::Utils::DateTime& value) { m_lastAccessHasBeenSet = true; m_lastAccess = value; }
246 
251  inline void SetLastAccess(Aws::Utils::DateTime&& value) { m_lastAccessHasBeenSet = true; m_lastAccess = std::move(value); }
252 
257  inline EnvironmentMember& WithLastAccess(const Aws::Utils::DateTime& value) { SetLastAccess(value); return *this;}
258 
263  inline EnvironmentMember& WithLastAccess(Aws::Utils::DateTime&& value) { SetLastAccess(std::move(value)); return *this;}
264 
265  private:
266 
267  Permissions m_permissions;
268  bool m_permissionsHasBeenSet;
269 
270  Aws::String m_userId;
271  bool m_userIdHasBeenSet;
272 
273  Aws::String m_userArn;
274  bool m_userArnHasBeenSet;
275 
276  Aws::String m_environmentId;
277  bool m_environmentIdHasBeenSet;
278 
279  Aws::Utils::DateTime m_lastAccess;
280  bool m_lastAccessHasBeenSet;
281  };
282 
283 } // namespace Model
284 } // namespace Cloud9
285 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Cloud9::Model::EnvironmentMember::WithPermissions
EnvironmentMember & WithPermissions(Permissions &&value)
Definition: EnvironmentMember.h:95
Aws::Cloud9::Model::EnvironmentMember::WithUserId
EnvironmentMember & WithUserId(const Aws::String &value)
Definition: EnvironmentMember.h:132
Aws::Cloud9::Model::EnvironmentMember::WithUserId
EnvironmentMember & WithUserId(const char *value)
Definition: EnvironmentMember.h:144
AWS_CLOUD9_API
#define AWS_CLOUD9_API
Definition: Cloud9_EXPORTS.h:28
Aws::Cloud9::Model::EnvironmentMember::WithUserArn
EnvironmentMember & WithUserArn(Aws::String &&value)
Definition: EnvironmentMember.h:180
Aws::Cloud9::Model::EnvironmentMember::SetLastAccess
void SetLastAccess(Aws::Utils::DateTime &&value)
Definition: EnvironmentMember.h:251
DateTime.h
Aws::Cloud9::Model::EnvironmentMember::SetUserArn
void SetUserArn(Aws::String &&value)
Definition: EnvironmentMember.h:165
Aws::Cloud9::Model::EnvironmentMember::GetLastAccess
const Aws::Utils::DateTime & GetLastAccess() const
Definition: EnvironmentMember.h:233
Aws::Cloud9::Model::EnvironmentMember::GetUserArn
const Aws::String & GetUserArn() const
Definition: EnvironmentMember.h:150
Aws::Cloud9::Model::EnvironmentMember::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Cloud9::Model::EnvironmentMember::SetUserId
void SetUserId(Aws::String &&value)
Definition: EnvironmentMember.h:120
Aws::Cloud9::Model::EnvironmentMember::SetEnvironmentId
void SetEnvironmentId(const char *value)
Definition: EnvironmentMember.h:211
Aws::Cloud9::Model::EnvironmentMember::PermissionsHasBeenSet
bool PermissionsHasBeenSet() const
Definition: EnvironmentMember.h:59
Aws::Cloud9::Model::EnvironmentMember::SetEnvironmentId
void SetEnvironmentId(const Aws::String &value)
Definition: EnvironmentMember.h:201
Aws::Cloud9::Model::EnvironmentMember::SetUserId
void SetUserId(const Aws::String &value)
Definition: EnvironmentMember.h:114
Aws::Cloud9::Model::EnvironmentMember::WithPermissions
EnvironmentMember & WithPermissions(const Permissions &value)
Definition: EnvironmentMember.h:86
Aws::Cloud9::Model::EnvironmentMember::SetLastAccess
void SetLastAccess(const Aws::Utils::DateTime &value)
Definition: EnvironmentMember.h:245
Aws::Cloud9::Model::EnvironmentMember::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: EnvironmentMember.h:108
Aws::Cloud9::Model::EnvironmentMember::SetUserArn
void SetUserArn(const Aws::String &value)
Definition: EnvironmentMember.h:160
Aws::Cloud9::Model::EnvironmentMember::GetPermissions
const Permissions & GetPermissions() const
Definition: EnvironmentMember.h:50
Aws::Cloud9::Model::Permissions
Permissions
Definition: Permissions.h:17
Aws::Cloud9::Model::EnvironmentMember::SetUserArn
void SetUserArn(const char *value)
Definition: EnvironmentMember.h:170
Aws::Cloud9::Model::EnvironmentMember::GetEnvironmentId
const Aws::String & GetEnvironmentId() const
Definition: EnvironmentMember.h:191
Aws::Cloud9::Model::EnvironmentMember::WithUserId
EnvironmentMember & WithUserId(Aws::String &&value)
Definition: EnvironmentMember.h:138
Aws::Cloud9::Model::EnvironmentMember::WithUserArn
EnvironmentMember & WithUserArn(const char *value)
Definition: EnvironmentMember.h:185
Aws::Cloud9::Model::EnvironmentMember::SetEnvironmentId
void SetEnvironmentId(Aws::String &&value)
Definition: EnvironmentMember.h:206
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Permissions.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Cloud9::Model::EnvironmentMember::WithLastAccess
EnvironmentMember & WithLastAccess(Aws::Utils::DateTime &&value)
Definition: EnvironmentMember.h:263
Aws::Cloud9::Model::EnvironmentMember::WithUserArn
EnvironmentMember & WithUserArn(const Aws::String &value)
Definition: EnvironmentMember.h:175
Aws::Cloud9::Model::EnvironmentMember::WithEnvironmentId
EnvironmentMember & WithEnvironmentId(const char *value)
Definition: EnvironmentMember.h:226
Aws::Cloud9::Model::EnvironmentMember::LastAccessHasBeenSet
bool LastAccessHasBeenSet() const
Definition: EnvironmentMember.h:239
Aws::Cloud9::Model::EnvironmentMember::WithEnvironmentId
EnvironmentMember & WithEnvironmentId(const Aws::String &value)
Definition: EnvironmentMember.h:216
Aws::Cloud9::Model::EnvironmentMember::SetUserId
void SetUserId(const char *value)
Definition: EnvironmentMember.h:126
Aws::Cloud9::Model::EnvironmentMember::EnvironmentMember
EnvironmentMember()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Cloud9::Model::EnvironmentMember::GetUserId
const Aws::String & GetUserId() const
Definition: EnvironmentMember.h:102
Aws::Cloud9::Model::EnvironmentMember
Definition: EnvironmentMember.h:35
Aws::Cloud9::Model::EnvironmentMember::EnvironmentMember
EnvironmentMember(Aws::Utils::Json::JsonView jsonValue)
Aws::Cloud9::Model::EnvironmentMember::SetPermissions
void SetPermissions(const Permissions &value)
Definition: EnvironmentMember.h:68
Aws::Cloud9::Model::EnvironmentMember::operator=
EnvironmentMember & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Cloud9::Model::EnvironmentMember::EnvironmentIdHasBeenSet
bool EnvironmentIdHasBeenSet() const
Definition: EnvironmentMember.h:196
Aws::Cloud9::Model::EnvironmentMember::UserArnHasBeenSet
bool UserArnHasBeenSet() const
Definition: EnvironmentMember.h:155
Aws::Cloud9::Model::EnvironmentMember::WithEnvironmentId
EnvironmentMember & WithEnvironmentId(Aws::String &&value)
Definition: EnvironmentMember.h:221
Aws::Cloud9::Model::EnvironmentMember::WithLastAccess
EnvironmentMember & WithLastAccess(const Aws::Utils::DateTime &value)
Definition: EnvironmentMember.h:257
Cloud9_EXPORTS.h
Aws::Cloud9::Model::EnvironmentMember::SetPermissions
void SetPermissions(Permissions &&value)
Definition: EnvironmentMember.h:77