7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/AccountLinkStatusEnum.h>
47 template<
typename AccountLinkIdT = Aws::String>
48 void SetAccountLinkId(AccountLinkIdT&& value) { m_accountLinkIdHasBeenSet =
true; m_accountLinkId = std::forward<AccountLinkIdT>(value); }
49 template<
typename AccountLinkIdT = Aws::String>
69 template<
typename SourceAccountIdT = Aws::String>
70 void SetSourceAccountId(SourceAccountIdT&& value) { m_sourceAccountIdHasBeenSet =
true; m_sourceAccountId = std::forward<SourceAccountIdT>(value); }
71 template<
typename SourceAccountIdT = Aws::String>
81 template<
typename TargetAccountIdT = Aws::String>
82 void SetTargetAccountId(TargetAccountIdT&& value) { m_targetAccountIdHasBeenSet =
true; m_targetAccountId = std::forward<TargetAccountIdT>(value); }
83 template<
typename TargetAccountIdT = Aws::String>
89 bool m_accountLinkIdHasBeenSet =
false;
92 bool m_accountLinkStatusHasBeenSet =
false;
95 bool m_sourceAccountIdHasBeenSet =
false;
98 bool m_targetAccountIdHasBeenSet =
false;
AccountLinkStatusEnum GetAccountLinkStatus() const
AWS_WORKSPACES_API AccountLink(Aws::Utils::Json::JsonView jsonValue)
AccountLink & WithSourceAccountId(SourceAccountIdT &&value)
AccountLink & WithTargetAccountId(TargetAccountIdT &&value)
AccountLink & WithAccountLinkStatus(AccountLinkStatusEnum value)
AWS_WORKSPACES_API AccountLink()=default
bool AccountLinkIdHasBeenSet() const
const Aws::String & GetAccountLinkId() const
bool SourceAccountIdHasBeenSet() const
bool AccountLinkStatusHasBeenSet() const
void SetAccountLinkId(AccountLinkIdT &&value)
void SetSourceAccountId(SourceAccountIdT &&value)
void SetTargetAccountId(TargetAccountIdT &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountLinkStatus(AccountLinkStatusEnum value)
bool TargetAccountIdHasBeenSet() const
const Aws::String & GetSourceAccountId() const
AccountLink & WithAccountLinkId(AccountLinkIdT &&value)
AWS_WORKSPACES_API AccountLink & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue