7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/LinkedAccountDeveloperJwt.h>
9#include <aws/bedrock-agentcore/model/LinkedAccountEmail.h>
10#include <aws/bedrock-agentcore/model/LinkedAccountOAuth2.h>
11#include <aws/bedrock-agentcore/model/LinkedAccountSms.h>
22namespace BedrockAgentCore {
45 template <
typename EmailT = LinkedAccountEmail>
47 m_emailHasBeenSet =
true;
48 m_email = std::forward<EmailT>(value);
50 template <
typename EmailT = LinkedAccountEmail>
52 SetEmail(std::forward<EmailT>(value));
63 template <
typename SmsT = LinkedAccountSms>
65 m_smsHasBeenSet =
true;
66 m_sms = std::forward<SmsT>(value);
68 template <
typename SmsT = LinkedAccountSms>
70 SetSms(std::forward<SmsT>(value));
81 template <
typename DeveloperJwtT = LinkedAccountDeveloperJwt>
83 m_developerJwtHasBeenSet =
true;
84 m_developerJwt = std::forward<DeveloperJwtT>(value);
86 template <
typename DeveloperJwtT = LinkedAccountDeveloperJwt>
99 template <
typename OAuth2T = LinkedAccountOAuth2>
101 m_oAuth2HasBeenSet =
true;
102 m_oAuth2 = std::forward<OAuth2T>(value);
104 template <
typename OAuth2T = LinkedAccountOAuth2>
118 bool m_emailHasBeenSet =
false;
119 bool m_smsHasBeenSet =
false;
120 bool m_developerJwtHasBeenSet =
false;
121 bool m_oAuth2HasBeenSet =
false;
void SetEmail(EmailT &&value)
LinkedAccount & WithEmail(EmailT &&value)
void SetSms(SmsT &&value)
bool SmsHasBeenSet() const
bool EmailHasBeenSet() const
AWS_BEDROCKAGENTCORE_API LinkedAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOAuth2(OAuth2T &&value)
void SetDeveloperJwt(DeveloperJwtT &&value)
const LinkedAccountDeveloperJwt & GetDeveloperJwt() const
LinkedAccount & WithSms(SmsT &&value)
LinkedAccount & WithOAuth2(OAuth2T &&value)
LinkedAccount & WithDeveloperJwt(DeveloperJwtT &&value)
const LinkedAccountOAuth2 & GetOAuth2() const
bool DeveloperJwtHasBeenSet() const
AWS_BEDROCKAGENTCORE_API LinkedAccount()=default
bool OAuth2HasBeenSet() const
const LinkedAccountSms & GetSms() const
AWS_BEDROCKAGENTCORE_API LinkedAccount(Aws::Utils::Json::JsonView jsonValue)
const LinkedAccountEmail & GetEmail() const
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue