AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KerberosAttributes.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EMR
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_EMR_API KerberosAttributes();
42
43
45
49 inline const Aws::String& GetRealm() const{ return m_realm; }
50 inline bool RealmHasBeenSet() const { return m_realmHasBeenSet; }
51 inline void SetRealm(const Aws::String& value) { m_realmHasBeenSet = true; m_realm = value; }
52 inline void SetRealm(Aws::String&& value) { m_realmHasBeenSet = true; m_realm = std::move(value); }
53 inline void SetRealm(const char* value) { m_realmHasBeenSet = true; m_realm.assign(value); }
54 inline KerberosAttributes& WithRealm(const Aws::String& value) { SetRealm(value); return *this;}
55 inline KerberosAttributes& WithRealm(Aws::String&& value) { SetRealm(std::move(value)); return *this;}
56 inline KerberosAttributes& WithRealm(const char* value) { SetRealm(value); return *this;}
58
60
65 inline const Aws::String& GetKdcAdminPassword() const{ return m_kdcAdminPassword; }
66 inline bool KdcAdminPasswordHasBeenSet() const { return m_kdcAdminPasswordHasBeenSet; }
67 inline void SetKdcAdminPassword(const Aws::String& value) { m_kdcAdminPasswordHasBeenSet = true; m_kdcAdminPassword = value; }
68 inline void SetKdcAdminPassword(Aws::String&& value) { m_kdcAdminPasswordHasBeenSet = true; m_kdcAdminPassword = std::move(value); }
69 inline void SetKdcAdminPassword(const char* value) { m_kdcAdminPasswordHasBeenSet = true; m_kdcAdminPassword.assign(value); }
70 inline KerberosAttributes& WithKdcAdminPassword(const Aws::String& value) { SetKdcAdminPassword(value); return *this;}
71 inline KerberosAttributes& WithKdcAdminPassword(Aws::String&& value) { SetKdcAdminPassword(std::move(value)); return *this;}
72 inline KerberosAttributes& WithKdcAdminPassword(const char* value) { SetKdcAdminPassword(value); return *this;}
74
76
81 inline const Aws::String& GetCrossRealmTrustPrincipalPassword() const{ return m_crossRealmTrustPrincipalPassword; }
82 inline bool CrossRealmTrustPrincipalPasswordHasBeenSet() const { return m_crossRealmTrustPrincipalPasswordHasBeenSet; }
83 inline void SetCrossRealmTrustPrincipalPassword(const Aws::String& value) { m_crossRealmTrustPrincipalPasswordHasBeenSet = true; m_crossRealmTrustPrincipalPassword = value; }
84 inline void SetCrossRealmTrustPrincipalPassword(Aws::String&& value) { m_crossRealmTrustPrincipalPasswordHasBeenSet = true; m_crossRealmTrustPrincipalPassword = std::move(value); }
85 inline void SetCrossRealmTrustPrincipalPassword(const char* value) { m_crossRealmTrustPrincipalPasswordHasBeenSet = true; m_crossRealmTrustPrincipalPassword.assign(value); }
90
92
96 inline const Aws::String& GetADDomainJoinUser() const{ return m_aDDomainJoinUser; }
97 inline bool ADDomainJoinUserHasBeenSet() const { return m_aDDomainJoinUserHasBeenSet; }
98 inline void SetADDomainJoinUser(const Aws::String& value) { m_aDDomainJoinUserHasBeenSet = true; m_aDDomainJoinUser = value; }
99 inline void SetADDomainJoinUser(Aws::String&& value) { m_aDDomainJoinUserHasBeenSet = true; m_aDDomainJoinUser = std::move(value); }
100 inline void SetADDomainJoinUser(const char* value) { m_aDDomainJoinUserHasBeenSet = true; m_aDDomainJoinUser.assign(value); }
101 inline KerberosAttributes& WithADDomainJoinUser(const Aws::String& value) { SetADDomainJoinUser(value); return *this;}
102 inline KerberosAttributes& WithADDomainJoinUser(Aws::String&& value) { SetADDomainJoinUser(std::move(value)); return *this;}
103 inline KerberosAttributes& WithADDomainJoinUser(const char* value) { SetADDomainJoinUser(value); return *this;}
105
107
110 inline const Aws::String& GetADDomainJoinPassword() const{ return m_aDDomainJoinPassword; }
111 inline bool ADDomainJoinPasswordHasBeenSet() const { return m_aDDomainJoinPasswordHasBeenSet; }
112 inline void SetADDomainJoinPassword(const Aws::String& value) { m_aDDomainJoinPasswordHasBeenSet = true; m_aDDomainJoinPassword = value; }
113 inline void SetADDomainJoinPassword(Aws::String&& value) { m_aDDomainJoinPasswordHasBeenSet = true; m_aDDomainJoinPassword = std::move(value); }
114 inline void SetADDomainJoinPassword(const char* value) { m_aDDomainJoinPasswordHasBeenSet = true; m_aDDomainJoinPassword.assign(value); }
116 inline KerberosAttributes& WithADDomainJoinPassword(Aws::String&& value) { SetADDomainJoinPassword(std::move(value)); return *this;}
117 inline KerberosAttributes& WithADDomainJoinPassword(const char* value) { SetADDomainJoinPassword(value); return *this;}
119 private:
120
121 Aws::String m_realm;
122 bool m_realmHasBeenSet = false;
123
124 Aws::String m_kdcAdminPassword;
125 bool m_kdcAdminPasswordHasBeenSet = false;
126
127 Aws::String m_crossRealmTrustPrincipalPassword;
128 bool m_crossRealmTrustPrincipalPasswordHasBeenSet = false;
129
130 Aws::String m_aDDomainJoinUser;
131 bool m_aDDomainJoinUserHasBeenSet = false;
132
133 Aws::String m_aDDomainJoinPassword;
134 bool m_aDDomainJoinPasswordHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace EMR
139} // namespace Aws
const Aws::String & GetRealm() const
AWS_EMR_API KerberosAttributes(Aws::Utils::Json::JsonView jsonValue)
KerberosAttributes & WithCrossRealmTrustPrincipalPassword(const Aws::String &value)
void SetCrossRealmTrustPrincipalPassword(const char *value)
KerberosAttributes & WithADDomainJoinUser(Aws::String &&value)
const Aws::String & GetCrossRealmTrustPrincipalPassword() const
KerberosAttributes & WithRealm(const Aws::String &value)
KerberosAttributes & WithADDomainJoinPassword(const Aws::String &value)
KerberosAttributes & WithRealm(Aws::String &&value)
KerberosAttributes & WithADDomainJoinPassword(Aws::String &&value)
KerberosAttributes & WithCrossRealmTrustPrincipalPassword(const char *value)
KerberosAttributes & WithKdcAdminPassword(const char *value)
KerberosAttributes & WithCrossRealmTrustPrincipalPassword(Aws::String &&value)
const Aws::String & GetKdcAdminPassword() const
void SetRealm(const Aws::String &value)
KerberosAttributes & WithKdcAdminPassword(const Aws::String &value)
void SetADDomainJoinPassword(const Aws::String &value)
AWS_EMR_API KerberosAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
KerberosAttributes & WithKdcAdminPassword(Aws::String &&value)
void SetKdcAdminPassword(Aws::String &&value)
void SetCrossRealmTrustPrincipalPassword(Aws::String &&value)
void SetKdcAdminPassword(const Aws::String &value)
KerberosAttributes & WithRealm(const char *value)
void SetKdcAdminPassword(const char *value)
void SetADDomainJoinUser(Aws::String &&value)
KerberosAttributes & WithADDomainJoinUser(const Aws::String &value)
void SetADDomainJoinPassword(Aws::String &&value)
const Aws::String & GetADDomainJoinUser() const
KerberosAttributes & WithADDomainJoinPassword(const char *value)
KerberosAttributes & WithADDomainJoinUser(const char *value)
void SetADDomainJoinUser(const Aws::String &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetADDomainJoinUser(const char *value)
void SetCrossRealmTrustPrincipalPassword(const Aws::String &value)
const Aws::String & GetADDomainJoinPassword() const
void SetADDomainJoinPassword(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue