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

The identifier issued to this resource by an external identity * provider.

See Also:

AWS * API Reference

*/ class ExternalId { public: AWS_IDENTITYSTORE_API ExternalId(); AWS_IDENTITYSTORE_API ExternalId(Aws::Utils::Json::JsonView jsonValue); AWS_IDENTITYSTORE_API ExternalId& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The issuer for an external identifier.

*/ inline const Aws::String& GetIssuer() const{ return m_issuer; } /** *

The issuer for an external identifier.

*/ inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; } /** *

The issuer for an external identifier.

*/ inline void SetIssuer(const Aws::String& value) { m_issuerHasBeenSet = true; m_issuer = value; } /** *

The issuer for an external identifier.

*/ inline void SetIssuer(Aws::String&& value) { m_issuerHasBeenSet = true; m_issuer = std::move(value); } /** *

The issuer for an external identifier.

*/ inline void SetIssuer(const char* value) { m_issuerHasBeenSet = true; m_issuer.assign(value); } /** *

The issuer for an external identifier.

*/ inline ExternalId& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;} /** *

The issuer for an external identifier.

*/ inline ExternalId& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;} /** *

The issuer for an external identifier.

*/ inline ExternalId& WithIssuer(const char* value) { SetIssuer(value); return *this;} /** *

The identifier issued to this resource by an external identity provider.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The identifier issued to this resource by an external identity provider.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The identifier issued to this resource by an external identity provider.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The identifier issued to this resource by an external identity provider.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The identifier issued to this resource by an external identity provider.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The identifier issued to this resource by an external identity provider.

*/ inline ExternalId& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier issued to this resource by an external identity provider.

*/ inline ExternalId& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The identifier issued to this resource by an external identity provider.

*/ inline ExternalId& WithId(const char* value) { SetId(value); return *this;} private: Aws::String m_issuer; bool m_issuerHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; }; } // namespace Model } // namespace IdentityStore } // namespace Aws