AWS SDK for C++  1.9.97
AWS SDK for C++
MasterUserOptions.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 ElasticsearchService
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetMasterUserARN() const{ return m_masterUserARN; }
45 
49  inline bool MasterUserARNHasBeenSet() const { return m_masterUserARNHasBeenSet; }
50 
54  inline void SetMasterUserARN(const Aws::String& value) { m_masterUserARNHasBeenSet = true; m_masterUserARN = value; }
55 
59  inline void SetMasterUserARN(Aws::String&& value) { m_masterUserARNHasBeenSet = true; m_masterUserARN = std::move(value); }
60 
64  inline void SetMasterUserARN(const char* value) { m_masterUserARNHasBeenSet = true; m_masterUserARN.assign(value); }
65 
69  inline MasterUserOptions& WithMasterUserARN(const Aws::String& value) { SetMasterUserARN(value); return *this;}
70 
74  inline MasterUserOptions& WithMasterUserARN(Aws::String&& value) { SetMasterUserARN(std::move(value)); return *this;}
75 
79  inline MasterUserOptions& WithMasterUserARN(const char* value) { SetMasterUserARN(value); return *this;}
80 
81 
86  inline const Aws::String& GetMasterUserName() const{ return m_masterUserName; }
87 
92  inline bool MasterUserNameHasBeenSet() const { return m_masterUserNameHasBeenSet; }
93 
98  inline void SetMasterUserName(const Aws::String& value) { m_masterUserNameHasBeenSet = true; m_masterUserName = value; }
99 
104  inline void SetMasterUserName(Aws::String&& value) { m_masterUserNameHasBeenSet = true; m_masterUserName = std::move(value); }
105 
110  inline void SetMasterUserName(const char* value) { m_masterUserNameHasBeenSet = true; m_masterUserName.assign(value); }
111 
116  inline MasterUserOptions& WithMasterUserName(const Aws::String& value) { SetMasterUserName(value); return *this;}
117 
122  inline MasterUserOptions& WithMasterUserName(Aws::String&& value) { SetMasterUserName(std::move(value)); return *this;}
123 
128  inline MasterUserOptions& WithMasterUserName(const char* value) { SetMasterUserName(value); return *this;}
129 
130 
135  inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
136 
141  inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
142 
147  inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
148 
153  inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
154 
159  inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
160 
165  inline MasterUserOptions& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;}
166 
171  inline MasterUserOptions& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
172 
177  inline MasterUserOptions& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
178 
179  private:
180 
181  Aws::String m_masterUserARN;
182  bool m_masterUserARNHasBeenSet;
183 
184  Aws::String m_masterUserName;
185  bool m_masterUserNameHasBeenSet;
186 
187  Aws::String m_masterUserPassword;
188  bool m_masterUserPasswordHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace ElasticsearchService
193 } // namespace Aws
Aws::ElasticsearchService::Model::MasterUserOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::MasterUserOptions::SetMasterUserPassword
void SetMasterUserPassword(const char *value)
Definition: MasterUserOptions.h:159
Aws::ElasticsearchService::Model::MasterUserOptions
Definition: MasterUserOptions.h:33
Aws::ElasticsearchService::Model::MasterUserOptions::SetMasterUserARN
void SetMasterUserARN(const Aws::String &value)
Definition: MasterUserOptions.h:54
Aws::ElasticsearchService::Model::MasterUserOptions::SetMasterUserName
void SetMasterUserName(Aws::String &&value)
Definition: MasterUserOptions.h:104
Aws::ElasticsearchService::Model::MasterUserOptions::WithMasterUserPassword
MasterUserOptions & WithMasterUserPassword(const char *value)
Definition: MasterUserOptions.h:177
Aws::ElasticsearchService::Model::MasterUserOptions::GetMasterUserARN
const Aws::String & GetMasterUserARN() const
Definition: MasterUserOptions.h:44
Aws::ElasticsearchService::Model::MasterUserOptions::WithMasterUserARN
MasterUserOptions & WithMasterUserARN(const Aws::String &value)
Definition: MasterUserOptions.h:69
Aws::ElasticsearchService::Model::MasterUserOptions::WithMasterUserARN
MasterUserOptions & WithMasterUserARN(const char *value)
Definition: MasterUserOptions.h:79
Aws::ElasticsearchService::Model::MasterUserOptions::MasterUserOptions
MasterUserOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::MasterUserOptions::GetMasterUserPassword
const Aws::String & GetMasterUserPassword() const
Definition: MasterUserOptions.h:135
Aws::ElasticsearchService::Model::MasterUserOptions::SetMasterUserName
void SetMasterUserName(const Aws::String &value)
Definition: MasterUserOptions.h:98
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::MasterUserOptions::SetMasterUserName
void SetMasterUserName(const char *value)
Definition: MasterUserOptions.h:110
Aws::ElasticsearchService::Model::MasterUserOptions::WithMasterUserPassword
MasterUserOptions & WithMasterUserPassword(Aws::String &&value)
Definition: MasterUserOptions.h:171
Aws::ElasticsearchService::Model::MasterUserOptions::MasterUserPasswordHasBeenSet
bool MasterUserPasswordHasBeenSet() const
Definition: MasterUserOptions.h:141
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::MasterUserOptions::WithMasterUserARN
MasterUserOptions & WithMasterUserARN(Aws::String &&value)
Definition: MasterUserOptions.h:74
Aws::ElasticsearchService::Model::MasterUserOptions::MasterUserOptions
MasterUserOptions()
Aws::ElasticsearchService::Model::MasterUserOptions::WithMasterUserName
MasterUserOptions & WithMasterUserName(const char *value)
Definition: MasterUserOptions.h:128
Aws::ElasticsearchService::Model::MasterUserOptions::SetMasterUserARN
void SetMasterUserARN(Aws::String &&value)
Definition: MasterUserOptions.h:59
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::MasterUserOptions::WithMasterUserName
MasterUserOptions & WithMasterUserName(const Aws::String &value)
Definition: MasterUserOptions.h:116
Aws::ElasticsearchService::Model::MasterUserOptions::GetMasterUserName
const Aws::String & GetMasterUserName() const
Definition: MasterUserOptions.h:86
Aws::ElasticsearchService::Model::MasterUserOptions::SetMasterUserPassword
void SetMasterUserPassword(Aws::String &&value)
Definition: MasterUserOptions.h:153
Aws::ElasticsearchService::Model::MasterUserOptions::MasterUserNameHasBeenSet
bool MasterUserNameHasBeenSet() const
Definition: MasterUserOptions.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::MasterUserOptions::SetMasterUserARN
void SetMasterUserARN(const char *value)
Definition: MasterUserOptions.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::MasterUserOptions::MasterUserARNHasBeenSet
bool MasterUserARNHasBeenSet() const
Definition: MasterUserOptions.h:49
Aws::ElasticsearchService::Model::MasterUserOptions::operator=
MasterUserOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::MasterUserOptions::WithMasterUserName
MasterUserOptions & WithMasterUserName(Aws::String &&value)
Definition: MasterUserOptions.h:122
Aws::ElasticsearchService::Model::MasterUserOptions::WithMasterUserPassword
MasterUserOptions & WithMasterUserPassword(const Aws::String &value)
Definition: MasterUserOptions.h:165
Aws::ElasticsearchService::Model::MasterUserOptions::SetMasterUserPassword
void SetMasterUserPassword(const Aws::String &value)
Definition: MasterUserOptions.h:147