7#include <aws/account-access-runtime/AccountAccessRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AccountAccessRuntime {
42 template <
typename AccountIdT = Aws::String>
44 m_accountIdHasBeenSet =
true;
45 m_accountId = std::forward<AccountIdT>(value);
47 template <
typename AccountIdT = Aws::String>
61 template <
typename AccountNameT = Aws::String>
63 m_accountNameHasBeenSet =
true;
64 m_accountName = std::forward<AccountNameT>(value);
66 template <
typename AccountNameT = Aws::String>
79 template <
typename RoleArnT = Aws::String>
81 m_roleArnHasBeenSet =
true;
82 m_roleArn = std::forward<RoleArnT>(value);
84 template <
typename RoleArnT = Aws::String>
96 bool m_accountIdHasBeenSet =
false;
97 bool m_accountNameHasBeenSet =
false;
98 bool m_roleArnHasBeenSet =
false;
bool AccountIdHasBeenSet() const
AccessDetails & WithRoleArn(RoleArnT &&value)
void SetAccountName(AccountNameT &&value)
void SetAccountId(AccountIdT &&value)
AWS_ACCOUNTACCESSRUNTIME_API AccessDetails(Aws::Utils::Json::JsonView jsonValue)
bool AccountNameHasBeenSet() const
AWS_ACCOUNTACCESSRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAccountName() const
const Aws::String & GetAccountId() const
AccessDetails & WithAccountId(AccountIdT &&value)
AWS_ACCOUNTACCESSRUNTIME_API AccessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRoleArn() const
AccessDetails & WithAccountName(AccountNameT &&value)
AWS_ACCOUNTACCESSRUNTIME_API AccessDetails()=default
bool RoleArnHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue