AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SessionMappingDetail.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/IdentityType.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace EMR
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_EMR_API SessionMappingDetail();
41
42
44
47 inline const Aws::String& GetStudioId() const{ return m_studioId; }
48 inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; }
49 inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; }
50 inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); }
51 inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); }
52 inline SessionMappingDetail& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
53 inline SessionMappingDetail& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
54 inline SessionMappingDetail& WithStudioId(const char* value) { SetStudioId(value); return *this;}
56
58
61 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
62 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
63 inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
64 inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
65 inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
66 inline SessionMappingDetail& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
67 inline SessionMappingDetail& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
68 inline SessionMappingDetail& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
70
72
79 inline const Aws::String& GetIdentityName() const{ return m_identityName; }
80 inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
81 inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; }
82 inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); }
83 inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); }
84 inline SessionMappingDetail& WithIdentityName(const Aws::String& value) { SetIdentityName(value); return *this;}
85 inline SessionMappingDetail& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
86 inline SessionMappingDetail& WithIdentityName(const char* value) { SetIdentityName(value); return *this;}
88
90
94 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
95 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
96 inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
97 inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
98 inline SessionMappingDetail& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
99 inline SessionMappingDetail& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
101
103
107 inline const Aws::String& GetSessionPolicyArn() const{ return m_sessionPolicyArn; }
108 inline bool SessionPolicyArnHasBeenSet() const { return m_sessionPolicyArnHasBeenSet; }
109 inline void SetSessionPolicyArn(const Aws::String& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = value; }
110 inline void SetSessionPolicyArn(Aws::String&& value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn = std::move(value); }
111 inline void SetSessionPolicyArn(const char* value) { m_sessionPolicyArnHasBeenSet = true; m_sessionPolicyArn.assign(value); }
112 inline SessionMappingDetail& WithSessionPolicyArn(const Aws::String& value) { SetSessionPolicyArn(value); return *this;}
113 inline SessionMappingDetail& WithSessionPolicyArn(Aws::String&& value) { SetSessionPolicyArn(std::move(value)); return *this;}
114 inline SessionMappingDetail& WithSessionPolicyArn(const char* value) { SetSessionPolicyArn(value); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
122 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
123 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
124 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
125 inline SessionMappingDetail& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
126 inline SessionMappingDetail& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
134 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
135 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
136 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
138 inline SessionMappingDetail& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
140 private:
141
142 Aws::String m_studioId;
143 bool m_studioIdHasBeenSet = false;
144
145 Aws::String m_identityId;
146 bool m_identityIdHasBeenSet = false;
147
148 Aws::String m_identityName;
149 bool m_identityNameHasBeenSet = false;
150
151 IdentityType m_identityType;
152 bool m_identityTypeHasBeenSet = false;
153
154 Aws::String m_sessionPolicyArn;
155 bool m_sessionPolicyArnHasBeenSet = false;
156
157 Aws::Utils::DateTime m_creationTime;
158 bool m_creationTimeHasBeenSet = false;
159
160 Aws::Utils::DateTime m_lastModifiedTime;
161 bool m_lastModifiedTimeHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace EMR
166} // namespace Aws
SessionMappingDetail & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetIdentityId(const Aws::String &value)
AWS_EMR_API SessionMappingDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSessionPolicyArn(Aws::String &&value)
SessionMappingDetail & WithStudioId(const Aws::String &value)
void SetSessionPolicyArn(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
SessionMappingDetail & WithIdentityType(IdentityType &&value)
SessionMappingDetail & WithIdentityId(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetSessionPolicyArn() const
const IdentityType & GetIdentityType() const
SessionMappingDetail & WithSessionPolicyArn(const Aws::String &value)
const Aws::String & GetIdentityId() const
SessionMappingDetail & WithIdentityName(Aws::String &&value)
SessionMappingDetail & WithStudioId(const char *value)
SessionMappingDetail & WithSessionPolicyArn(Aws::String &&value)
SessionMappingDetail & WithIdentityId(Aws::String &&value)
void SetIdentityName(const Aws::String &value)
void SetIdentityType(const IdentityType &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetIdentityName() const
SessionMappingDetail & WithIdentityName(const char *value)
SessionMappingDetail & WithSessionPolicyArn(const char *value)
SessionMappingDetail & WithIdentityId(const Aws::String &value)
SessionMappingDetail & WithStudioId(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
SessionMappingDetail & WithCreationTime(Aws::Utils::DateTime &&value)
void SetIdentityType(IdentityType &&value)
SessionMappingDetail & WithLastModifiedTime(Aws::Utils::DateTime &&value)
SessionMappingDetail & WithLastModifiedTime(const Aws::Utils::DateTime &value)
SessionMappingDetail & WithIdentityType(const IdentityType &value)
const Aws::Utils::DateTime & GetCreationTime() const
SessionMappingDetail & WithIdentityName(const Aws::String &value)
void SetStudioId(const Aws::String &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStudioId() const
AWS_EMR_API SessionMappingDetail(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue