7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/AccountLinkStatusEnum.h>
49 inline void SetAccountLinkId(
const char* value) { m_accountLinkIdHasBeenSet =
true; m_accountLinkId.assign(value); }
75 inline void SetSourceAccountId(
const char* value) { m_sourceAccountIdHasBeenSet =
true; m_sourceAccountId.assign(value); }
89 inline void SetTargetAccountId(
const char* value) { m_targetAccountIdHasBeenSet =
true; m_targetAccountId.assign(value); }
97 bool m_accountLinkIdHasBeenSet =
false;
100 bool m_accountLinkStatusHasBeenSet =
false;
103 bool m_sourceAccountIdHasBeenSet =
false;
106 bool m_targetAccountIdHasBeenSet =
false;
AccountLink & WithAccountLinkId(const Aws::String &value)
void SetSourceAccountId(const Aws::String &value)
AWS_WORKSPACES_API AccountLink(Aws::Utils::Json::JsonView jsonValue)
void SetAccountLinkStatus(AccountLinkStatusEnum &&value)
const AccountLinkStatusEnum & GetAccountLinkStatus() const
AccountLink & WithTargetAccountId(const char *value)
void SetAccountLinkId(const Aws::String &value)
void SetAccountLinkId(const char *value)
bool AccountLinkIdHasBeenSet() const
void SetAccountLinkId(Aws::String &&value)
const Aws::String & GetAccountLinkId() const
bool SourceAccountIdHasBeenSet() const
bool AccountLinkStatusHasBeenSet() const
void SetSourceAccountId(Aws::String &&value)
AWS_WORKSPACES_API AccountLink()
AccountLink & WithAccountLinkId(const char *value)
AccountLink & WithTargetAccountId(Aws::String &&value)
AccountLink & WithTargetAccountId(const Aws::String &value)
void SetTargetAccountId(Aws::String &&value)
AccountLink & WithAccountLinkStatus(const AccountLinkStatusEnum &value)
AccountLink & WithAccountLinkStatus(AccountLinkStatusEnum &&value)
void SetTargetAccountId(const Aws::String &value)
void SetAccountLinkStatus(const AccountLinkStatusEnum &value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
bool TargetAccountIdHasBeenSet() const
const Aws::String & GetSourceAccountId() const
AWS_WORKSPACES_API AccountLink & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceAccountId(const char *value)
AccountLink & WithSourceAccountId(const char *value)
const Aws::String & GetTargetAccountId() const
AccountLink & WithSourceAccountId(const Aws::String &value)
AccountLink & WithSourceAccountId(Aws::String &&value)
AccountLink & WithAccountLinkId(Aws::String &&value)
void SetTargetAccountId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue