7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
50 template<
typename ArnT = Aws::String>
60 template<
typename PrincipalIdT = Aws::String>
61 void SetPrincipalId(PrincipalIdT&& value) { m_principalIdHasBeenSet =
true; m_principalId = std::forward<PrincipalIdT>(value); }
62 template<
typename PrincipalIdT = Aws::String>
72 template<
typename SourceIdentityT = Aws::String>
73 void SetSourceIdentity(SourceIdentityT&& value) { m_sourceIdentityHasBeenSet =
true; m_sourceIdentity = std::forward<SourceIdentityT>(value); }
74 template<
typename SourceIdentityT = Aws::String>
80 bool m_arnHasBeenSet =
false;
83 bool m_principalIdHasBeenSet =
false;
86 bool m_sourceIdentityHasBeenSet =
false;
bool ArnHasBeenSet() const
AWS_SAGEMAKER_API IamIdentity(Aws::Utils::Json::JsonView jsonValue)
IamIdentity & WithPrincipalId(PrincipalIdT &&value)
const Aws::String & GetSourceIdentity() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
IamIdentity & WithSourceIdentity(SourceIdentityT &&value)
const Aws::String & GetPrincipalId() const
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
AWS_SAGEMAKER_API IamIdentity()=default
bool SourceIdentityHasBeenSet() const
bool PrincipalIdHasBeenSet() const
void SetSourceIdentity(SourceIdentityT &&value)
IamIdentity & WithArn(ArnT &&value)
AWS_SAGEMAKER_API IamIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrincipalId(PrincipalIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue