AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateStudioSessionMappingRequest.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 CreateStudioSessionMappingRequest() = 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 "CreateStudioSessionMapping"; }
32
33 AWS_EMR_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetStudioId() const { return m_studioId; }
44 inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
45 template<typename StudioIdT = Aws::String>
46 void SetStudioId(StudioIdT&& value) { m_studioIdHasBeenSet = true; m_studioId = std::forward<StudioIdT>(value); }
47 template<typename StudioIdT = Aws::String>
48 CreateStudioSessionMappingRequest& WithStudioId(StudioIdT&& value) { SetStudioId(std::forward<StudioIdT>(value)); return *this;}
50
52
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) { m_identityIdHasBeenSet = true; m_identityId = std::forward<IdentityIdT>(value); }
66 template<typename IdentityIdT = Aws::String>
67 CreateStudioSessionMappingRequest& WithIdentityId(IdentityIdT&& value) { SetIdentityId(std::forward<IdentityIdT>(value)); return *this;}
69
71
80 inline const Aws::String& GetIdentityName() const { return m_identityName; }
81 inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
82 template<typename IdentityNameT = Aws::String>
83 void SetIdentityName(IdentityNameT&& value) { m_identityNameHasBeenSet = true; m_identityName = std::forward<IdentityNameT>(value); }
84 template<typename IdentityNameT = Aws::String>
85 CreateStudioSessionMappingRequest& WithIdentityName(IdentityNameT&& value) { SetIdentityName(std::forward<IdentityNameT>(value)); return *this;}
87
89
93 inline IdentityType GetIdentityType() const { return m_identityType; }
94 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
95 inline void SetIdentityType(IdentityType value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
98
100
107 inline const Aws::String& GetSessionPolicyArn() const { return m_sessionPolicyArn; }
108 inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; }
109 template<typename SessionPolicyArnT = Aws::String>
110 void SetSessionPolicyArn(SessionPolicyArnT&& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = std::forward<SessionPolicyArnT>(value); }
111 template<typename SessionPolicyArnT = Aws::String>
112 CreateStudioSessionMappingRequest& WithSessionPolicyArn(SessionPolicyArnT&& value) { SetSessionPolicyArn(std::forward<SessionPolicyArnT>(value)); return *this;}
114 private:
115
116 Aws::String m_studioId;
117 bool m_studioIdHasBeenSet = false;
118
119 Aws::String m_identityId;
120 bool m_identityIdHasBeenSet = false;
121
122 Aws::String m_identityName;
123 bool m_identityNameHasBeenSet = false;
124
125 IdentityType m_identityType{IdentityType::NOT_SET};
126 bool m_identityTypeHasBeenSet = false;
127
128 Aws::String m_sessionPolicyArn;
129 bool m_sessionPolicyArnHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace EMR
134} // 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