/** * 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 Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Amplify { namespace Model { /** *

Describes the backend environment for an Amplify app.

See * Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) for a backend environment that is part of an * Amplify app.

*/ inline const Aws::String& GetBackendEnvironmentArn() const{ return m_backendEnvironmentArn; } /** *

The Amazon Resource Name (ARN) for a backend environment that is part of an * Amplify app.

*/ inline bool BackendEnvironmentArnHasBeenSet() const { return m_backendEnvironmentArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for a backend environment that is part of an * Amplify app.

*/ inline void SetBackendEnvironmentArn(const Aws::String& value) { m_backendEnvironmentArnHasBeenSet = true; m_backendEnvironmentArn = value; } /** *

The Amazon Resource Name (ARN) for a backend environment that is part of an * Amplify app.

*/ inline void SetBackendEnvironmentArn(Aws::String&& value) { m_backendEnvironmentArnHasBeenSet = true; m_backendEnvironmentArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for a backend environment that is part of an * Amplify app.

*/ inline void SetBackendEnvironmentArn(const char* value) { m_backendEnvironmentArnHasBeenSet = true; m_backendEnvironmentArn.assign(value); } /** *

The Amazon Resource Name (ARN) for a backend environment that is part of an * Amplify app.

*/ inline BackendEnvironment& WithBackendEnvironmentArn(const Aws::String& value) { SetBackendEnvironmentArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for a backend environment that is part of an * Amplify app.

*/ inline BackendEnvironment& WithBackendEnvironmentArn(Aws::String&& value) { SetBackendEnvironmentArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for a backend environment that is part of an * Amplify app.

*/ inline BackendEnvironment& WithBackendEnvironmentArn(const char* value) { SetBackendEnvironmentArn(value); return *this;} /** *

The name for a backend environment that is part of an Amplify app.

*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *

The name for a backend environment that is part of an Amplify app.

*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *

The name for a backend environment that is part of an Amplify app.

*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *

The name for a backend environment that is part of an Amplify app.

*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *

The name for a backend environment that is part of an Amplify app.

*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *

The name for a backend environment that is part of an Amplify app.

*/ inline BackendEnvironment& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *

The name for a backend environment that is part of an Amplify app.

*/ inline BackendEnvironment& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *

The name for a backend environment that is part of an Amplify app.

*/ inline BackendEnvironment& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *

The AWS CloudFormation stack name of a backend environment.

*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *

The AWS CloudFormation stack name of a backend environment.

*/ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } /** *

The AWS CloudFormation stack name of a backend environment.

*/ inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; } /** *

The AWS CloudFormation stack name of a backend environment.

*/ inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); } /** *

The AWS CloudFormation stack name of a backend environment.

*/ inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); } /** *

The AWS CloudFormation stack name of a backend environment.

*/ inline BackendEnvironment& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *

The AWS CloudFormation stack name of a backend environment.

*/ inline BackendEnvironment& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *

The AWS CloudFormation stack name of a backend environment.

*/ inline BackendEnvironment& WithStackName(const char* value) { SetStackName(value); return *this;} /** *

The name of deployment artifacts.

*/ inline const Aws::String& GetDeploymentArtifacts() const{ return m_deploymentArtifacts; } /** *

The name of deployment artifacts.

*/ inline bool DeploymentArtifactsHasBeenSet() const { return m_deploymentArtifactsHasBeenSet; } /** *

The name of deployment artifacts.

*/ inline void SetDeploymentArtifacts(const Aws::String& value) { m_deploymentArtifactsHasBeenSet = true; m_deploymentArtifacts = value; } /** *

The name of deployment artifacts.

*/ inline void SetDeploymentArtifacts(Aws::String&& value) { m_deploymentArtifactsHasBeenSet = true; m_deploymentArtifacts = std::move(value); } /** *

The name of deployment artifacts.

*/ inline void SetDeploymentArtifacts(const char* value) { m_deploymentArtifactsHasBeenSet = true; m_deploymentArtifacts.assign(value); } /** *

The name of deployment artifacts.

*/ inline BackendEnvironment& WithDeploymentArtifacts(const Aws::String& value) { SetDeploymentArtifacts(value); return *this;} /** *

The name of deployment artifacts.

*/ inline BackendEnvironment& WithDeploymentArtifacts(Aws::String&& value) { SetDeploymentArtifacts(std::move(value)); return *this;} /** *

The name of deployment artifacts.

*/ inline BackendEnvironment& WithDeploymentArtifacts(const char* value) { SetDeploymentArtifacts(value); return *this;} /** *

The creation date and time for a backend environment that is part of an * Amplify app.

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

The creation date and time for a backend environment that is part of an * Amplify app.

*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *

The creation date and time for a backend environment that is part of an * Amplify app.

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *

The creation date and time for a backend environment that is part of an * Amplify app.

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *

The creation date and time for a backend environment that is part of an * Amplify app.

*/ inline BackendEnvironment& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

The creation date and time for a backend environment that is part of an * Amplify app.

*/ inline BackendEnvironment& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

The last updated date and time for a backend environment that is part of an * Amplify app.

*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *

The last updated date and time for a backend environment that is part of an * Amplify app.

*/ inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } /** *

The last updated date and time for a backend environment that is part of an * Amplify app.

*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } /** *

The last updated date and time for a backend environment that is part of an * Amplify app.

*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } /** *

The last updated date and time for a backend environment that is part of an * Amplify app.

*/ inline BackendEnvironment& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

The last updated date and time for a backend environment that is part of an * Amplify app.

*/ inline BackendEnvironment& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} private: Aws::String m_backendEnvironmentArn; bool m_backendEnvironmentArnHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; Aws::String m_stackName; bool m_stackNameHasBeenSet = false; Aws::String m_deploymentArtifacts; bool m_deploymentArtifactsHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; }; } // namespace Model } // namespace Amplify } // namespace Aws