AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MasterUserOptions.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_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 OpenSearchService
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OPENSEARCHSERVICE_API MasterUserOptions();
35 AWS_OPENSEARCHSERVICE_API MasterUserOptions(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OPENSEARCHSERVICE_API MasterUserOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetMasterUserARN() const{ return m_masterUserARN; }
46 inline bool MasterUserARNHasBeenSet() const { return m_masterUserARNHasBeenSet; }
47 inline void SetMasterUserARN(const Aws::String& value) { m_masterUserARNHasBeenSet = true; m_masterUserARN = value; }
48 inline void SetMasterUserARN(Aws::String&& value) { m_masterUserARNHasBeenSet = true; m_masterUserARN = std::move(value); }
49 inline void SetMasterUserARN(const char* value) { m_masterUserARNHasBeenSet = true; m_masterUserARN.assign(value); }
50 inline MasterUserOptions& WithMasterUserARN(const Aws::String& value) { SetMasterUserARN(value); return *this;}
51 inline MasterUserOptions& WithMasterUserARN(Aws::String&& value) { SetMasterUserARN(std::move(value)); return *this;}
52 inline MasterUserOptions& WithMasterUserARN(const char* value) { SetMasterUserARN(value); return *this;}
54
56
60 inline const Aws::String& GetMasterUserName() const{ return m_masterUserName; }
61 inline bool MasterUserNameHasBeenSet() const { return m_masterUserNameHasBeenSet; }
62 inline void SetMasterUserName(const Aws::String& value) { m_masterUserNameHasBeenSet = true; m_masterUserName = value; }
63 inline void SetMasterUserName(Aws::String&& value) { m_masterUserNameHasBeenSet = true; m_masterUserName = std::move(value); }
64 inline void SetMasterUserName(const char* value) { m_masterUserNameHasBeenSet = true; m_masterUserName.assign(value); }
65 inline MasterUserOptions& WithMasterUserName(const Aws::String& value) { SetMasterUserName(value); return *this;}
66 inline MasterUserOptions& WithMasterUserName(Aws::String&& value) { SetMasterUserName(std::move(value)); return *this;}
67 inline MasterUserOptions& WithMasterUserName(const char* value) { SetMasterUserName(value); return *this;}
69
71
75 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
76 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
77 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
78 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
79 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
80 inline MasterUserOptions& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;}
81 inline MasterUserOptions& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
82 inline MasterUserOptions& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
84 private:
85
86 Aws::String m_masterUserARN;
87 bool m_masterUserARNHasBeenSet = false;
88
89 Aws::String m_masterUserName;
90 bool m_masterUserNameHasBeenSet = false;
91
92 Aws::String m_masterUserPassword;
93 bool m_masterUserPasswordHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace OpenSearchService
98} // namespace Aws
MasterUserOptions & WithMasterUserARN(const Aws::String &value)
MasterUserOptions & WithMasterUserName(const char *value)
MasterUserOptions & WithMasterUserARN(const char *value)
MasterUserOptions & WithMasterUserName(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API MasterUserOptions()
MasterUserOptions & WithMasterUserName(const Aws::String &value)
void SetMasterUserPassword(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API MasterUserOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API MasterUserOptions(Aws::Utils::Json::JsonView jsonValue)
MasterUserOptions & WithMasterUserPassword(const char *value)
MasterUserOptions & WithMasterUserPassword(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MasterUserOptions & WithMasterUserARN(Aws::String &&value)
MasterUserOptions & WithMasterUserPassword(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue