7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
42 template <
typename ArnT = Aws::String>
44 m_arnHasBeenSet =
true;
45 m_arn = std::forward<ArnT>(value);
47 template <
typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
60 template <
typename PrincipalIdT = Aws::String>
62 m_principalIdHasBeenSet =
true;
63 m_principalId = std::forward<PrincipalIdT>(value);
65 template <
typename PrincipalIdT = Aws::String>
78 template <
typename SourceIdentityT = Aws::String>
80 m_sourceIdentityHasBeenSet =
true;
81 m_sourceIdentity = std::forward<SourceIdentityT>(value);
83 template <
typename SourceIdentityT = Aws::String>
95 bool m_arnHasBeenSet =
false;
96 bool m_principalIdHasBeenSet =
false;
97 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