/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An attribute associated with an entitlement. Application entitlements work by
* matching a supported SAML 2.0 attribute name to a value when a user identity
* federates to an Amazon AppStream 2.0 SAML application.See Also:
* AWS
* API Reference
A supported AWS IAM SAML PrincipalTag
attribute that is matched
* to the associated value when a user identity federates into an Amazon AppStream
* 2.0 SAML application.
The following are valid values:
roles
department
organization
groups
title
costCenter
userType
*/ inline const Aws::String& GetName() const{ return m_name; } /** *
A supported AWS IAM SAML PrincipalTag
attribute that is matched
* to the associated value when a user identity federates into an Amazon AppStream
* 2.0 SAML application.
The following are valid values:
roles
department
organization
groups
title
costCenter
userType
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *
A supported AWS IAM SAML PrincipalTag
attribute that is matched
* to the associated value when a user identity federates into an Amazon AppStream
* 2.0 SAML application.
The following are valid values:
roles
department
organization
groups
title
costCenter
userType
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *
A supported AWS IAM SAML PrincipalTag
attribute that is matched
* to the associated value when a user identity federates into an Amazon AppStream
* 2.0 SAML application.
The following are valid values:
roles
department
organization
groups
title
costCenter
userType
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *
A supported AWS IAM SAML PrincipalTag
attribute that is matched
* to the associated value when a user identity federates into an Amazon AppStream
* 2.0 SAML application.
The following are valid values:
roles
department
organization
groups
title
costCenter
userType
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *
A supported AWS IAM SAML PrincipalTag
attribute that is matched
* to the associated value when a user identity federates into an Amazon AppStream
* 2.0 SAML application.
The following are valid values:
roles
department
organization
groups
title
costCenter
userType
*/ inline EntitlementAttribute& WithName(const Aws::String& value) { SetName(value); return *this;} /** *
A supported AWS IAM SAML PrincipalTag
attribute that is matched
* to the associated value when a user identity federates into an Amazon AppStream
* 2.0 SAML application.
The following are valid values:
roles
department
organization
groups
title
costCenter
userType
*/ inline EntitlementAttribute& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *
A supported AWS IAM SAML PrincipalTag
attribute that is matched
* to the associated value when a user identity federates into an Amazon AppStream
* 2.0 SAML application.
The following are valid values:
roles
department
organization
groups
title
costCenter
userType
*/ inline EntitlementAttribute& WithName(const char* value) { SetName(value); return *this;} /** *
A value that is matched to a supported SAML attribute name when a user * identity federates into an Amazon AppStream 2.0 SAML application.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *A value that is matched to a supported SAML attribute name when a user * identity federates into an Amazon AppStream 2.0 SAML application.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *A value that is matched to a supported SAML attribute name when a user * identity federates into an Amazon AppStream 2.0 SAML application.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *A value that is matched to a supported SAML attribute name when a user * identity federates into an Amazon AppStream 2.0 SAML application.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *A value that is matched to a supported SAML attribute name when a user * identity federates into an Amazon AppStream 2.0 SAML application.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *A value that is matched to a supported SAML attribute name when a user * identity federates into an Amazon AppStream 2.0 SAML application.
*/ inline EntitlementAttribute& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *A value that is matched to a supported SAML attribute name when a user * identity federates into an Amazon AppStream 2.0 SAML application.
*/ inline EntitlementAttribute& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *A value that is matched to a supported SAML attribute name when a user * identity federates into an Amazon AppStream 2.0 SAML application.
*/ inline EntitlementAttribute& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws