AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SessionMappingSummary.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 SessionMappingSummary();
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 SessionMappingSummary& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;}
53 inline SessionMappingSummary& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;}
54 inline SessionMappingSummary& WithStudioId(const char* value) { SetStudioId(value); return *this;}
56
58
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 SessionMappingSummary& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
68 inline SessionMappingSummary& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
69 inline SessionMappingSummary& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
71
73
80 inline const Aws::String& GetIdentityName() const{ return m_identityName; }
81 inline bool IdentityNameHasBeenSet() const { return m_identityNameHasBeenSet; }
82 inline void SetIdentityName(const Aws::String& value) { m_identityNameHasBeenSet = true; m_identityName = value; }
83 inline void SetIdentityName(Aws::String&& value) { m_identityNameHasBeenSet = true; m_identityName = std::move(value); }
84 inline void SetIdentityName(const char* value) { m_identityNameHasBeenSet = true; m_identityName.assign(value); }
85 inline SessionMappingSummary& WithIdentityName(const Aws::String& value) { SetIdentityName(value); return *this;}
86 inline SessionMappingSummary& WithIdentityName(Aws::String&& value) { SetIdentityName(std::move(value)); return *this;}
87 inline SessionMappingSummary& WithIdentityName(const char* value) { SetIdentityName(value); return *this;}
89
91
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 SessionMappingSummary& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
100 inline SessionMappingSummary& 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); }
113 inline SessionMappingSummary& WithSessionPolicyArn(const Aws::String& value) { SetSessionPolicyArn(value); return *this;}
114 inline SessionMappingSummary& WithSessionPolicyArn(Aws::String&& value) { SetSessionPolicyArn(std::move(value)); return *this;}
115 inline SessionMappingSummary& WithSessionPolicyArn(const char* value) { SetSessionPolicyArn(value); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
123 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
124 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
125 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
126 inline SessionMappingSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
127 inline SessionMappingSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
129 private:
130
131 Aws::String m_studioId;
132 bool m_studioIdHasBeenSet = false;
133
134 Aws::String m_identityId;
135 bool m_identityIdHasBeenSet = false;
136
137 Aws::String m_identityName;
138 bool m_identityNameHasBeenSet = false;
139
140 IdentityType m_identityType;
141 bool m_identityTypeHasBeenSet = false;
142
143 Aws::String m_sessionPolicyArn;
144 bool m_sessionPolicyArnHasBeenSet = false;
145
146 Aws::Utils::DateTime m_creationTime;
147 bool m_creationTimeHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace EMR
152} // namespace Aws
void SetIdentityId(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
SessionMappingSummary & WithIdentityId(Aws::String &&value)
SessionMappingSummary & WithStudioId(Aws::String &&value)
SessionMappingSummary & WithCreationTime(const Aws::Utils::DateTime &value)
SessionMappingSummary & WithIdentityName(Aws::String &&value)
void SetIdentityName(const Aws::String &value)
SessionMappingSummary & WithIdentityId(const char *value)
const Aws::String & GetIdentityName() const
SessionMappingSummary & WithIdentityName(const Aws::String &value)
SessionMappingSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTime() const
SessionMappingSummary & WithSessionPolicyArn(Aws::String &&value)
AWS_EMR_API SessionMappingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionMappingSummary & WithIdentityId(const Aws::String &value)
const IdentityType & GetIdentityType() const
const Aws::String & GetSessionPolicyArn() const
SessionMappingSummary & WithIdentityType(IdentityType &&value)
SessionMappingSummary & WithStudioId(const char *value)
SessionMappingSummary & WithIdentityType(const IdentityType &value)
void SetIdentityType(const IdentityType &value)
SessionMappingSummary & WithIdentityName(const char *value)
void SetStudioId(const Aws::String &value)
void SetSessionPolicyArn(const Aws::String &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
SessionMappingSummary & WithSessionPolicyArn(const Aws::String &value)
SessionMappingSummary & WithStudioId(const Aws::String &value)
SessionMappingSummary & WithSessionPolicyArn(const char *value)
AWS_EMR_API SessionMappingSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue