AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateStudioSessionMappingRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/elasticmapreduce/EMR_EXPORTS.h>
10#include <aws/elasticmapreduce/model/IdentityType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace EMR {
16namespace Model {
17
21 public:
22 AWS_EMR_API CreateStudioSessionMappingRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateStudioSessionMapping"; }
29
30 AWS_EMR_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetStudioId() const { return m_studioId; }
40 inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
41 template <typename StudioIdT = Aws::String>
42 void SetStudioId(StudioIdT&& value) {
43 m_studioIdHasBeenSet = true;
44 m_studioId = std::forward<StudioIdT>(value);
45 }
46 template <typename StudioIdT = Aws::String>
48 SetStudioId(std::forward<StudioIdT>(value));
49 return *this;
50 }
52
54
64 inline const Aws::String& GetIdentityId() const { return m_identityId; }
65 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
66 template <typename IdentityIdT = Aws::String>
67 void SetIdentityId(IdentityIdT&& value) {
68 m_identityIdHasBeenSet = true;
69 m_identityId = std::forward<IdentityIdT>(value);
70 }
71 template <typename IdentityIdT = Aws::String>
73 SetIdentityId(std::forward<IdentityIdT>(value));
74 return *this;
75 }
77
79
88 inline const Aws::String& GetIdentityName() const { return m_identityName; }
89 inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
90 template <typename IdentityNameT = Aws::String>
91 void SetIdentityName(IdentityNameT&& value) {
92 m_identityNameHasBeenSet = true;
93 m_identityName = std::forward<IdentityNameT>(value);
94 }
95 template <typename IdentityNameT = Aws::String>
97 SetIdentityName(std::forward<IdentityNameT>(value));
98 return *this;
99 }
101
103
107 inline IdentityType GetIdentityType() const { return m_identityType; }
108 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
109 inline void SetIdentityType(IdentityType value) {
110 m_identityTypeHasBeenSet = true;
111 m_identityType = value;
112 }
114 SetIdentityType(value);
115 return *this;
116 }
118
120
127 inline const Aws::String& GetSessionPolicyArn() const { return m_sessionPolicyArn; }
128 inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; }
129 template <typename SessionPolicyArnT = Aws::String>
130 void SetSessionPolicyArn(SessionPolicyArnT&& value) {
131 m_sessionPolicyArnHasBeenSet = true;
132 m_sessionPolicyArn = std::forward<SessionPolicyArnT>(value);
133 }
134 template <typename SessionPolicyArnT = Aws::String>
136 SetSessionPolicyArn(std::forward<SessionPolicyArnT>(value));
137 return *this;
138 }
140 private:
141 Aws::String m_studioId;
142
143 Aws::String m_identityId;
144
145 Aws::String m_identityName;
146
147 IdentityType m_identityType{IdentityType::NOT_SET};
148
149 Aws::String m_sessionPolicyArn;
150 bool m_studioIdHasBeenSet = false;
151 bool m_identityIdHasBeenSet = false;
152 bool m_identityNameHasBeenSet = false;
153 bool m_identityTypeHasBeenSet = false;
154 bool m_sessionPolicyArnHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace EMR
159} // namespace Aws
CreateStudioSessionMappingRequest & WithIdentityName(IdentityNameT &&value)
AWS_EMR_API Aws::String SerializePayload() const override
CreateStudioSessionMappingRequest & WithIdentityType(IdentityType value)
CreateStudioSessionMappingRequest & WithSessionPolicyArn(SessionPolicyArnT &&value)
CreateStudioSessionMappingRequest & WithStudioId(StudioIdT &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStudioSessionMappingRequest & WithIdentityId(IdentityIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String