7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename PrincipalIdT = Aws::String>
47 void SetPrincipalId(PrincipalIdT&& value) { m_principalIdHasBeenSet =
true; m_principalId = std::forward<PrincipalIdT>(value); }
48 template<
typename PrincipalIdT = Aws::String>
58 template<
typename UserNameT = Aws::String>
59 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
60 template<
typename UserNameT = Aws::String>
70 template<
typename UserTypeT = Aws::String>
71 void SetUserType(UserTypeT&& value) { m_userTypeHasBeenSet =
true; m_userType = std::forward<UserTypeT>(value); }
72 template<
typename UserTypeT = Aws::String>
78 bool m_principalIdHasBeenSet =
false;
81 bool m_userNameHasBeenSet =
false;
84 bool m_userTypeHasBeenSet =
false;
bool UserNameHasBeenSet() const
bool UserTypeHasBeenSet() const
AWS_GUARDDUTY_API AccessKey(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUserName() const
AccessKey & WithUserType(UserTypeT &&value)
const Aws::String & GetUserType() const
AccessKey & WithPrincipalId(PrincipalIdT &&value)
bool PrincipalIdHasBeenSet() const
void SetUserType(UserTypeT &&value)
const Aws::String & GetPrincipalId() const
AccessKey & WithUserName(UserNameT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API AccessKey()=default
void SetPrincipalId(PrincipalIdT &&value)
AWS_GUARDDUTY_API AccessKey & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUserName(UserNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue