7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetUser(
const char* value) { m_userHasBeenSet =
true; m_user.assign(value); }
62 inline void SetApplication(
const char* value) { m_applicationHasBeenSet =
true; m_application.assign(value); }
75 inline void SetFailedLoginAttempts(
int value) { m_failedLoginAttemptsHasBeenSet =
true; m_failedLoginAttempts = value; }
92 bool m_userHasBeenSet =
false;
95 bool m_applicationHasBeenSet =
false;
97 int m_failedLoginAttempts;
98 bool m_failedLoginAttemptsHasBeenSet =
false;
100 int m_successfulLoginAttempts;
101 bool m_successfulLoginAttemptsHasBeenSet =
false;
const Aws::String & GetApplication() const
void SetApplication(Aws::String &&value)
void SetFailedLoginAttempts(int value)
LoginAttribute & WithApplication(Aws::String &&value)
void SetApplication(const char *value)
LoginAttribute & WithApplication(const Aws::String &value)
AWS_GUARDDUTY_API LoginAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
LoginAttribute & WithUser(const char *value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API LoginAttribute(Aws::Utils::Json::JsonView jsonValue)
void SetSuccessfulLoginAttempts(int value)
AWS_GUARDDUTY_API LoginAttribute()
bool FailedLoginAttemptsHasBeenSet() const
void SetApplication(const Aws::String &value)
LoginAttribute & WithSuccessfulLoginAttempts(int value)
bool UserHasBeenSet() const
bool ApplicationHasBeenSet() const
LoginAttribute & WithUser(const Aws::String &value)
LoginAttribute & WithApplication(const char *value)
void SetUser(const Aws::String &value)
const Aws::String & GetUser() const
void SetUser(Aws::String &&value)
LoginAttribute & WithFailedLoginAttempts(int value)
int GetFailedLoginAttempts() const
int GetSuccessfulLoginAttempts() const
LoginAttribute & WithUser(Aws::String &&value)
void SetUser(const char *value)
bool SuccessfulLoginAttemptsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue