AWS SDK for C++  1.9.20
AWS SDK for C++
UpdateStudioSessionMappingRequest.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 "UpdateStudioSessionMapping"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetStudioId() const{ return m_studioId; }
42 
46  inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
47 
51  inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; }
52 
56  inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); }
57 
61  inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); }
62 
66  inline UpdateStudioSessionMappingRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
67 
71  inline UpdateStudioSessionMappingRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
72 
76  inline UpdateStudioSessionMappingRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;}
77 
78 
88  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
89 
99  inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
100 
110  inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
111 
121  inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
122 
132  inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
133 
143  inline UpdateStudioSessionMappingRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
144 
154  inline UpdateStudioSessionMappingRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
155 
165  inline UpdateStudioSessionMappingRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
166 
167 
176  inline const Aws::String& GetIdentityName() const{ return m_identityName; }
177 
186  inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
187 
196  inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; }
197 
206  inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); }
207 
216  inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); }
217 
226  inline UpdateStudioSessionMappingRequest& WithIdentityName(const Aws::String& value) { SetIdentityName(value); return *this;}
227 
236  inline UpdateStudioSessionMappingRequest& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
237 
246  inline UpdateStudioSessionMappingRequest& WithIdentityName(const char* value) { SetIdentityName(value); return *this;}
247 
248 
252  inline const IdentityType& GetIdentityType() const{ return m_identityType; }
253 
257  inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
258 
262  inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
263 
267  inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
268 
272  inline UpdateStudioSessionMappingRequest& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
273 
277  inline UpdateStudioSessionMappingRequest& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
278 
279 
284  inline const Aws::String& GetSessionPolicyArn() const{ return m_sessionPolicyArn; }
285 
290  inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; }
291 
296  inline void SetSessionPolicyArn(const Aws::String& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = value; }
297 
302  inline void SetSessionPolicyArn(Aws::String&& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = std::move(value); }
303 
308  inline void SetSessionPolicyArn(const char* value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn.assign(value); }
309 
314  inline UpdateStudioSessionMappingRequest& WithSessionPolicyArn(const Aws::String& value) { SetSessionPolicyArn(value); return *this;}
315 
320  inline UpdateStudioSessionMappingRequest& WithSessionPolicyArn(Aws::String&& value) { SetSessionPolicyArn(std::move(value)); return *this;}
321 
326  inline UpdateStudioSessionMappingRequest& WithSessionPolicyArn(const char* value) { SetSessionPolicyArn(value); return *this;}
327 
328  private:
329 
330  Aws::String m_studioId;
331  bool m_studioIdHasBeenSet;
332 
333  Aws::String m_identityId;
334  bool m_identityIdHasBeenSet;
335 
336  Aws::String m_identityName;
337  bool m_identityNameHasBeenSet;
338 
339  IdentityType m_identityType;
340  bool m_identityTypeHasBeenSet;
341 
342  Aws::String m_sessionPolicyArn;
343  bool m_sessionPolicyArnHasBeenSet;
344  };
345 
346 } // namespace Model
347 } // namespace EMR
348 } // namespace Aws
Aws::EMR::Model::UpdateStudioSessionMappingRequest::IdentityTypeHasBeenSet
bool IdentityTypeHasBeenSet() const
Definition: UpdateStudioSessionMappingRequest.h:257
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithIdentityType
UpdateStudioSessionMappingRequest & WithIdentityType(const IdentityType &value)
Definition: UpdateStudioSessionMappingRequest.h:272
Aws::EMR::Model::IdentityType
IdentityType
Definition: IdentityType.h:17
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithSessionPolicyArn
UpdateStudioSessionMappingRequest & WithSessionPolicyArn(const char *value)
Definition: UpdateStudioSessionMappingRequest.h:326
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetIdentityId
void SetIdentityId(const Aws::String &value)
Definition: UpdateStudioSessionMappingRequest.h:110
EMR_EXPORTS.h
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithIdentityId
UpdateStudioSessionMappingRequest & WithIdentityId(const char *value)
Definition: UpdateStudioSessionMappingRequest.h:165
EMRRequest.h
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithIdentityId
UpdateStudioSessionMappingRequest & WithIdentityId(const Aws::String &value)
Definition: UpdateStudioSessionMappingRequest.h:143
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetStudioId
void SetStudioId(const char *value)
Definition: UpdateStudioSessionMappingRequest.h:61
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SessionPolicyArnHasBeenSet
bool SessionPolicyArnHasBeenSet() const
Definition: UpdateStudioSessionMappingRequest.h:290
Aws::EMR::Model::UpdateStudioSessionMappingRequest::StudioIdHasBeenSet
bool StudioIdHasBeenSet() const
Definition: UpdateStudioSessionMappingRequest.h:46
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetIdentityName
void SetIdentityName(const Aws::String &value)
Definition: UpdateStudioSessionMappingRequest.h:196
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetStudioId
void SetStudioId(Aws::String &&value)
Definition: UpdateStudioSessionMappingRequest.h:56
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithStudioId
UpdateStudioSessionMappingRequest & WithStudioId(Aws::String &&value)
Definition: UpdateStudioSessionMappingRequest.h:71
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetSessionPolicyArn
void SetSessionPolicyArn(const Aws::String &value)
Definition: UpdateStudioSessionMappingRequest.h:296
Aws::EMR::Model::UpdateStudioSessionMappingRequest::IdentityNameHasBeenSet
bool IdentityNameHasBeenSet() const
Definition: UpdateStudioSessionMappingRequest.h:186
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithIdentityName
UpdateStudioSessionMappingRequest & WithIdentityName(const char *value)
Definition: UpdateStudioSessionMappingRequest.h:246
Aws::EMR::Model::UpdateStudioSessionMappingRequest::IdentityIdHasBeenSet
bool IdentityIdHasBeenSet() const
Definition: UpdateStudioSessionMappingRequest.h:99
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetStudioId
void SetStudioId(const Aws::String &value)
Definition: UpdateStudioSessionMappingRequest.h:51
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetIdentityName
void SetIdentityName(const char *value)
Definition: UpdateStudioSessionMappingRequest.h:216
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithStudioId
UpdateStudioSessionMappingRequest & WithStudioId(const char *value)
Definition: UpdateStudioSessionMappingRequest.h:76
Aws::EMR::Model::UpdateStudioSessionMappingRequest::GetIdentityType
const IdentityType & GetIdentityType() const
Definition: UpdateStudioSessionMappingRequest.h:252
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithStudioId
UpdateStudioSessionMappingRequest & WithStudioId(const Aws::String &value)
Definition: UpdateStudioSessionMappingRequest.h:66
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithIdentityType
UpdateStudioSessionMappingRequest & WithIdentityType(IdentityType &&value)
Definition: UpdateStudioSessionMappingRequest.h:277
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetIdentityType
void SetIdentityType(const IdentityType &value)
Definition: UpdateStudioSessionMappingRequest.h:262
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithIdentityId
UpdateStudioSessionMappingRequest & WithIdentityId(Aws::String &&value)
Definition: UpdateStudioSessionMappingRequest.h:154
IdentityType.h
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::UpdateStudioSessionMappingRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetIdentityType
void SetIdentityType(IdentityType &&value)
Definition: UpdateStudioSessionMappingRequest.h:267
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetIdentityId
void SetIdentityId(Aws::String &&value)
Definition: UpdateStudioSessionMappingRequest.h:121
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetIdentityName
void SetIdentityName(Aws::String &&value)
Definition: UpdateStudioSessionMappingRequest.h:206
Aws::EMR::Model::UpdateStudioSessionMappingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateStudioSessionMappingRequest.h:31
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithSessionPolicyArn
UpdateStudioSessionMappingRequest & WithSessionPolicyArn(const Aws::String &value)
Definition: UpdateStudioSessionMappingRequest.h:314
Aws::EMR::Model::UpdateStudioSessionMappingRequest::GetIdentityId
const Aws::String & GetIdentityId() const
Definition: UpdateStudioSessionMappingRequest.h:88
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetIdentityId
void SetIdentityId(const char *value)
Definition: UpdateStudioSessionMappingRequest.h:132
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithIdentityName
UpdateStudioSessionMappingRequest & WithIdentityName(Aws::String &&value)
Definition: UpdateStudioSessionMappingRequest.h:236
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetSessionPolicyArn
void SetSessionPolicyArn(const char *value)
Definition: UpdateStudioSessionMappingRequest.h:308
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::UpdateStudioSessionMappingRequest::GetStudioId
const Aws::String & GetStudioId() const
Definition: UpdateStudioSessionMappingRequest.h:41
Aws::EMR::Model::UpdateStudioSessionMappingRequest::SetSessionPolicyArn
void SetSessionPolicyArn(Aws::String &&value)
Definition: UpdateStudioSessionMappingRequest.h:302
Aws::EMR::Model::UpdateStudioSessionMappingRequest::UpdateStudioSessionMappingRequest
UpdateStudioSessionMappingRequest()
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithSessionPolicyArn
UpdateStudioSessionMappingRequest & WithSessionPolicyArn(Aws::String &&value)
Definition: UpdateStudioSessionMappingRequest.h:320
Aws::EMR::Model::UpdateStudioSessionMappingRequest::WithIdentityName
UpdateStudioSessionMappingRequest & WithIdentityName(const Aws::String &value)
Definition: UpdateStudioSessionMappingRequest.h:226
Aws::EMR::Model::UpdateStudioSessionMappingRequest::GetSessionPolicyArn
const Aws::String & GetSessionPolicyArn() const
Definition: UpdateStudioSessionMappingRequest.h:284
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::UpdateStudioSessionMappingRequest::GetIdentityName
const Aws::String & GetIdentityName() const
Definition: UpdateStudioSessionMappingRequest.h:176
Aws::EMR::Model::UpdateStudioSessionMappingRequest
Definition: UpdateStudioSessionMappingRequest.h:23