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

A summary of the basic information about the code generation * job.

See Also:

AWS * API Reference

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

The unique ID of the Amplify app associated with the code generation job.

*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *

The unique ID of the Amplify app associated with the code generation job.

*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *

The unique ID of the Amplify app associated with the code generation job.

*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *

The unique ID of the Amplify app associated with the code generation job.

*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *

The unique ID of the Amplify app associated with the code generation job.

*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *

The unique ID of the Amplify app associated with the code generation job.

*/ inline CodegenJobSummary& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *

The unique ID of the Amplify app associated with the code generation job.

*/ inline CodegenJobSummary& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *

The unique ID of the Amplify app associated with the code generation job.

*/ inline CodegenJobSummary& WithAppId(const char* value) { SetAppId(value); return *this;} /** *

The name of the backend environment associated with the code generation * job.

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

The name of the backend environment associated with the code generation * job.

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

The name of the backend environment associated with the code generation * job.

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

The name of the backend environment associated with the code generation * job.

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

The name of the backend environment associated with the code generation * job.

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

The name of the backend environment associated with the code generation * job.

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

The name of the backend environment associated with the code generation * job.

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

The name of the backend environment associated with the code generation * job.

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

The unique ID for the code generation job summary.

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

The unique ID for the code generation job summary.

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

The unique ID for the code generation job summary.

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

The unique ID for the code generation job summary.

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

The unique ID for the code generation job summary.

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

The unique ID for the code generation job summary.

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

The unique ID for the code generation job summary.

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

The unique ID for the code generation job summary.

*/ inline CodegenJobSummary& WithId(const char* value) { SetId(value); return *this;} /** *

The time that the code generation job summary was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The time that the code generation job summary was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The time that the code generation job summary was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The time that the code generation job summary was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The time that the code generation job summary was created.

*/ inline CodegenJobSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The time that the code generation job summary was created.

*/ inline CodegenJobSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The time that the code generation job summary was modified.

*/ inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; } /** *

The time that the code generation job summary was modified.

*/ inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; } /** *

The time that the code generation job summary was modified.

*/ inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; } /** *

The time that the code generation job summary was modified.

*/ inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); } /** *

The time that the code generation job summary was modified.

*/ inline CodegenJobSummary& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;} /** *

The time that the code generation job summary was modified.

*/ inline CodegenJobSummary& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_modifiedAt; bool m_modifiedAtHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws