AWS SDK for C++  1.9.21
AWS SDK for C++
SessionMappingSummary.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 SessionMappingSummary& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
72 
76  inline SessionMappingSummary& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
77 
81  inline SessionMappingSummary& WithStudioId(const char* value) { SetStudioId(value); return *this;}
82 
83 
88  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
89 
94  inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
95 
100  inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
101 
106  inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
107 
112  inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
113 
118  inline SessionMappingSummary& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
119 
124  inline SessionMappingSummary& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
125 
130  inline SessionMappingSummary& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
131 
132 
140  inline const Aws::String& GetIdentityName() const{ return m_identityName; }
141 
149  inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
150 
158  inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; }
159 
167  inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); }
168 
176  inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); }
177 
185  inline SessionMappingSummary& WithIdentityName(const Aws::String& value) { SetIdentityName(value); return *this;}
186 
194  inline SessionMappingSummary& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
195 
203  inline SessionMappingSummary& WithIdentityName(const char* value) { SetIdentityName(value); return *this;}
204 
205 
210  inline const IdentityType& GetIdentityType() const{ return m_identityType; }
211 
216  inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
217 
222  inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
223 
228  inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
229 
234  inline SessionMappingSummary& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
235 
240  inline SessionMappingSummary& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
241 
242 
247  inline const Aws::String& GetSessionPolicyArn() const{ return m_sessionPolicyArn; }
248 
253  inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; }
254 
259  inline void SetSessionPolicyArn(const Aws::String& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = value; }
260 
265  inline void SetSessionPolicyArn(Aws::String&& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = std::move(value); }
266 
271  inline void SetSessionPolicyArn(const char* value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn.assign(value); }
272 
277  inline SessionMappingSummary& WithSessionPolicyArn(const Aws::String& value) { SetSessionPolicyArn(value); return *this;}
278 
283  inline SessionMappingSummary& WithSessionPolicyArn(Aws::String&& value) { SetSessionPolicyArn(std::move(value)); return *this;}
284 
289  inline SessionMappingSummary& WithSessionPolicyArn(const char* value) { SetSessionPolicyArn(value); return *this;}
290 
291 
295  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
296 
300  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
301 
305  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
306 
310  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
311 
315  inline SessionMappingSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
316 
320  inline SessionMappingSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
321 
322  private:
323 
324  Aws::String m_studioId;
325  bool m_studioIdHasBeenSet;
326 
327  Aws::String m_identityId;
328  bool m_identityIdHasBeenSet;
329 
330  Aws::String m_identityName;
331  bool m_identityNameHasBeenSet;
332 
333  IdentityType m_identityType;
334  bool m_identityTypeHasBeenSet;
335 
336  Aws::String m_sessionPolicyArn;
337  bool m_sessionPolicyArnHasBeenSet;
338 
339  Aws::Utils::DateTime m_creationTime;
340  bool m_creationTimeHasBeenSet;
341  };
342 
343 } // namespace Model
344 } // namespace EMR
345 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EMR::Model::SessionMappingSummary::SetStudioId
void SetStudioId(const char *value)
Definition: SessionMappingSummary.h:66
Aws::EMR::Model::SessionMappingSummary::SetStudioId
void SetStudioId(const Aws::String &value)
Definition: SessionMappingSummary.h:56
Aws::EMR::Model::SessionMappingSummary::SetIdentityName
void SetIdentityName(const Aws::String &value)
Definition: SessionMappingSummary.h:158
Aws::EMR::Model::SessionMappingSummary::WithStudioId
SessionMappingSummary & WithStudioId(Aws::String &&value)
Definition: SessionMappingSummary.h:76
Aws::EMR::Model::IdentityType
IdentityType
Definition: IdentityType.h:17
Aws::EMR::Model::SessionMappingSummary::WithStudioId
SessionMappingSummary & WithStudioId(const Aws::String &value)
Definition: SessionMappingSummary.h:71
EMR_EXPORTS.h
Aws::EMR::Model::SessionMappingSummary
Definition: SessionMappingSummary.h:35
Aws::EMR::Model::SessionMappingSummary::SetIdentityId
void SetIdentityId(Aws::String &&value)
Definition: SessionMappingSummary.h:106
Aws::EMR::Model::SessionMappingSummary::SetIdentityType
void SetIdentityType(const IdentityType &value)
Definition: SessionMappingSummary.h:222
Aws::EMR::Model::SessionMappingSummary::GetIdentityName
const Aws::String & GetIdentityName() const
Definition: SessionMappingSummary.h:140
DateTime.h
Aws::EMR::Model::SessionMappingSummary::WithSessionPolicyArn
SessionMappingSummary & WithSessionPolicyArn(const char *value)
Definition: SessionMappingSummary.h:289
Aws::EMR::Model::SessionMappingSummary::GetSessionPolicyArn
const Aws::String & GetSessionPolicyArn() const
Definition: SessionMappingSummary.h:247
Aws::EMR::Model::SessionMappingSummary::WithIdentityName
SessionMappingSummary & WithIdentityName(const char *value)
Definition: SessionMappingSummary.h:203
Aws::EMR::Model::SessionMappingSummary::WithSessionPolicyArn
SessionMappingSummary & WithSessionPolicyArn(const Aws::String &value)
Definition: SessionMappingSummary.h:277
Aws::EMR::Model::SessionMappingSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::SessionMappingSummary::WithSessionPolicyArn
SessionMappingSummary & WithSessionPolicyArn(Aws::String &&value)
Definition: SessionMappingSummary.h:283
Aws::EMR::Model::SessionMappingSummary::GetIdentityType
const IdentityType & GetIdentityType() const
Definition: SessionMappingSummary.h:210
Aws::EMR::Model::SessionMappingSummary::WithCreationTime
SessionMappingSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: SessionMappingSummary.h:315
Aws::EMR::Model::SessionMappingSummary::IdentityTypeHasBeenSet
bool IdentityTypeHasBeenSet() const
Definition: SessionMappingSummary.h:216
Aws::EMR::Model::SessionMappingSummary::GetIdentityId
const Aws::String & GetIdentityId() const
Definition: SessionMappingSummary.h:88
Aws::EMR::Model::SessionMappingSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: SessionMappingSummary.h:295
Aws::EMR::Model::SessionMappingSummary::IdentityNameHasBeenSet
bool IdentityNameHasBeenSet() const
Definition: SessionMappingSummary.h:149
Aws::EMR::Model::SessionMappingSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: SessionMappingSummary.h:310
Aws::EMR::Model::SessionMappingSummary::SetSessionPolicyArn
void SetSessionPolicyArn(const char *value)
Definition: SessionMappingSummary.h:271
Aws::EMR::Model::SessionMappingSummary::WithIdentityId
SessionMappingSummary & WithIdentityId(const char *value)
Definition: SessionMappingSummary.h:130
Aws::EMR::Model::SessionMappingSummary::WithStudioId
SessionMappingSummary & WithStudioId(const char *value)
Definition: SessionMappingSummary.h:81
Aws::EMR::Model::SessionMappingSummary::SetIdentityName
void SetIdentityName(Aws::String &&value)
Definition: SessionMappingSummary.h:167
IdentityType.h
Aws::EMR::Model::SessionMappingSummary::SetIdentityName
void SetIdentityName(const char *value)
Definition: SessionMappingSummary.h:176
Aws::EMR::Model::SessionMappingSummary::WithIdentityName
SessionMappingSummary & WithIdentityName(Aws::String &&value)
Definition: SessionMappingSummary.h:194
Aws::EMR::Model::SessionMappingSummary::SetIdentityId
void SetIdentityId(const Aws::String &value)
Definition: SessionMappingSummary.h:100
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::SessionMappingSummary::GetStudioId
const Aws::String & GetStudioId() const
Definition: SessionMappingSummary.h:46
Aws::EMR::Model::SessionMappingSummary::SessionMappingSummary
SessionMappingSummary()
Aws::EMR::Model::SessionMappingSummary::WithIdentityType
SessionMappingSummary & WithIdentityType(const IdentityType &value)
Definition: SessionMappingSummary.h:234
Aws::EMR::Model::SessionMappingSummary::SetSessionPolicyArn
void SetSessionPolicyArn(const Aws::String &value)
Definition: SessionMappingSummary.h:259
Aws::EMR::Model::SessionMappingSummary::WithIdentityType
SessionMappingSummary & WithIdentityType(IdentityType &&value)
Definition: SessionMappingSummary.h:240
Aws::EMR::Model::SessionMappingSummary::WithIdentityName
SessionMappingSummary & WithIdentityName(const Aws::String &value)
Definition: SessionMappingSummary.h:185
Aws::EMR::Model::SessionMappingSummary::SetIdentityId
void SetIdentityId(const char *value)
Definition: SessionMappingSummary.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::SessionMappingSummary::WithCreationTime
SessionMappingSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: SessionMappingSummary.h:320
Aws::EMR::Model::SessionMappingSummary::WithIdentityId
SessionMappingSummary & WithIdentityId(Aws::String &&value)
Definition: SessionMappingSummary.h:124
Aws::EMR::Model::SessionMappingSummary::SessionPolicyArnHasBeenSet
bool SessionPolicyArnHasBeenSet() const
Definition: SessionMappingSummary.h:253
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::SessionMappingSummary::operator=
SessionMappingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::SessionMappingSummary::SetStudioId
void SetStudioId(Aws::String &&value)
Definition: SessionMappingSummary.h:61
Aws::EMR::Model::SessionMappingSummary::SetIdentityType
void SetIdentityType(IdentityType &&value)
Definition: SessionMappingSummary.h:228
Aws::EMR::Model::SessionMappingSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: SessionMappingSummary.h:300
Aws::EMR::Model::SessionMappingSummary::SetSessionPolicyArn
void SetSessionPolicyArn(Aws::String &&value)
Definition: SessionMappingSummary.h:265
Aws::EMR::Model::SessionMappingSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: SessionMappingSummary.h:305
Aws::EMR::Model::SessionMappingSummary::IdentityIdHasBeenSet
bool IdentityIdHasBeenSet() const
Definition: SessionMappingSummary.h:94
Aws::EMR::Model::SessionMappingSummary::SessionMappingSummary
SessionMappingSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::SessionMappingSummary::StudioIdHasBeenSet
bool StudioIdHasBeenSet() const
Definition: SessionMappingSummary.h:51
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::SessionMappingSummary::WithIdentityId
SessionMappingSummary & WithIdentityId(const Aws::String &value)
Definition: SessionMappingSummary.h:118