AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RdsDbUserDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API RdsDbUserDetails();
36 AWS_GUARDDUTY_API RdsDbUserDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUser() const{ return m_user; }
46 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
47 inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
48 inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
49 inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
50 inline RdsDbUserDetails& WithUser(const Aws::String& value) { SetUser(value); return *this;}
51 inline RdsDbUserDetails& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
52 inline RdsDbUserDetails& WithUser(const char* value) { SetUser(value); return *this;}
54
56
59 inline const Aws::String& GetApplication() const{ return m_application; }
60 inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
61 inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
62 inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
63 inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
64 inline RdsDbUserDetails& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
65 inline RdsDbUserDetails& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
66 inline RdsDbUserDetails& WithApplication(const char* value) { SetApplication(value); return *this;}
68
70
74 inline const Aws::String& GetDatabase() const{ return m_database; }
75 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
76 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
77 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
78 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
79 inline RdsDbUserDetails& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
80 inline RdsDbUserDetails& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
81 inline RdsDbUserDetails& WithDatabase(const char* value) { SetDatabase(value); return *this;}
83
85
88 inline const Aws::String& GetSsl() const{ return m_ssl; }
89 inline bool SslHasBeenSet() const { return m_sslHasBeenSet; }
90 inline void SetSsl(const Aws::String& value) { m_sslHasBeenSet = true; m_ssl = value; }
91 inline void SetSsl(Aws::String&& value) { m_sslHasBeenSet = true; m_ssl = std::move(value); }
92 inline void SetSsl(const char* value) { m_sslHasBeenSet = true; m_ssl.assign(value); }
93 inline RdsDbUserDetails& WithSsl(const Aws::String& value) { SetSsl(value); return *this;}
94 inline RdsDbUserDetails& WithSsl(Aws::String&& value) { SetSsl(std::move(value)); return *this;}
95 inline RdsDbUserDetails& WithSsl(const char* value) { SetSsl(value); return *this;}
97
99
102 inline const Aws::String& GetAuthMethod() const{ return m_authMethod; }
103 inline bool AuthMethodHasBeenSet() const { return m_authMethodHasBeenSet; }
104 inline void SetAuthMethod(const Aws::String& value) { m_authMethodHasBeenSet = true; m_authMethod = value; }
105 inline void SetAuthMethod(Aws::String&& value) { m_authMethodHasBeenSet = true; m_authMethod = std::move(value); }
106 inline void SetAuthMethod(const char* value) { m_authMethodHasBeenSet = true; m_authMethod.assign(value); }
107 inline RdsDbUserDetails& WithAuthMethod(const Aws::String& value) { SetAuthMethod(value); return *this;}
108 inline RdsDbUserDetails& WithAuthMethod(Aws::String&& value) { SetAuthMethod(std::move(value)); return *this;}
109 inline RdsDbUserDetails& WithAuthMethod(const char* value) { SetAuthMethod(value); return *this;}
111 private:
112
113 Aws::String m_user;
114 bool m_userHasBeenSet = false;
115
116 Aws::String m_application;
117 bool m_applicationHasBeenSet = false;
118
119 Aws::String m_database;
120 bool m_databaseHasBeenSet = false;
121
122 Aws::String m_ssl;
123 bool m_sslHasBeenSet = false;
124
125 Aws::String m_authMethod;
126 bool m_authMethodHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace GuardDuty
131} // namespace Aws
void SetApplication(const Aws::String &value)
void SetDatabase(const Aws::String &value)
RdsDbUserDetails & WithAuthMethod(Aws::String &&value)
RdsDbUserDetails & WithDatabase(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
RdsDbUserDetails & WithAuthMethod(const char *value)
void SetApplication(Aws::String &&value)
AWS_GUARDDUTY_API RdsDbUserDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUser(const Aws::String &value)
void SetAuthMethod(const Aws::String &value)
const Aws::String & GetUser() const
RdsDbUserDetails & WithUser(const char *value)
RdsDbUserDetails & WithSsl(Aws::String &&value)
const Aws::String & GetDatabase() const
RdsDbUserDetails & WithApplication(Aws::String &&value)
RdsDbUserDetails & WithSsl(const Aws::String &value)
RdsDbUserDetails & WithDatabase(Aws::String &&value)
RdsDbUserDetails & WithApplication(const char *value)
RdsDbUserDetails & WithDatabase(const char *value)
RdsDbUserDetails & WithUser(Aws::String &&value)
RdsDbUserDetails & WithUser(const Aws::String &value)
RdsDbUserDetails & WithAuthMethod(const Aws::String &value)
RdsDbUserDetails & WithSsl(const char *value)
AWS_GUARDDUTY_API RdsDbUserDetails(Aws::Utils::Json::JsonView jsonValue)
RdsDbUserDetails & WithApplication(const Aws::String &value)
const Aws::String & GetAuthMethod() const
const Aws::String & GetApplication() const
void SetSsl(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue