7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
40 template <
typename PrincipalIdT = Aws::String>
42 m_principalIdHasBeenSet =
true;
43 m_principalId = std::forward<PrincipalIdT>(value);
45 template <
typename PrincipalIdT = Aws::String>
58 template <
typename UserNameT = Aws::String>
60 m_userNameHasBeenSet =
true;
61 m_userName = std::forward<UserNameT>(value);
63 template <
typename UserNameT = Aws::String>
76 template <
typename UserTypeT = Aws::String>
78 m_userTypeHasBeenSet =
true;
79 m_userType = std::forward<UserTypeT>(value);
81 template <
typename UserTypeT = Aws::String>
93 bool m_principalIdHasBeenSet =
false;
94 bool m_userNameHasBeenSet =
false;
95 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