AWS SDK for C++  1.9.19
AWS SDK for C++
CreateStudioSessionMappingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace EMR
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "CreateStudioSessionMapping"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetStudioId() const{ return m_studioId; }
43 
48  inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
49 
54  inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; }
55 
60  inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); }
61 
66  inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); }
67 
72  inline CreateStudioSessionMappingRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
73 
78  inline CreateStudioSessionMappingRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
79 
84  inline CreateStudioSessionMappingRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;}
85 
86 
96  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
97 
107  inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
108 
118  inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
119 
129  inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
130 
140  inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
141 
151  inline CreateStudioSessionMappingRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
152 
162  inline CreateStudioSessionMappingRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
163 
173  inline CreateStudioSessionMappingRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
174 
175 
184  inline const Aws::String& GetIdentityName() const{ return m_identityName; }
185 
194  inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
195 
204  inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; }
205 
214  inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); }
215 
224  inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); }
225 
234  inline CreateStudioSessionMappingRequest& WithIdentityName(const Aws::String& value) { SetIdentityName(value); return *this;}
235 
244  inline CreateStudioSessionMappingRequest& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
245 
254  inline CreateStudioSessionMappingRequest& WithIdentityName(const char* value) { SetIdentityName(value); return *this;}
255 
256 
261  inline const IdentityType& GetIdentityType() const{ return m_identityType; }
262 
267  inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
268 
273  inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
274 
279  inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
280 
285  inline CreateStudioSessionMappingRequest& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
286 
291  inline CreateStudioSessionMappingRequest& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
292 
293 
299  inline const Aws::String& GetSessionPolicyArn() const{ return m_sessionPolicyArn; }
300 
306  inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; }
307 
313  inline void SetSessionPolicyArn(const Aws::String& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = value; }
314 
320  inline void SetSessionPolicyArn(Aws::String&& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = std::move(value); }
321 
327  inline void SetSessionPolicyArn(const char* value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn.assign(value); }
328 
334  inline CreateStudioSessionMappingRequest& WithSessionPolicyArn(const Aws::String& value) { SetSessionPolicyArn(value); return *this;}
335 
341  inline CreateStudioSessionMappingRequest& WithSessionPolicyArn(Aws::String&& value) { SetSessionPolicyArn(std::move(value)); return *this;}
342 
348  inline CreateStudioSessionMappingRequest& WithSessionPolicyArn(const char* value) { SetSessionPolicyArn(value); return *this;}
349 
350  private:
351 
352  Aws::String m_studioId;
353  bool m_studioIdHasBeenSet;
354 
355  Aws::String m_identityId;
356  bool m_identityIdHasBeenSet;
357 
358  Aws::String m_identityName;
359  bool m_identityNameHasBeenSet;
360 
361  IdentityType m_identityType;
362  bool m_identityTypeHasBeenSet;
363 
364  Aws::String m_sessionPolicyArn;
365  bool m_sessionPolicyArnHasBeenSet;
366  };
367 
368 } // namespace Model
369 } // namespace EMR
370 } // namespace Aws
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithStudioId
CreateStudioSessionMappingRequest & WithStudioId(Aws::String &&value)
Definition: CreateStudioSessionMappingRequest.h:78
Aws::EMR::Model::CreateStudioSessionMappingRequest::GetSessionPolicyArn
const Aws::String & GetSessionPolicyArn() const
Definition: CreateStudioSessionMappingRequest.h:299
Aws::EMR::Model::CreateStudioSessionMappingRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithSessionPolicyArn
CreateStudioSessionMappingRequest & WithSessionPolicyArn(const char *value)
Definition: CreateStudioSessionMappingRequest.h:348
Aws::EMR::Model::CreateStudioSessionMappingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateStudioSessionMappingRequest.h:31
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithIdentityName
CreateStudioSessionMappingRequest & WithIdentityName(const Aws::String &value)
Definition: CreateStudioSessionMappingRequest.h:234
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetStudioId
void SetStudioId(Aws::String &&value)
Definition: CreateStudioSessionMappingRequest.h:60
Aws::EMR::Model::IdentityType
IdentityType
Definition: IdentityType.h:17
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetIdentityId
void SetIdentityId(Aws::String &&value)
Definition: CreateStudioSessionMappingRequest.h:129
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetIdentityName
void SetIdentityName(const char *value)
Definition: CreateStudioSessionMappingRequest.h:224
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetIdentityId
void SetIdentityId(const char *value)
Definition: CreateStudioSessionMappingRequest.h:140
Aws::EMR::Model::CreateStudioSessionMappingRequest::GetStudioId
const Aws::String & GetStudioId() const
Definition: CreateStudioSessionMappingRequest.h:42
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetIdentityName
void SetIdentityName(Aws::String &&value)
Definition: CreateStudioSessionMappingRequest.h:214
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetSessionPolicyArn
void SetSessionPolicyArn(const char *value)
Definition: CreateStudioSessionMappingRequest.h:327
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetSessionPolicyArn
void SetSessionPolicyArn(Aws::String &&value)
Definition: CreateStudioSessionMappingRequest.h:320
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetIdentityType
void SetIdentityType(IdentityType &&value)
Definition: CreateStudioSessionMappingRequest.h:279
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetSessionPolicyArn
void SetSessionPolicyArn(const Aws::String &value)
Definition: CreateStudioSessionMappingRequest.h:313
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithStudioId
CreateStudioSessionMappingRequest & WithStudioId(const Aws::String &value)
Definition: CreateStudioSessionMappingRequest.h:72
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithIdentityType
CreateStudioSessionMappingRequest & WithIdentityType(IdentityType &&value)
Definition: CreateStudioSessionMappingRequest.h:291
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithIdentityId
CreateStudioSessionMappingRequest & WithIdentityId(Aws::String &&value)
Definition: CreateStudioSessionMappingRequest.h:162
Aws::EMR::Model::CreateStudioSessionMappingRequest::CreateStudioSessionMappingRequest
CreateStudioSessionMappingRequest()
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithIdentityName
CreateStudioSessionMappingRequest & WithIdentityName(const char *value)
Definition: CreateStudioSessionMappingRequest.h:254
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithIdentityId
CreateStudioSessionMappingRequest & WithIdentityId(const Aws::String &value)
Definition: CreateStudioSessionMappingRequest.h:151
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithIdentityId
CreateStudioSessionMappingRequest & WithIdentityId(const char *value)
Definition: CreateStudioSessionMappingRequest.h:173
Aws::EMR::Model::CreateStudioSessionMappingRequest::StudioIdHasBeenSet
bool StudioIdHasBeenSet() const
Definition: CreateStudioSessionMappingRequest.h:48
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithIdentityName
CreateStudioSessionMappingRequest & WithIdentityName(Aws::String &&value)
Definition: CreateStudioSessionMappingRequest.h:244
Aws::EMR::Model::CreateStudioSessionMappingRequest::GetIdentityType
const IdentityType & GetIdentityType() const
Definition: CreateStudioSessionMappingRequest.h:261
Aws::EMR::Model::CreateStudioSessionMappingRequest::IdentityIdHasBeenSet
bool IdentityIdHasBeenSet() const
Definition: CreateStudioSessionMappingRequest.h:107
IdentityType.h
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetStudioId
void SetStudioId(const Aws::String &value)
Definition: CreateStudioSessionMappingRequest.h:54
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::CreateStudioSessionMappingRequest::SessionPolicyArnHasBeenSet
bool SessionPolicyArnHasBeenSet() const
Definition: CreateStudioSessionMappingRequest.h:306
Aws::EMR::Model::CreateStudioSessionMappingRequest::IdentityNameHasBeenSet
bool IdentityNameHasBeenSet() const
Definition: CreateStudioSessionMappingRequest.h:194
Aws::EMR::Model::CreateStudioSessionMappingRequest
Definition: CreateStudioSessionMappingRequest.h:23
Aws::EMR::Model::CreateStudioSessionMappingRequest::IdentityTypeHasBeenSet
bool IdentityTypeHasBeenSet() const
Definition: CreateStudioSessionMappingRequest.h:267
Aws::EMR::Model::CreateStudioSessionMappingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetStudioId
void SetStudioId(const char *value)
Definition: CreateStudioSessionMappingRequest.h:66
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithSessionPolicyArn
CreateStudioSessionMappingRequest & WithSessionPolicyArn(Aws::String &&value)
Definition: CreateStudioSessionMappingRequest.h:341
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithIdentityType
CreateStudioSessionMappingRequest & WithIdentityType(const IdentityType &value)
Definition: CreateStudioSessionMappingRequest.h:285
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetIdentityId
void SetIdentityId(const Aws::String &value)
Definition: CreateStudioSessionMappingRequest.h:118
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::CreateStudioSessionMappingRequest::GetIdentityName
const Aws::String & GetIdentityName() const
Definition: CreateStudioSessionMappingRequest.h:184
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetIdentityType
void SetIdentityType(const IdentityType &value)
Definition: CreateStudioSessionMappingRequest.h:273
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithStudioId
CreateStudioSessionMappingRequest & WithStudioId(const char *value)
Definition: CreateStudioSessionMappingRequest.h:84
Aws::EMR::Model::CreateStudioSessionMappingRequest::WithSessionPolicyArn
CreateStudioSessionMappingRequest & WithSessionPolicyArn(const Aws::String &value)
Definition: CreateStudioSessionMappingRequest.h:334
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::CreateStudioSessionMappingRequest::SetIdentityName
void SetIdentityName(const Aws::String &value)
Definition: CreateStudioSessionMappingRequest.h:204
Aws::EMR::Model::CreateStudioSessionMappingRequest::GetIdentityId
const Aws::String & GetIdentityId() const
Definition: CreateStudioSessionMappingRequest.h:96