AWS SDK for C++  1.9.20
AWS SDK for C++
KerberosAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace EMR
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
48  inline const Aws::String& GetRealm() const{ return m_realm; }
49 
54  inline bool RealmHasBeenSet() const { return m_realmHasBeenSet; }
55 
60  inline void SetRealm(const Aws::String& value) { m_realmHasBeenSet = true; m_realm = value; }
61 
66  inline void SetRealm(Aws::String&& value) { m_realmHasBeenSet = true; m_realm = std::move(value); }
67 
72  inline void SetRealm(const char* value) { m_realmHasBeenSet = true; m_realm.assign(value); }
73 
78  inline KerberosAttributes& WithRealm(const Aws::String& value) { SetRealm(value); return *this;}
79 
84  inline KerberosAttributes& WithRealm(Aws::String&& value) { SetRealm(std::move(value)); return *this;}
85 
90  inline KerberosAttributes& WithRealm(const char* value) { SetRealm(value); return *this;}
91 
92 
98  inline const Aws::String& GetKdcAdminPassword() const{ return m_kdcAdminPassword; }
99 
105  inline bool KdcAdminPasswordHasBeenSet() const { return m_kdcAdminPasswordHasBeenSet; }
106 
112  inline void SetKdcAdminPassword(const Aws::String& value) { m_kdcAdminPasswordHasBeenSet = true; m_kdcAdminPassword = value; }
113 
119  inline void SetKdcAdminPassword(Aws::String&& value) { m_kdcAdminPasswordHasBeenSet = true; m_kdcAdminPassword = std::move(value); }
120 
126  inline void SetKdcAdminPassword(const char* value) { m_kdcAdminPasswordHasBeenSet = true; m_kdcAdminPassword.assign(value); }
127 
133  inline KerberosAttributes& WithKdcAdminPassword(const Aws::String& value) { SetKdcAdminPassword(value); return *this;}
134 
140  inline KerberosAttributes& WithKdcAdminPassword(Aws::String&& value) { SetKdcAdminPassword(std::move(value)); return *this;}
141 
147  inline KerberosAttributes& WithKdcAdminPassword(const char* value) { SetKdcAdminPassword(value); return *this;}
148 
149 
155  inline const Aws::String& GetCrossRealmTrustPrincipalPassword() const{ return m_crossRealmTrustPrincipalPassword; }
156 
162  inline bool CrossRealmTrustPrincipalPasswordHasBeenSet() const { return m_crossRealmTrustPrincipalPasswordHasBeenSet; }
163 
169  inline void SetCrossRealmTrustPrincipalPassword(const Aws::String& value) { m_crossRealmTrustPrincipalPasswordHasBeenSet = true; m_crossRealmTrustPrincipalPassword = value; }
170 
176  inline void SetCrossRealmTrustPrincipalPassword(Aws::String&& value) { m_crossRealmTrustPrincipalPasswordHasBeenSet = true; m_crossRealmTrustPrincipalPassword = std::move(value); }
177 
183  inline void SetCrossRealmTrustPrincipalPassword(const char* value) { m_crossRealmTrustPrincipalPasswordHasBeenSet = true; m_crossRealmTrustPrincipalPassword.assign(value); }
184 
190  inline KerberosAttributes& WithCrossRealmTrustPrincipalPassword(const Aws::String& value) { SetCrossRealmTrustPrincipalPassword(value); return *this;}
191 
197  inline KerberosAttributes& WithCrossRealmTrustPrincipalPassword(Aws::String&& value) { SetCrossRealmTrustPrincipalPassword(std::move(value)); return *this;}
198 
204  inline KerberosAttributes& WithCrossRealmTrustPrincipalPassword(const char* value) { SetCrossRealmTrustPrincipalPassword(value); return *this;}
205 
206 
211  inline const Aws::String& GetADDomainJoinUser() const{ return m_aDDomainJoinUser; }
212 
217  inline bool ADDomainJoinUserHasBeenSet() const { return m_aDDomainJoinUserHasBeenSet; }
218 
223  inline void SetADDomainJoinUser(const Aws::String& value) { m_aDDomainJoinUserHasBeenSet = true; m_aDDomainJoinUser = value; }
224 
229  inline void SetADDomainJoinUser(Aws::String&& value) { m_aDDomainJoinUserHasBeenSet = true; m_aDDomainJoinUser = std::move(value); }
230 
235  inline void SetADDomainJoinUser(const char* value) { m_aDDomainJoinUserHasBeenSet = true; m_aDDomainJoinUser.assign(value); }
236 
241  inline KerberosAttributes& WithADDomainJoinUser(const Aws::String& value) { SetADDomainJoinUser(value); return *this;}
242 
247  inline KerberosAttributes& WithADDomainJoinUser(Aws::String&& value) { SetADDomainJoinUser(std::move(value)); return *this;}
248 
253  inline KerberosAttributes& WithADDomainJoinUser(const char* value) { SetADDomainJoinUser(value); return *this;}
254 
255 
259  inline const Aws::String& GetADDomainJoinPassword() const{ return m_aDDomainJoinPassword; }
260 
264  inline bool ADDomainJoinPasswordHasBeenSet() const { return m_aDDomainJoinPasswordHasBeenSet; }
265 
269  inline void SetADDomainJoinPassword(const Aws::String& value) { m_aDDomainJoinPasswordHasBeenSet = true; m_aDDomainJoinPassword = value; }
270 
274  inline void SetADDomainJoinPassword(Aws::String&& value) { m_aDDomainJoinPasswordHasBeenSet = true; m_aDDomainJoinPassword = std::move(value); }
275 
279  inline void SetADDomainJoinPassword(const char* value) { m_aDDomainJoinPasswordHasBeenSet = true; m_aDDomainJoinPassword.assign(value); }
280 
284  inline KerberosAttributes& WithADDomainJoinPassword(const Aws::String& value) { SetADDomainJoinPassword(value); return *this;}
285 
289  inline KerberosAttributes& WithADDomainJoinPassword(Aws::String&& value) { SetADDomainJoinPassword(std::move(value)); return *this;}
290 
294  inline KerberosAttributes& WithADDomainJoinPassword(const char* value) { SetADDomainJoinPassword(value); return *this;}
295 
296  private:
297 
298  Aws::String m_realm;
299  bool m_realmHasBeenSet;
300 
301  Aws::String m_kdcAdminPassword;
302  bool m_kdcAdminPasswordHasBeenSet;
303 
304  Aws::String m_crossRealmTrustPrincipalPassword;
305  bool m_crossRealmTrustPrincipalPasswordHasBeenSet;
306 
307  Aws::String m_aDDomainJoinUser;
308  bool m_aDDomainJoinUserHasBeenSet;
309 
310  Aws::String m_aDDomainJoinPassword;
311  bool m_aDDomainJoinPasswordHasBeenSet;
312  };
313 
314 } // namespace Model
315 } // namespace EMR
316 } // namespace Aws
Aws::EMR::Model::KerberosAttributes::WithADDomainJoinPassword
KerberosAttributes & WithADDomainJoinPassword(const Aws::String &value)
Definition: KerberosAttributes.h:284
Aws::EMR::Model::KerberosAttributes::GetADDomainJoinUser
const Aws::String & GetADDomainJoinUser() const
Definition: KerberosAttributes.h:211
Aws::EMR::Model::KerberosAttributes::SetKdcAdminPassword
void SetKdcAdminPassword(const Aws::String &value)
Definition: KerberosAttributes.h:112
Aws::EMR::Model::KerberosAttributes::GetRealm
const Aws::String & GetRealm() const
Definition: KerberosAttributes.h:48
Aws::EMR::Model::KerberosAttributes::GetKdcAdminPassword
const Aws::String & GetKdcAdminPassword() const
Definition: KerberosAttributes.h:98
EMR_EXPORTS.h
Aws::EMR::Model::KerberosAttributes::SetADDomainJoinUser
void SetADDomainJoinUser(const char *value)
Definition: KerberosAttributes.h:235
Aws::EMR::Model::KerberosAttributes::WithKdcAdminPassword
KerberosAttributes & WithKdcAdminPassword(const Aws::String &value)
Definition: KerberosAttributes.h:133
Aws::EMR::Model::KerberosAttributes::ADDomainJoinUserHasBeenSet
bool ADDomainJoinUserHasBeenSet() const
Definition: KerberosAttributes.h:217
Aws::EMR::Model::KerberosAttributes
Definition: KerberosAttributes.h:36
Aws::EMR::Model::KerberosAttributes::RealmHasBeenSet
bool RealmHasBeenSet() const
Definition: KerberosAttributes.h:54
Aws::EMR::Model::KerberosAttributes::KerberosAttributes
KerberosAttributes()
Aws::EMR::Model::KerberosAttributes::GetCrossRealmTrustPrincipalPassword
const Aws::String & GetCrossRealmTrustPrincipalPassword() const
Definition: KerberosAttributes.h:155
Aws::EMR::Model::KerberosAttributes::WithCrossRealmTrustPrincipalPassword
KerberosAttributes & WithCrossRealmTrustPrincipalPassword(const Aws::String &value)
Definition: KerberosAttributes.h:190
Aws::EMR::Model::KerberosAttributes::SetCrossRealmTrustPrincipalPassword
void SetCrossRealmTrustPrincipalPassword(Aws::String &&value)
Definition: KerberosAttributes.h:176
Aws::EMR::Model::KerberosAttributes::WithCrossRealmTrustPrincipalPassword
KerberosAttributes & WithCrossRealmTrustPrincipalPassword(const char *value)
Definition: KerberosAttributes.h:204
Aws::EMR::Model::KerberosAttributes::SetRealm
void SetRealm(const char *value)
Definition: KerberosAttributes.h:72
Aws::EMR::Model::KerberosAttributes::SetADDomainJoinUser
void SetADDomainJoinUser(const Aws::String &value)
Definition: KerberosAttributes.h:223
Aws::EMR::Model::KerberosAttributes::WithKdcAdminPassword
KerberosAttributes & WithKdcAdminPassword(const char *value)
Definition: KerberosAttributes.h:147
Aws::EMR::Model::KerberosAttributes::CrossRealmTrustPrincipalPasswordHasBeenSet
bool CrossRealmTrustPrincipalPasswordHasBeenSet() const
Definition: KerberosAttributes.h:162
Aws::EMR::Model::KerberosAttributes::WithADDomainJoinPassword
KerberosAttributes & WithADDomainJoinPassword(const char *value)
Definition: KerberosAttributes.h:294
Aws::EMR::Model::KerberosAttributes::KdcAdminPasswordHasBeenSet
bool KdcAdminPasswordHasBeenSet() const
Definition: KerberosAttributes.h:105
Aws::EMR::Model::KerberosAttributes::ADDomainJoinPasswordHasBeenSet
bool ADDomainJoinPasswordHasBeenSet() const
Definition: KerberosAttributes.h:264
Aws::EMR::Model::KerberosAttributes::WithADDomainJoinUser
KerberosAttributes & WithADDomainJoinUser(const char *value)
Definition: KerberosAttributes.h:253
Aws::EMR::Model::KerberosAttributes::SetCrossRealmTrustPrincipalPassword
void SetCrossRealmTrustPrincipalPassword(const char *value)
Definition: KerberosAttributes.h:183
Aws::EMR::Model::KerberosAttributes::SetADDomainJoinPassword
void SetADDomainJoinPassword(const Aws::String &value)
Definition: KerberosAttributes.h:269
Aws::EMR::Model::KerberosAttributes::WithRealm
KerberosAttributes & WithRealm(const char *value)
Definition: KerberosAttributes.h:90
Aws::EMR::Model::KerberosAttributes::WithADDomainJoinUser
KerberosAttributes & WithADDomainJoinUser(Aws::String &&value)
Definition: KerberosAttributes.h:247
Aws::EMR::Model::KerberosAttributes::SetRealm
void SetRealm(const Aws::String &value)
Definition: KerberosAttributes.h:60
Aws::EMR::Model::KerberosAttributes::WithCrossRealmTrustPrincipalPassword
KerberosAttributes & WithCrossRealmTrustPrincipalPassword(Aws::String &&value)
Definition: KerberosAttributes.h:197
Aws::EMR::Model::KerberosAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::KerberosAttributes::SetKdcAdminPassword
void SetKdcAdminPassword(Aws::String &&value)
Definition: KerberosAttributes.h:119
Aws::EMR::Model::KerberosAttributes::SetADDomainJoinUser
void SetADDomainJoinUser(Aws::String &&value)
Definition: KerberosAttributes.h:229
Aws::EMR::Model::KerberosAttributes::SetCrossRealmTrustPrincipalPassword
void SetCrossRealmTrustPrincipalPassword(const Aws::String &value)
Definition: KerberosAttributes.h:169
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::KerberosAttributes::WithADDomainJoinUser
KerberosAttributes & WithADDomainJoinUser(const Aws::String &value)
Definition: KerberosAttributes.h:241
Aws::EMR::Model::KerberosAttributes::SetRealm
void SetRealm(Aws::String &&value)
Definition: KerberosAttributes.h:66
Aws::EMR::Model::KerberosAttributes::SetKdcAdminPassword
void SetKdcAdminPassword(const char *value)
Definition: KerberosAttributes.h:126
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::KerberosAttributes::GetADDomainJoinPassword
const Aws::String & GetADDomainJoinPassword() const
Definition: KerberosAttributes.h:259
Aws::EMR::Model::KerberosAttributes::SetADDomainJoinPassword
void SetADDomainJoinPassword(const char *value)
Definition: KerberosAttributes.h:279
Aws::EMR::Model::KerberosAttributes::WithRealm
KerberosAttributes & WithRealm(Aws::String &&value)
Definition: KerberosAttributes.h:84
Aws::EMR::Model::KerberosAttributes::operator=
KerberosAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::KerberosAttributes::WithKdcAdminPassword
KerberosAttributes & WithKdcAdminPassword(Aws::String &&value)
Definition: KerberosAttributes.h:140
Aws::EMR::Model::KerberosAttributes::WithADDomainJoinPassword
KerberosAttributes & WithADDomainJoinPassword(Aws::String &&value)
Definition: KerberosAttributes.h:289
Aws::EMR::Model::KerberosAttributes::KerberosAttributes
KerberosAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::KerberosAttributes::WithRealm
KerberosAttributes & WithRealm(const Aws::String &value)
Definition: KerberosAttributes.h:78
Aws::EMR::Model::KerberosAttributes::SetADDomainJoinPassword
void SetADDomainJoinPassword(Aws::String &&value)
Definition: KerberosAttributes.h:274