7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
40 template <
typename AccessKeyIdT = Aws::String>
42 m_accessKeyIdHasBeenSet =
true;
43 m_accessKeyId = std::forward<AccessKeyIdT>(value);
45 template <
typename AccessKeyIdT = Aws::String>
58 template <
typename PrincipalIdT = Aws::String>
60 m_principalIdHasBeenSet =
true;
61 m_principalId = std::forward<PrincipalIdT>(value);
63 template <
typename PrincipalIdT = Aws::String>
76 template <
typename UserNameT = Aws::String>
78 m_userNameHasBeenSet =
true;
79 m_userName = std::forward<UserNameT>(value);
81 template <
typename UserNameT = Aws::String>
94 template <
typename UserTypeT = Aws::String>
96 m_userTypeHasBeenSet =
true;
97 m_userType = std::forward<UserTypeT>(value);
99 template <
typename UserTypeT = Aws::String>
113 bool m_accessKeyIdHasBeenSet =
false;
114 bool m_principalIdHasBeenSet =
false;
115 bool m_userNameHasBeenSet =
false;
116 bool m_userTypeHasBeenSet =
false;
bool PrincipalIdHasBeenSet() const
void SetUserName(UserNameT &&value)
const Aws::String & GetPrincipalId() const
bool UserTypeHasBeenSet() const
AccessKeyDetails & WithUserName(UserNameT &&value)
void SetAccessKeyId(AccessKeyIdT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUserName() const
AWS_GUARDDUTY_API AccessKeyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrincipalId(PrincipalIdT &&value)
AWS_GUARDDUTY_API AccessKeyDetails(Aws::Utils::Json::JsonView jsonValue)
bool AccessKeyIdHasBeenSet() const
void SetUserType(UserTypeT &&value)
const Aws::String & GetAccessKeyId() const
AccessKeyDetails & WithPrincipalId(PrincipalIdT &&value)
AccessKeyDetails & WithAccessKeyId(AccessKeyIdT &&value)
AccessKeyDetails & WithUserType(UserTypeT &&value)
bool UserNameHasBeenSet() const
AWS_GUARDDUTY_API AccessKeyDetails()=default
const Aws::String & GetUserType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue