/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a summary of an app authorization.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the app authorization.
*/ inline const Aws::String& GetAppAuthorizationArn() const{ return m_appAuthorizationArn; } /** *The Amazon Resource Name (ARN) of the app authorization.
*/ inline bool AppAuthorizationArnHasBeenSet() const { return m_appAuthorizationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the app authorization.
*/ inline void SetAppAuthorizationArn(const Aws::String& value) { m_appAuthorizationArnHasBeenSet = true; m_appAuthorizationArn = value; } /** *The Amazon Resource Name (ARN) of the app authorization.
*/ inline void SetAppAuthorizationArn(Aws::String&& value) { m_appAuthorizationArnHasBeenSet = true; m_appAuthorizationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the app authorization.
*/ inline void SetAppAuthorizationArn(const char* value) { m_appAuthorizationArnHasBeenSet = true; m_appAuthorizationArn.assign(value); } /** *The Amazon Resource Name (ARN) of the app authorization.
*/ inline AppAuthorizationSummary& WithAppAuthorizationArn(const Aws::String& value) { SetAppAuthorizationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the app authorization.
*/ inline AppAuthorizationSummary& WithAppAuthorizationArn(Aws::String&& value) { SetAppAuthorizationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the app authorization.
*/ inline AppAuthorizationSummary& WithAppAuthorizationArn(const char* value) { SetAppAuthorizationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the app bundle for the app * authorization.
*/ inline const Aws::String& GetAppBundleArn() const{ return m_appBundleArn; } /** *The Amazon Resource Name (ARN) of the app bundle for the app * authorization.
*/ inline bool AppBundleArnHasBeenSet() const { return m_appBundleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the app bundle for the app * authorization.
*/ inline void SetAppBundleArn(const Aws::String& value) { m_appBundleArnHasBeenSet = true; m_appBundleArn = value; } /** *The Amazon Resource Name (ARN) of the app bundle for the app * authorization.
*/ inline void SetAppBundleArn(Aws::String&& value) { m_appBundleArnHasBeenSet = true; m_appBundleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the app bundle for the app * authorization.
*/ inline void SetAppBundleArn(const char* value) { m_appBundleArnHasBeenSet = true; m_appBundleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the app bundle for the app * authorization.
*/ inline AppAuthorizationSummary& WithAppBundleArn(const Aws::String& value) { SetAppBundleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the app bundle for the app * authorization.
*/ inline AppAuthorizationSummary& WithAppBundleArn(Aws::String&& value) { SetAppBundleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the app bundle for the app * authorization.
*/ inline AppAuthorizationSummary& WithAppBundleArn(const char* value) { SetAppBundleArn(value); return *this;} /** *The name of the application.
*/ inline const Aws::String& GetApp() const{ return m_app; } /** *The name of the application.
*/ inline bool AppHasBeenSet() const { return m_appHasBeenSet; } /** *The name of the application.
*/ inline void SetApp(const Aws::String& value) { m_appHasBeenSet = true; m_app = value; } /** *The name of the application.
*/ inline void SetApp(Aws::String&& value) { m_appHasBeenSet = true; m_app = std::move(value); } /** *The name of the application.
*/ inline void SetApp(const char* value) { m_appHasBeenSet = true; m_app.assign(value); } /** *The name of the application.
*/ inline AppAuthorizationSummary& WithApp(const Aws::String& value) { SetApp(value); return *this;} /** *The name of the application.
*/ inline AppAuthorizationSummary& WithApp(Aws::String&& value) { SetApp(std::move(value)); return *this;} /** *The name of the application.
*/ inline AppAuthorizationSummary& WithApp(const char* value) { SetApp(value); return *this;} /** *Contains information about an application tenant, such as the application * display name and identifier.
*/ inline const Tenant& GetTenant() const{ return m_tenant; } /** *Contains information about an application tenant, such as the application * display name and identifier.
*/ inline bool TenantHasBeenSet() const { return m_tenantHasBeenSet; } /** *Contains information about an application tenant, such as the application * display name and identifier.
*/ inline void SetTenant(const Tenant& value) { m_tenantHasBeenSet = true; m_tenant = value; } /** *Contains information about an application tenant, such as the application * display name and identifier.
*/ inline void SetTenant(Tenant&& value) { m_tenantHasBeenSet = true; m_tenant = std::move(value); } /** *Contains information about an application tenant, such as the application * display name and identifier.
*/ inline AppAuthorizationSummary& WithTenant(const Tenant& value) { SetTenant(value); return *this;} /** *Contains information about an application tenant, such as the application * display name and identifier.
*/ inline AppAuthorizationSummary& WithTenant(Tenant&& value) { SetTenant(std::move(value)); return *this;} /** *The state of the app authorization.
The following states are * possible:
PendingConnect
: The initial state of
* the app authorization. The app authorization is created but not yet
* connected.
Connected
: The app authorization is
* connected to the application, and is ready to be used.
* ConnectionValidationFailed
: The app authorization received a
* validation exception when trying to connect to the application. If the app
* authorization is in this state, you should verify the configured credentials and
* try to connect the app authorization again.
* TokenAutoRotationFailed
: AppFabric failed to refresh the access
* token. If the app authorization is in this state, you should try to reconnect
* the app authorization.
The state of the app authorization.
The following states are * possible:
PendingConnect
: The initial state of
* the app authorization. The app authorization is created but not yet
* connected.
Connected
: The app authorization is
* connected to the application, and is ready to be used.
* ConnectionValidationFailed
: The app authorization received a
* validation exception when trying to connect to the application. If the app
* authorization is in this state, you should verify the configured credentials and
* try to connect the app authorization again.
* TokenAutoRotationFailed
: AppFabric failed to refresh the access
* token. If the app authorization is in this state, you should try to reconnect
* the app authorization.
The state of the app authorization.
The following states are * possible:
PendingConnect
: The initial state of
* the app authorization. The app authorization is created but not yet
* connected.
Connected
: The app authorization is
* connected to the application, and is ready to be used.
* ConnectionValidationFailed
: The app authorization received a
* validation exception when trying to connect to the application. If the app
* authorization is in this state, you should verify the configured credentials and
* try to connect the app authorization again.
* TokenAutoRotationFailed
: AppFabric failed to refresh the access
* token. If the app authorization is in this state, you should try to reconnect
* the app authorization.
The state of the app authorization.
The following states are * possible:
PendingConnect
: The initial state of
* the app authorization. The app authorization is created but not yet
* connected.
Connected
: The app authorization is
* connected to the application, and is ready to be used.
* ConnectionValidationFailed
: The app authorization received a
* validation exception when trying to connect to the application. If the app
* authorization is in this state, you should verify the configured credentials and
* try to connect the app authorization again.
* TokenAutoRotationFailed
: AppFabric failed to refresh the access
* token. If the app authorization is in this state, you should try to reconnect
* the app authorization.
The state of the app authorization.
The following states are * possible:
PendingConnect
: The initial state of
* the app authorization. The app authorization is created but not yet
* connected.
Connected
: The app authorization is
* connected to the application, and is ready to be used.
* ConnectionValidationFailed
: The app authorization received a
* validation exception when trying to connect to the application. If the app
* authorization is in this state, you should verify the configured credentials and
* try to connect the app authorization again.
* TokenAutoRotationFailed
: AppFabric failed to refresh the access
* token. If the app authorization is in this state, you should try to reconnect
* the app authorization.
The state of the app authorization.
The following states are * possible:
PendingConnect
: The initial state of
* the app authorization. The app authorization is created but not yet
* connected.
Connected
: The app authorization is
* connected to the application, and is ready to be used.
* ConnectionValidationFailed
: The app authorization received a
* validation exception when trying to connect to the application. If the app
* authorization is in this state, you should verify the configured credentials and
* try to connect the app authorization again.
* TokenAutoRotationFailed
: AppFabric failed to refresh the access
* token. If the app authorization is in this state, you should try to reconnect
* the app authorization.
Timestamp for when the app authorization was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *Timestamp for when the app authorization was last updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *Timestamp for when the app authorization was last updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *Timestamp for when the app authorization was last updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *Timestamp for when the app authorization was last updated.
*/ inline AppAuthorizationSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *Timestamp for when the app authorization was last updated.
*/ inline AppAuthorizationSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_appAuthorizationArn; bool m_appAuthorizationArnHasBeenSet = false; Aws::String m_appBundleArn; bool m_appBundleArnHasBeenSet = false; Aws::String m_app; bool m_appHasBeenSet = false; Tenant m_tenant; bool m_tenantHasBeenSet = false; AppAuthorizationStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws