7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/RoleType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
37 AWS_AUDITMANAGER_API
Role() =
default;
64 template<
typename RoleArnT = Aws::String>
65 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
66 template<
typename RoleArnT = Aws::String>
72 bool m_roleTypeHasBeenSet =
false;
75 bool m_roleArnHasBeenSet =
false;
RoleType GetRoleType() const
const Aws::String & GetRoleArn() const
AWS_AUDITMANAGER_API Role & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RoleTypeHasBeenSet() const
AWS_AUDITMANAGER_API Role()=default
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool RoleArnHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
AWS_AUDITMANAGER_API Role(Aws::Utils::Json::JsonView jsonValue)
Role & WithRoleType(RoleType value)
void SetRoleType(RoleType value)
Role & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue