AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateStudioSessionMappingRequest.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticmapreduce/model/IdentityType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EMR
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_EMR_API UpdateStudioSessionMappingRequest() = default;
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_EMR_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetStudioId() const { return m_studioId; }
43 inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
44 template<typename StudioIdT = Aws::String>
45 void SetStudioId(StudioIdT&& value) { m_studioIdHasBeenSet = true; m_studioId = std::forward<StudioIdT>(value); }
46 template<typename StudioIdT = Aws::String>
47 UpdateStudioSessionMappingRequest& WithStudioId(StudioIdT&& value) { SetStudioId(std::forward<StudioIdT>(value)); return *this;}
49
51
60 inline const Aws::String& GetIdentityId() const { return m_identityId; }
61 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
62 template<typename IdentityIdT = Aws::String>
63 void SetIdentityId(IdentityIdT&& value) { m_identityIdHasBeenSet = true; m_identityId = std::forward<IdentityIdT>(value); }
64 template<typename IdentityIdT = Aws::String>
65 UpdateStudioSessionMappingRequest& WithIdentityId(IdentityIdT&& value) { SetIdentityId(std::forward<IdentityIdT>(value)); return *this;}
67
69
77 inline const Aws::String& GetIdentityName() const { return m_identityName; }
78 inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
79 template<typename IdentityNameT = Aws::String>
80 void SetIdentityName(IdentityNameT&& value) { m_identityNameHasBeenSet = true; m_identityName = std::forward<IdentityNameT>(value); }
81 template<typename IdentityNameT = Aws::String>
82 UpdateStudioSessionMappingRequest& WithIdentityName(IdentityNameT&& value) { SetIdentityName(std::forward<IdentityNameT>(value)); return *this;}
84
86
89 inline IdentityType GetIdentityType() const { return m_identityType; }
90 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
91 inline void SetIdentityType(IdentityType value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
94
96
100 inline const Aws::String& GetSessionPolicyArn() const { return m_sessionPolicyArn; }
101 inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; }
102 template<typename SessionPolicyArnT = Aws::String>
103 void SetSessionPolicyArn(SessionPolicyArnT&& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = std::forward<SessionPolicyArnT>(value); }
104 template<typename SessionPolicyArnT = Aws::String>
105 UpdateStudioSessionMappingRequest& WithSessionPolicyArn(SessionPolicyArnT&& value) { SetSessionPolicyArn(std::forward<SessionPolicyArnT>(value)); return *this;}
107 private:
108
109 Aws::String m_studioId;
110 bool m_studioIdHasBeenSet = false;
111
112 Aws::String m_identityId;
113 bool m_identityIdHasBeenSet = false;
114
115 Aws::String m_identityName;
116 bool m_identityNameHasBeenSet = false;
117
118 IdentityType m_identityType{IdentityType::NOT_SET};
119 bool m_identityTypeHasBeenSet = false;
120
121 Aws::String m_sessionPolicyArn;
122 bool m_sessionPolicyArnHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace EMR
127} // namespace Aws
UpdateStudioSessionMappingRequest & WithSessionPolicyArn(SessionPolicyArnT &&value)
UpdateStudioSessionMappingRequest & WithIdentityType(IdentityType value)
UpdateStudioSessionMappingRequest & WithIdentityId(IdentityIdT &&value)
AWS_EMR_API Aws::String SerializePayload() const override
UpdateStudioSessionMappingRequest & WithIdentityName(IdentityNameT &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateStudioSessionMappingRequest & WithStudioId(StudioIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String