AWS SDK for C++  1.9.20
AWS SDK for C++
SessionMappingDetail.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 EMR
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetStudioId() const{ return m_studioId; }
47 
51  inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
52 
56  inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; }
57 
61  inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); }
62 
66  inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); }
67 
71  inline SessionMappingDetail& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
72 
76  inline SessionMappingDetail& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
77 
81  inline SessionMappingDetail& WithStudioId(const char* value) { SetStudioId(value); return *this;}
82 
83 
87  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
88 
92  inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
93 
97  inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
98 
102  inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
103 
107  inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
108 
112  inline SessionMappingDetail& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
113 
117  inline SessionMappingDetail& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
118 
122  inline SessionMappingDetail& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
123 
124 
132  inline const Aws::String& GetIdentityName() const{ return m_identityName; }
133 
141  inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
142 
150  inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; }
151 
159  inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); }
160 
168  inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); }
169 
177  inline SessionMappingDetail& WithIdentityName(const Aws::String& value) { SetIdentityName(value); return *this;}
178 
186  inline SessionMappingDetail& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
187 
195  inline SessionMappingDetail& WithIdentityName(const char* value) { SetIdentityName(value); return *this;}
196 
197 
202  inline const IdentityType& GetIdentityType() const{ return m_identityType; }
203 
208  inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
209 
214  inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
215 
220  inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
221 
226  inline SessionMappingDetail& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
227 
232  inline SessionMappingDetail& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
233 
234 
239  inline const Aws::String& GetSessionPolicyArn() const{ return m_sessionPolicyArn; }
240 
245  inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; }
246 
251  inline void SetSessionPolicyArn(const Aws::String& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = value; }
252 
257  inline void SetSessionPolicyArn(Aws::String&& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = std::move(value); }
258 
263  inline void SetSessionPolicyArn(const char* value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn.assign(value); }
264 
269  inline SessionMappingDetail& WithSessionPolicyArn(const Aws::String& value) { SetSessionPolicyArn(value); return *this;}
270 
275  inline SessionMappingDetail& WithSessionPolicyArn(Aws::String&& value) { SetSessionPolicyArn(std::move(value)); return *this;}
276 
281  inline SessionMappingDetail& WithSessionPolicyArn(const char* value) { SetSessionPolicyArn(value); return *this;}
282 
283 
287  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
288 
292  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
293 
297  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
298 
302  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
303 
307  inline SessionMappingDetail& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
308 
312  inline SessionMappingDetail& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
313 
314 
318  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
319 
323  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
324 
328  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
329 
333  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
334 
338  inline SessionMappingDetail& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
339 
343  inline SessionMappingDetail& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
344 
345  private:
346 
347  Aws::String m_studioId;
348  bool m_studioIdHasBeenSet;
349 
350  Aws::String m_identityId;
351  bool m_identityIdHasBeenSet;
352 
353  Aws::String m_identityName;
354  bool m_identityNameHasBeenSet;
355 
356  IdentityType m_identityType;
357  bool m_identityTypeHasBeenSet;
358 
359  Aws::String m_sessionPolicyArn;
360  bool m_sessionPolicyArnHasBeenSet;
361 
362  Aws::Utils::DateTime m_creationTime;
363  bool m_creationTimeHasBeenSet;
364 
365  Aws::Utils::DateTime m_lastModifiedTime;
366  bool m_lastModifiedTimeHasBeenSet;
367  };
368 
369 } // namespace Model
370 } // namespace EMR
371 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EMR::Model::SessionMappingDetail::SessionMappingDetail
SessionMappingDetail()
Aws::EMR::Model::SessionMappingDetail::WithSessionPolicyArn
SessionMappingDetail & WithSessionPolicyArn(const Aws::String &value)
Definition: SessionMappingDetail.h:269
Aws::EMR::Model::SessionMappingDetail::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: SessionMappingDetail.h:297
Aws::EMR::Model::SessionMappingDetail::GetIdentityId
const Aws::String & GetIdentityId() const
Definition: SessionMappingDetail.h:87
Aws::EMR::Model::SessionMappingDetail
Definition: SessionMappingDetail.h:35
Aws::EMR::Model::IdentityType
IdentityType
Definition: IdentityType.h:17
Aws::EMR::Model::SessionMappingDetail::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: SessionMappingDetail.h:333
Aws::EMR::Model::SessionMappingDetail::SetIdentityId
void SetIdentityId(const char *value)
Definition: SessionMappingDetail.h:107
Aws::EMR::Model::SessionMappingDetail::WithIdentityId
SessionMappingDetail & WithIdentityId(const Aws::String &value)
Definition: SessionMappingDetail.h:112
EMR_EXPORTS.h
Aws::EMR::Model::SessionMappingDetail::GetStudioId
const Aws::String & GetStudioId() const
Definition: SessionMappingDetail.h:46
Aws::EMR::Model::SessionMappingDetail::GetSessionPolicyArn
const Aws::String & GetSessionPolicyArn() const
Definition: SessionMappingDetail.h:239
DateTime.h
Aws::EMR::Model::SessionMappingDetail::WithLastModifiedTime
SessionMappingDetail & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: SessionMappingDetail.h:338
Aws::EMR::Model::SessionMappingDetail::SetIdentityType
void SetIdentityType(const IdentityType &value)
Definition: SessionMappingDetail.h:214
Aws::EMR::Model::SessionMappingDetail::SetIdentityName
void SetIdentityName(const char *value)
Definition: SessionMappingDetail.h:168
Aws::EMR::Model::SessionMappingDetail::GetIdentityType
const IdentityType & GetIdentityType() const
Definition: SessionMappingDetail.h:202
Aws::EMR::Model::SessionMappingDetail::WithLastModifiedTime
SessionMappingDetail & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: SessionMappingDetail.h:343
Aws::EMR::Model::SessionMappingDetail::SetIdentityId
void SetIdentityId(Aws::String &&value)
Definition: SessionMappingDetail.h:102
Aws::EMR::Model::SessionMappingDetail::IdentityIdHasBeenSet
bool IdentityIdHasBeenSet() const
Definition: SessionMappingDetail.h:92
Aws::EMR::Model::SessionMappingDetail::GetIdentityName
const Aws::String & GetIdentityName() const
Definition: SessionMappingDetail.h:132
Aws::EMR::Model::SessionMappingDetail::SessionMappingDetail
SessionMappingDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::SessionMappingDetail::SessionPolicyArnHasBeenSet
bool SessionPolicyArnHasBeenSet() const
Definition: SessionMappingDetail.h:245
Aws::EMR::Model::SessionMappingDetail::WithIdentityType
SessionMappingDetail & WithIdentityType(IdentityType &&value)
Definition: SessionMappingDetail.h:232
Aws::EMR::Model::SessionMappingDetail::SetStudioId
void SetStudioId(Aws::String &&value)
Definition: SessionMappingDetail.h:61
Aws::EMR::Model::SessionMappingDetail::WithIdentityId
SessionMappingDetail & WithIdentityId(Aws::String &&value)
Definition: SessionMappingDetail.h:117
Aws::EMR::Model::SessionMappingDetail::SetIdentityName
void SetIdentityName(const Aws::String &value)
Definition: SessionMappingDetail.h:150
Aws::EMR::Model::SessionMappingDetail::StudioIdHasBeenSet
bool StudioIdHasBeenSet() const
Definition: SessionMappingDetail.h:51
Aws::EMR::Model::SessionMappingDetail::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: SessionMappingDetail.h:287
IdentityType.h
Aws::EMR::Model::SessionMappingDetail::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: SessionMappingDetail.h:328
Aws::EMR::Model::SessionMappingDetail::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: SessionMappingDetail.h:292
Aws::EMR::Model::SessionMappingDetail::SetSessionPolicyArn
void SetSessionPolicyArn(const char *value)
Definition: SessionMappingDetail.h:263
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::SessionMappingDetail::operator=
SessionMappingDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::SessionMappingDetail::SetIdentityId
void SetIdentityId(const Aws::String &value)
Definition: SessionMappingDetail.h:97
Aws::EMR::Model::SessionMappingDetail::IdentityTypeHasBeenSet
bool IdentityTypeHasBeenSet() const
Definition: SessionMappingDetail.h:208
Aws::EMR::Model::SessionMappingDetail::SetIdentityType
void SetIdentityType(IdentityType &&value)
Definition: SessionMappingDetail.h:220
Aws::EMR::Model::SessionMappingDetail::SetStudioId
void SetStudioId(const char *value)
Definition: SessionMappingDetail.h:66
Aws::EMR::Model::SessionMappingDetail::SetIdentityName
void SetIdentityName(Aws::String &&value)
Definition: SessionMappingDetail.h:159
Aws::EMR::Model::SessionMappingDetail::SetSessionPolicyArn
void SetSessionPolicyArn(Aws::String &&value)
Definition: SessionMappingDetail.h:257
Aws::EMR::Model::SessionMappingDetail::WithIdentityName
SessionMappingDetail & WithIdentityName(Aws::String &&value)
Definition: SessionMappingDetail.h:186
Aws::EMR::Model::SessionMappingDetail::WithStudioId
SessionMappingDetail & WithStudioId(const char *value)
Definition: SessionMappingDetail.h:81
Aws::EMR::Model::SessionMappingDetail::WithCreationTime
SessionMappingDetail & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: SessionMappingDetail.h:307
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::SessionMappingDetail::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: SessionMappingDetail.h:318
Aws::EMR::Model::SessionMappingDetail::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: SessionMappingDetail.h:302
Aws::EMR::Model::SessionMappingDetail::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::SessionMappingDetail::WithCreationTime
SessionMappingDetail & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: SessionMappingDetail.h:312
Aws::EMR::Model::SessionMappingDetail::WithIdentityId
SessionMappingDetail & WithIdentityId(const char *value)
Definition: SessionMappingDetail.h:122
Aws::EMR::Model::SessionMappingDetail::SetStudioId
void SetStudioId(const Aws::String &value)
Definition: SessionMappingDetail.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::SessionMappingDetail::IdentityNameHasBeenSet
bool IdentityNameHasBeenSet() const
Definition: SessionMappingDetail.h:141
Aws::EMR::Model::SessionMappingDetail::WithStudioId
SessionMappingDetail & WithStudioId(const Aws::String &value)
Definition: SessionMappingDetail.h:71
Aws::EMR::Model::SessionMappingDetail::WithIdentityName
SessionMappingDetail & WithIdentityName(const char *value)
Definition: SessionMappingDetail.h:195
Aws::EMR::Model::SessionMappingDetail::WithSessionPolicyArn
SessionMappingDetail & WithSessionPolicyArn(Aws::String &&value)
Definition: SessionMappingDetail.h:275
Aws::EMR::Model::SessionMappingDetail::WithSessionPolicyArn
SessionMappingDetail & WithSessionPolicyArn(const char *value)
Definition: SessionMappingDetail.h:281
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::SessionMappingDetail::WithIdentityName
SessionMappingDetail & WithIdentityName(const Aws::String &value)
Definition: SessionMappingDetail.h:177
Aws::EMR::Model::SessionMappingDetail::WithIdentityType
SessionMappingDetail & WithIdentityType(const IdentityType &value)
Definition: SessionMappingDetail.h:226
Aws::EMR::Model::SessionMappingDetail::WithStudioId
SessionMappingDetail & WithStudioId(Aws::String &&value)
Definition: SessionMappingDetail.h:76
Aws::EMR::Model::SessionMappingDetail::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: SessionMappingDetail.h:323
Aws::EMR::Model::SessionMappingDetail::SetSessionPolicyArn
void SetSessionPolicyArn(const Aws::String &value)
Definition: SessionMappingDetail.h:251