7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename UserT = Aws::String>
47 void SetUser(UserT&& value) { m_userHasBeenSet =
true; m_user = std::forward<UserT>(value); }
48 template<
typename UserT = Aws::String>
58 template<
typename ApplicationT = Aws::String>
59 void SetApplication(ApplicationT&& value) { m_applicationHasBeenSet =
true; m_application = std::forward<ApplicationT>(value); }
60 template<
typename ApplicationT = Aws::String>
71 inline void SetFailedLoginAttempts(
int value) { m_failedLoginAttemptsHasBeenSet =
true; m_failedLoginAttempts = value; }
88 bool m_userHasBeenSet =
false;
91 bool m_applicationHasBeenSet =
false;
93 int m_failedLoginAttempts{0};
94 bool m_failedLoginAttemptsHasBeenSet =
false;
96 int m_successfulLoginAttempts{0};
97 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