/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

Describes the IAM SAML identity providers used for federated * authentication.

See Also:

AWS * API Reference

*/ class FederatedAuthentication { public: AWS_EC2_API FederatedAuthentication(); AWS_EC2_API FederatedAuthentication(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API FederatedAuthentication& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider.

*/ inline const Aws::String& GetSamlProviderArn() const{ return m_samlProviderArn; } /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider.

*/ inline bool SamlProviderArnHasBeenSet() const { return m_samlProviderArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider.

*/ inline void SetSamlProviderArn(const Aws::String& value) { m_samlProviderArnHasBeenSet = true; m_samlProviderArn = value; } /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider.

*/ inline void SetSamlProviderArn(Aws::String&& value) { m_samlProviderArnHasBeenSet = true; m_samlProviderArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider.

*/ inline void SetSamlProviderArn(const char* value) { m_samlProviderArnHasBeenSet = true; m_samlProviderArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider.

*/ inline FederatedAuthentication& WithSamlProviderArn(const Aws::String& value) { SetSamlProviderArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider.

*/ inline FederatedAuthentication& WithSamlProviderArn(Aws::String&& value) { SetSamlProviderArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider.

*/ inline FederatedAuthentication& WithSamlProviderArn(const char* value) { SetSamlProviderArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider for the * self-service portal.

*/ inline const Aws::String& GetSelfServiceSamlProviderArn() const{ return m_selfServiceSamlProviderArn; } /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider for the * self-service portal.

*/ inline bool SelfServiceSamlProviderArnHasBeenSet() const { return m_selfServiceSamlProviderArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider for the * self-service portal.

*/ inline void SetSelfServiceSamlProviderArn(const Aws::String& value) { m_selfServiceSamlProviderArnHasBeenSet = true; m_selfServiceSamlProviderArn = value; } /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider for the * self-service portal.

*/ inline void SetSelfServiceSamlProviderArn(Aws::String&& value) { m_selfServiceSamlProviderArnHasBeenSet = true; m_selfServiceSamlProviderArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider for the * self-service portal.

*/ inline void SetSelfServiceSamlProviderArn(const char* value) { m_selfServiceSamlProviderArnHasBeenSet = true; m_selfServiceSamlProviderArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider for the * self-service portal.

*/ inline FederatedAuthentication& WithSelfServiceSamlProviderArn(const Aws::String& value) { SetSelfServiceSamlProviderArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider for the * self-service portal.

*/ inline FederatedAuthentication& WithSelfServiceSamlProviderArn(Aws::String&& value) { SetSelfServiceSamlProviderArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM SAML identity provider for the * self-service portal.

*/ inline FederatedAuthentication& WithSelfServiceSamlProviderArn(const char* value) { SetSelfServiceSamlProviderArn(value); return *this;} private: Aws::String m_samlProviderArn; bool m_samlProviderArnHasBeenSet = false; Aws::String m_selfServiceSamlProviderArn; bool m_selfServiceSamlProviderArnHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws