7#include <aws/sso/SSO_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename RoleNameT = Aws::String>
48 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
49 template<
typename RoleNameT = Aws::String>
59 template<
typename AccountIdT = Aws::String>
60 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
61 template<
typename AccountIdT = Aws::String>
67 bool m_roleNameHasBeenSet =
false;
70 bool m_accountIdHasBeenSet =
false;
RoleInfo & WithAccountId(AccountIdT &&value)
const Aws::String & GetRoleName() const
bool RoleNameHasBeenSet() const
const Aws::String & GetAccountId() const
AWS_SSO_API RoleInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_SSO_API RoleInfo()=default
void SetAccountId(AccountIdT &&value)
AWS_SSO_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRoleName(RoleNameT &&value)
AWS_SSO_API RoleInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
RoleInfo & WithRoleName(RoleNameT &&value)
bool AccountIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue