7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
10#include <aws/workspaces/model/AccountLinkStatusEnum.h>
31 AWS_WORKSPACES_API
AccountLink(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename AccountLinkIdT = Aws::String>
43 m_accountLinkIdHasBeenSet =
true;
44 m_accountLinkId = std::forward<AccountLinkIdT>(value);
46 template <
typename AccountLinkIdT = Aws::String>
60 m_accountLinkStatusHasBeenSet =
true;
61 m_accountLinkStatus = value;
75 template <
typename SourceAccountIdT = Aws::String>
77 m_sourceAccountIdHasBeenSet =
true;
78 m_sourceAccountId = std::forward<SourceAccountIdT>(value);
80 template <
typename SourceAccountIdT = Aws::String>
93 template <
typename TargetAccountIdT = Aws::String>
95 m_targetAccountIdHasBeenSet =
true;
96 m_targetAccountId = std::forward<TargetAccountIdT>(value);
98 template <
typename TargetAccountIdT = Aws::String>
112 bool m_accountLinkIdHasBeenSet =
false;
113 bool m_accountLinkStatusHasBeenSet =
false;
114 bool m_sourceAccountIdHasBeenSet =
false;
115 bool m_targetAccountIdHasBeenSet =
false;
AccountLinkStatusEnum GetAccountLinkStatus() const
AccountLink & WithSourceAccountId(SourceAccountIdT &&value)
AWS_WORKSPACES_API AccountLink(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AccountLink & WithTargetAccountId(TargetAccountIdT &&value)
AccountLink & WithAccountLinkStatus(AccountLinkStatusEnum value)
AWS_WORKSPACES_API AccountLink & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
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 void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetAccountLinkStatus(AccountLinkStatusEnum value)
bool TargetAccountIdHasBeenSet() const
const Aws::String & GetSourceAccountId() const
AccountLink & WithAccountLinkId(AccountLinkIdT &&value)
const Aws::String & GetTargetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String