AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetStudioSessionMappingRequest.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 "GetStudioSessionMapping"; }
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 GetStudioSessionMappingRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
48 inline GetStudioSessionMappingRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
49 inline GetStudioSessionMappingRequest& 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 GetStudioSessionMappingRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
68 inline GetStudioSessionMappingRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
69 inline GetStudioSessionMappingRequest& 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); }
86 inline GetStudioSessionMappingRequest& WithIdentityName(const Aws::String& value) { SetIdentityName(value); return *this;}
87 inline GetStudioSessionMappingRequest& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
88 inline GetStudioSessionMappingRequest& 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); }
99 inline GetStudioSessionMappingRequest& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
100 inline GetStudioSessionMappingRequest& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_studioId;
105 bool m_studioIdHasBeenSet = false;
106
107 Aws::String m_identityId;
108 bool m_identityIdHasBeenSet = false;
109
110 Aws::String m_identityName;
111 bool m_identityNameHasBeenSet = false;
112
113 IdentityType m_identityType;
114 bool m_identityTypeHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace EMR
119} // namespace Aws
GetStudioSessionMappingRequest & WithIdentityId(const char *value)
GetStudioSessionMappingRequest & WithIdentityType(IdentityType &&value)
GetStudioSessionMappingRequest & WithIdentityName(const char *value)
virtual const char * GetServiceRequestName() const override
GetStudioSessionMappingRequest & WithIdentityName(const Aws::String &value)
GetStudioSessionMappingRequest & WithIdentityId(const Aws::String &value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetStudioSessionMappingRequest & WithIdentityType(const IdentityType &value)
GetStudioSessionMappingRequest & WithStudioId(const char *value)
GetStudioSessionMappingRequest & WithIdentityId(Aws::String &&value)
GetStudioSessionMappingRequest & WithStudioId(Aws::String &&value)
AWS_EMR_API Aws::String SerializePayload() const override
GetStudioSessionMappingRequest & WithStudioId(const Aws::String &value)
GetStudioSessionMappingRequest & WithIdentityName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String