AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename UserT = Aws::String>
48 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
49 template<typename UserT = Aws::String>
50 RdsDbUserDetails& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
52
54
57 inline const Aws::String& GetApplication() const { return m_application; }
58 inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
59 template<typename ApplicationT = Aws::String>
60 void SetApplication(ApplicationT&& value) { m_applicationHasBeenSet = true; m_application = std::forward<ApplicationT>(value); }
61 template<typename ApplicationT = Aws::String>
62 RdsDbUserDetails& WithApplication(ApplicationT&& value) { SetApplication(std::forward<ApplicationT>(value)); return *this;}
64
66
70 inline const Aws::String& GetDatabase() const { return m_database; }
71 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
72 template<typename DatabaseT = Aws::String>
73 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
74 template<typename DatabaseT = Aws::String>
75 RdsDbUserDetails& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
77
79
82 inline const Aws::String& GetSsl() const { return m_ssl; }
83 inline bool SslHasBeenSet() const { return m_sslHasBeenSet; }
84 template<typename SslT = Aws::String>
85 void SetSsl(SslT&& value) { m_sslHasBeenSet = true; m_ssl = std::forward<SslT>(value); }
86 template<typename SslT = Aws::String>
87 RdsDbUserDetails& WithSsl(SslT&& value) { SetSsl(std::forward<SslT>(value)); return *this;}
89
91
94 inline const Aws::String& GetAuthMethod() const { return m_authMethod; }
95 inline bool AuthMethodHasBeenSet() const { return m_authMethodHasBeenSet; }
96 template<typename AuthMethodT = Aws::String>
97 void SetAuthMethod(AuthMethodT&& value) { m_authMethodHasBeenSet = true; m_authMethod = std::forward<AuthMethodT>(value); }
98 template<typename AuthMethodT = Aws::String>
99 RdsDbUserDetails& WithAuthMethod(AuthMethodT&& value) { SetAuthMethod(std::forward<AuthMethodT>(value)); return *this;}
101 private:
102
103 Aws::String m_user;
104 bool m_userHasBeenSet = false;
105
106 Aws::String m_application;
107 bool m_applicationHasBeenSet = false;
108
109 Aws::String m_database;
110 bool m_databaseHasBeenSet = false;
111
112 Aws::String m_ssl;
113 bool m_sslHasBeenSet = false;
114
115 Aws::String m_authMethod;
116 bool m_authMethodHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace GuardDuty
121} // namespace Aws
RdsDbUserDetails & WithUser(UserT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API RdsDbUserDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RdsDbUserDetails & WithApplication(ApplicationT &&value)
const Aws::String & GetUser() const
void SetApplication(ApplicationT &&value)
const Aws::String & GetDatabase() const
RdsDbUserDetails & WithAuthMethod(AuthMethodT &&value)
RdsDbUserDetails & WithSsl(SslT &&value)
void SetAuthMethod(AuthMethodT &&value)
AWS_GUARDDUTY_API RdsDbUserDetails(Aws::Utils::Json::JsonView jsonValue)
RdsDbUserDetails & WithDatabase(DatabaseT &&value)
AWS_GUARDDUTY_API RdsDbUserDetails()=default
const Aws::String & GetAuthMethod() const
const Aws::String & GetApplication() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue