AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateStudioSessionMappingRequest.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 UpdateStudioSessionMappingRequest() = 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 "UpdateStudioSessionMapping"; }
29
30 AWS_EMR_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetStudioId() const { return m_studioId; }
39 inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
40 template <typename StudioIdT = Aws::String>
41 void SetStudioId(StudioIdT&& value) {
42 m_studioIdHasBeenSet = true;
43 m_studioId = std::forward<StudioIdT>(value);
44 }
45 template <typename StudioIdT = Aws::String>
47 SetStudioId(std::forward<StudioIdT>(value));
48 return *this;
49 }
51
53
62 inline const Aws::String& GetIdentityId() const { return m_identityId; }
63 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
64 template <typename IdentityIdT = Aws::String>
65 void SetIdentityId(IdentityIdT&& value) {
66 m_identityIdHasBeenSet = true;
67 m_identityId = std::forward<IdentityIdT>(value);
68 }
69 template <typename IdentityIdT = Aws::String>
71 SetIdentityId(std::forward<IdentityIdT>(value));
72 return *this;
73 }
75
77
85 inline const Aws::String& GetIdentityName() const { return m_identityName; }
86 inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
87 template <typename IdentityNameT = Aws::String>
88 void SetIdentityName(IdentityNameT&& value) {
89 m_identityNameHasBeenSet = true;
90 m_identityName = std::forward<IdentityNameT>(value);
91 }
92 template <typename IdentityNameT = Aws::String>
94 SetIdentityName(std::forward<IdentityNameT>(value));
95 return *this;
96 }
98
100
103 inline IdentityType GetIdentityType() const { return m_identityType; }
104 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
105 inline void SetIdentityType(IdentityType value) {
106 m_identityTypeHasBeenSet = true;
107 m_identityType = value;
108 }
110 SetIdentityType(value);
111 return *this;
112 }
114
116
120 inline const Aws::String& GetSessionPolicyArn() const { return m_sessionPolicyArn; }
121 inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; }
122 template <typename SessionPolicyArnT = Aws::String>
123 void SetSessionPolicyArn(SessionPolicyArnT&& value) {
124 m_sessionPolicyArnHasBeenSet = true;
125 m_sessionPolicyArn = std::forward<SessionPolicyArnT>(value);
126 }
127 template <typename SessionPolicyArnT = Aws::String>
129 SetSessionPolicyArn(std::forward<SessionPolicyArnT>(value));
130 return *this;
131 }
133 private:
134 Aws::String m_studioId;
135
136 Aws::String m_identityId;
137
138 Aws::String m_identityName;
139
140 IdentityType m_identityType{IdentityType::NOT_SET};
141
142 Aws::String m_sessionPolicyArn;
143 bool m_studioIdHasBeenSet = false;
144 bool m_identityIdHasBeenSet = false;
145 bool m_identityNameHasBeenSet = false;
146 bool m_identityTypeHasBeenSet = false;
147 bool m_sessionPolicyArnHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace EMR
152} // 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