/** * 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 AppFabric { namespace Model { /** *

Contains information about an application tenant.

See Also:

* AWS * API Reference

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

The ID of the application tenant.

*/ inline const Aws::String& GetTenantIdentifier() const{ return m_tenantIdentifier; } /** *

The ID of the application tenant.

*/ inline bool TenantIdentifierHasBeenSet() const { return m_tenantIdentifierHasBeenSet; } /** *

The ID of the application tenant.

*/ inline void SetTenantIdentifier(const Aws::String& value) { m_tenantIdentifierHasBeenSet = true; m_tenantIdentifier = value; } /** *

The ID of the application tenant.

*/ inline void SetTenantIdentifier(Aws::String&& value) { m_tenantIdentifierHasBeenSet = true; m_tenantIdentifier = std::move(value); } /** *

The ID of the application tenant.

*/ inline void SetTenantIdentifier(const char* value) { m_tenantIdentifierHasBeenSet = true; m_tenantIdentifier.assign(value); } /** *

The ID of the application tenant.

*/ inline Tenant& WithTenantIdentifier(const Aws::String& value) { SetTenantIdentifier(value); return *this;} /** *

The ID of the application tenant.

*/ inline Tenant& WithTenantIdentifier(Aws::String&& value) { SetTenantIdentifier(std::move(value)); return *this;} /** *

The ID of the application tenant.

*/ inline Tenant& WithTenantIdentifier(const char* value) { SetTenantIdentifier(value); return *this;} /** *

The display name of the tenant.

*/ inline const Aws::String& GetTenantDisplayName() const{ return m_tenantDisplayName; } /** *

The display name of the tenant.

*/ inline bool TenantDisplayNameHasBeenSet() const { return m_tenantDisplayNameHasBeenSet; } /** *

The display name of the tenant.

*/ inline void SetTenantDisplayName(const Aws::String& value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName = value; } /** *

The display name of the tenant.

*/ inline void SetTenantDisplayName(Aws::String&& value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName = std::move(value); } /** *

The display name of the tenant.

*/ inline void SetTenantDisplayName(const char* value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName.assign(value); } /** *

The display name of the tenant.

*/ inline Tenant& WithTenantDisplayName(const Aws::String& value) { SetTenantDisplayName(value); return *this;} /** *

The display name of the tenant.

*/ inline Tenant& WithTenantDisplayName(Aws::String&& value) { SetTenantDisplayName(std::move(value)); return *this;} /** *

The display name of the tenant.

*/ inline Tenant& WithTenantDisplayName(const char* value) { SetTenantDisplayName(value); return *this;} private: Aws::String m_tenantIdentifier; bool m_tenantIdentifierHasBeenSet = false; Aws::String m_tenantDisplayName; bool m_tenantDisplayNameHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws