7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
40 template <
typename UserT = Aws::String>
42 m_userHasBeenSet =
true;
43 m_user = std::forward<UserT>(value);
45 template <
typename UserT = Aws::String>
47 SetUser(std::forward<UserT>(value));
58 template <
typename ApplicationT = Aws::String>
60 m_applicationHasBeenSet =
true;
61 m_application = std::forward<ApplicationT>(value);
63 template <
typename ApplicationT = Aws::String>
78 m_failedLoginAttemptsHasBeenSet =
true;
79 m_failedLoginAttempts = value;
95 m_successfulLoginAttemptsHasBeenSet =
true;
96 m_successfulLoginAttempts = value;
108 int m_failedLoginAttempts{0};
110 int m_successfulLoginAttempts{0};
111 bool m_userHasBeenSet =
false;
112 bool m_applicationHasBeenSet =
false;
113 bool m_failedLoginAttemptsHasBeenSet =
false;
114 bool m_successfulLoginAttemptsHasBeenSet =
false;
const Aws::String & GetApplication() const
LoginAttribute & WithApplication(ApplicationT &&value)
void SetFailedLoginAttempts(int value)
AWS_GUARDDUTY_API LoginAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUser(UserT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
LoginAttribute & WithUser(UserT &&value)
void SetApplication(ApplicationT &&value)
AWS_GUARDDUTY_API LoginAttribute(Aws::Utils::Json::JsonView jsonValue)
void SetSuccessfulLoginAttempts(int value)
bool FailedLoginAttemptsHasBeenSet() const
LoginAttribute & WithSuccessfulLoginAttempts(int value)
bool UserHasBeenSet() const
bool ApplicationHasBeenSet() const
AWS_GUARDDUTY_API LoginAttribute()=default
const Aws::String & GetUser() const
LoginAttribute & WithFailedLoginAttempts(int value)
int GetFailedLoginAttempts() const
int GetSuccessfulLoginAttempts() const
bool SuccessfulLoginAttemptsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue