AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; }
45 inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); }
46 inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); }
47 inline UpdateStudioSessionMappingRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
48 inline UpdateStudioSessionMappingRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
49 inline UpdateStudioSessionMappingRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;}
51
53
62 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
63 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
64 inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
65 inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
66 inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
67 inline UpdateStudioSessionMappingRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
68 inline UpdateStudioSessionMappingRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
69 inline UpdateStudioSessionMappingRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
71
73
81 inline const Aws::String& GetIdentityName() const{ return m_identityName; }
82 inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
83 inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; }
84 inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); }
85 inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); }
87 inline UpdateStudioSessionMappingRequest& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
88 inline UpdateStudioSessionMappingRequest& WithIdentityName(const char* value) { SetIdentityName(value); return *this;}
90
92
95 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
96 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
97 inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
98 inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
100 inline UpdateStudioSessionMappingRequest& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
102
104
108 inline const Aws::String& GetSessionPolicyArn() const{ return m_sessionPolicyArn; }
109 inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; }
110 inline void SetSessionPolicyArn(const Aws::String& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = value; }
111 inline void SetSessionPolicyArn(Aws::String&& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = std::move(value); }
112 inline void SetSessionPolicyArn(const char* value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn.assign(value); }
115 inline UpdateStudioSessionMappingRequest& WithSessionPolicyArn(const char* value) { SetSessionPolicyArn(value); return *this;}
117 private:
118
119 Aws::String m_studioId;
120 bool m_studioIdHasBeenSet = false;
121
122 Aws::String m_identityId;
123 bool m_identityIdHasBeenSet = false;
124
125 Aws::String m_identityName;
126 bool m_identityNameHasBeenSet = false;
127
128 IdentityType m_identityType;
129 bool m_identityTypeHasBeenSet = false;
130
131 Aws::String m_sessionPolicyArn;
132 bool m_sessionPolicyArnHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace EMR
137} // namespace Aws
UpdateStudioSessionMappingRequest & WithIdentityName(Aws::String &&value)
UpdateStudioSessionMappingRequest & WithIdentityType(IdentityType &&value)
UpdateStudioSessionMappingRequest & WithIdentityId(const char *value)
UpdateStudioSessionMappingRequest & WithIdentityName(const Aws::String &value)
UpdateStudioSessionMappingRequest & WithStudioId(const Aws::String &value)
AWS_EMR_API Aws::String SerializePayload() const override
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateStudioSessionMappingRequest & WithIdentityName(const char *value)
UpdateStudioSessionMappingRequest & WithStudioId(Aws::String &&value)
UpdateStudioSessionMappingRequest & WithIdentityId(Aws::String &&value)
UpdateStudioSessionMappingRequest & WithIdentityType(const IdentityType &value)
UpdateStudioSessionMappingRequest & WithStudioId(const char *value)
UpdateStudioSessionMappingRequest & WithIdentityId(const Aws::String &value)
UpdateStudioSessionMappingRequest & WithSessionPolicyArn(Aws::String &&value)
UpdateStudioSessionMappingRequest & WithSessionPolicyArn(const Aws::String &value)
UpdateStudioSessionMappingRequest & WithSessionPolicyArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String