7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
9#include <aws/resiliencehubv2/model/ActorType.h>
20namespace resiliencehubv2 {
42 m_typeHasBeenSet =
true;
57 template <
typename PrincipalIdT = Aws::String>
59 m_principalIdHasBeenSet =
true;
60 m_principalId = std::forward<PrincipalIdT>(value);
62 template <
typename PrincipalIdT = Aws::String>
75 template <
typename AccountIdT = Aws::String>
77 m_accountIdHasBeenSet =
true;
78 m_accountId = std::forward<AccountIdT>(value);
80 template <
typename AccountIdT = Aws::String>
93 template <
typename UserNameT = Aws::String>
95 m_userNameHasBeenSet =
true;
96 m_userName = std::forward<UserNameT>(value);
98 template <
typename UserNameT = Aws::String>
112 bool m_typeHasBeenSet =
false;
113 bool m_principalIdHasBeenSet =
false;
114 bool m_accountIdHasBeenSet =
false;
115 bool m_userNameHasBeenSet =
false;
bool UserNameHasBeenSet() const
EventActor & WithUserName(UserNameT &&value)
bool AccountIdHasBeenSet() const
void SetType(ActorType value)
const Aws::String & GetUserName() const
void SetUserName(UserNameT &&value)
bool TypeHasBeenSet() const
AWS_RESILIENCEHUBV2_API EventActor()=default
void SetAccountId(AccountIdT &&value)
const Aws::String & GetPrincipalId() const
EventActor & WithAccountId(AccountIdT &&value)
EventActor & WithPrincipalId(PrincipalIdT &&value)
void SetPrincipalId(PrincipalIdT &&value)
EventActor & WithType(ActorType value)
bool PrincipalIdHasBeenSet() const
AWS_RESILIENCEHUBV2_API EventActor & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAccountId() const
AWS_RESILIENCEHUBV2_API EventActor(Aws::Utils::Json::JsonView jsonValue)
ActorType GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue