/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A collection of app instances that run the same executable app code and have
* the same launch options and commands. For more information about domains,
* see Key
* concepts: Domains in the SimSpace Weaver User Guide.See
* Also:
AWS
* API Reference
The type of lifecycle management for apps in the domain. Indicates whether * apps in this domain are managed (SimSpace Weaver starts and stops the * apps) or unmanaged (you must start and stop the apps).
Lifecycle types
PerWorker
* – Managed: SimSpace Weaver starts one app on each worker.
* BySpatialSubdivision
– Managed: SimSpace Weaver starts one app for
* each spatial partition.
ByRequest
– Unmanaged:
* You use the StartApp
API to start the apps and use the
* StopApp
API to stop the apps.
The type of lifecycle management for apps in the domain. Indicates whether * apps in this domain are managed (SimSpace Weaver starts and stops the * apps) or unmanaged (you must start and stop the apps).
Lifecycle types
PerWorker
* – Managed: SimSpace Weaver starts one app on each worker.
* BySpatialSubdivision
– Managed: SimSpace Weaver starts one app for
* each spatial partition.
ByRequest
– Unmanaged:
* You use the StartApp
API to start the apps and use the
* StopApp
API to stop the apps.
The type of lifecycle management for apps in the domain. Indicates whether * apps in this domain are managed (SimSpace Weaver starts and stops the * apps) or unmanaged (you must start and stop the apps).
Lifecycle types
PerWorker
* – Managed: SimSpace Weaver starts one app on each worker.
* BySpatialSubdivision
– Managed: SimSpace Weaver starts one app for
* each spatial partition.
ByRequest
– Unmanaged:
* You use the StartApp
API to start the apps and use the
* StopApp
API to stop the apps.
The type of lifecycle management for apps in the domain. Indicates whether * apps in this domain are managed (SimSpace Weaver starts and stops the * apps) or unmanaged (you must start and stop the apps).
Lifecycle types
PerWorker
* – Managed: SimSpace Weaver starts one app on each worker.
* BySpatialSubdivision
– Managed: SimSpace Weaver starts one app for
* each spatial partition.
ByRequest
– Unmanaged:
* You use the StartApp
API to start the apps and use the
* StopApp
API to stop the apps.
The type of lifecycle management for apps in the domain. Indicates whether * apps in this domain are managed (SimSpace Weaver starts and stops the * apps) or unmanaged (you must start and stop the apps).
Lifecycle types
PerWorker
* – Managed: SimSpace Weaver starts one app on each worker.
* BySpatialSubdivision
– Managed: SimSpace Weaver starts one app for
* each spatial partition.
ByRequest
– Unmanaged:
* You use the StartApp
API to start the apps and use the
* StopApp
API to stop the apps.
The type of lifecycle management for apps in the domain. Indicates whether * apps in this domain are managed (SimSpace Weaver starts and stops the * apps) or unmanaged (you must start and stop the apps).
Lifecycle types
PerWorker
* – Managed: SimSpace Weaver starts one app on each worker.
* BySpatialSubdivision
– Managed: SimSpace Weaver starts one app for
* each spatial partition.
ByRequest
– Unmanaged:
* You use the StartApp
API to start the apps and use the
* StopApp
API to stop the apps.
The name of the domain.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the domain.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the domain.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the domain.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the domain.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the domain.
*/ inline Domain& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the domain.
*/ inline Domain& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the domain.
*/ inline Domain& WithName(const char* value) { SetName(value); return *this;} private: LifecycleManagementStrategy m_lifecycle; bool m_lifecycleHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace SimSpaceWeaver } // namespace Aws