AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; }
46 inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); }
47 inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); }
48 inline CreateStudioSessionMappingRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
49 inline CreateStudioSessionMappingRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
50 inline CreateStudioSessionMappingRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;}
52
54
64 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
65 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
66 inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
67 inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
68 inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
69 inline CreateStudioSessionMappingRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
70 inline CreateStudioSessionMappingRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
71 inline CreateStudioSessionMappingRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
73
75
84 inline const Aws::String& GetIdentityName() const{ return m_identityName; }
85 inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
86 inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; }
87 inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); }
88 inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); }
90 inline CreateStudioSessionMappingRequest& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
91 inline CreateStudioSessionMappingRequest& WithIdentityName(const char* value) { SetIdentityName(value); return *this;}
93
95
99 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
100 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
101 inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
102 inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
104 inline CreateStudioSessionMappingRequest& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
106
108
115 inline const Aws::String& GetSessionPolicyArn() const{ return m_sessionPolicyArn; }
116 inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; }
117 inline void SetSessionPolicyArn(const Aws::String& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = value; }
118 inline void SetSessionPolicyArn(Aws::String&& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = std::move(value); }
119 inline void SetSessionPolicyArn(const char* value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn.assign(value); }
122 inline CreateStudioSessionMappingRequest& WithSessionPolicyArn(const char* value) { SetSessionPolicyArn(value); return *this;}
124 private:
125
126 Aws::String m_studioId;
127 bool m_studioIdHasBeenSet = false;
128
129 Aws::String m_identityId;
130 bool m_identityIdHasBeenSet = false;
131
132 Aws::String m_identityName;
133 bool m_identityNameHasBeenSet = false;
134
135 IdentityType m_identityType;
136 bool m_identityTypeHasBeenSet = false;
137
138 Aws::String m_sessionPolicyArn;
139 bool m_sessionPolicyArnHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace EMR
144} // namespace Aws
CreateStudioSessionMappingRequest & WithIdentityName(const Aws::String &value)
CreateStudioSessionMappingRequest & WithIdentityId(const Aws::String &value)
CreateStudioSessionMappingRequest & WithIdentityType(const IdentityType &value)
AWS_EMR_API Aws::String SerializePayload() const override
CreateStudioSessionMappingRequest & WithSessionPolicyArn(const Aws::String &value)
CreateStudioSessionMappingRequest & WithStudioId(const Aws::String &value)
CreateStudioSessionMappingRequest & WithStudioId(const char *value)
CreateStudioSessionMappingRequest & WithStudioId(Aws::String &&value)
CreateStudioSessionMappingRequest & WithIdentityId(const char *value)
CreateStudioSessionMappingRequest & WithSessionPolicyArn(const char *value)
CreateStudioSessionMappingRequest & WithSessionPolicyArn(Aws::String &&value)
CreateStudioSessionMappingRequest & WithIdentityType(IdentityType &&value)
CreateStudioSessionMappingRequest & WithIdentityId(Aws::String &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStudioSessionMappingRequest & WithIdentityName(Aws::String &&value)
CreateStudioSessionMappingRequest & WithIdentityName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String