/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace NimbleStudio { namespace Model { /** *

The studio component's summary.

See Also:

AWS * API Reference

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

The ISO timestamp in seconds for when the resource was created.

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

The ISO timestamp in seconds for when the resource was created.

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

The ISO timestamp in seconds for when the resource was created.

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

The ISO timestamp in seconds for when the resource was created.

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

The ISO timestamp in seconds for when the resource was created.

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

The ISO timestamp in seconds for when the resource was created.

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

The user ID of the user that created the studio component.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The user ID of the user that created the studio component.

*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *

The user ID of the user that created the studio component.

*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *

The user ID of the user that created the studio component.

*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *

The user ID of the user that created the studio component.

*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *

The user ID of the user that created the studio component.

*/ inline StudioComponentSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The user ID of the user that created the studio component.

*/ inline StudioComponentSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The user ID of the user that created the studio component.

*/ inline StudioComponentSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *

The description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description.

*/ inline StudioComponentSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description.

*/ inline StudioComponentSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description.

*/ inline StudioComponentSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The name for the studio component.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name for the studio component.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name for the studio component.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name for the studio component.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name for the studio component.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name for the studio component.

*/ inline StudioComponentSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name for the studio component.

*/ inline StudioComponentSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name for the studio component.

*/ inline StudioComponentSummary& WithName(const char* value) { SetName(value); return *this;} /** *

The unique identifier for a studio component resource.

*/ inline const Aws::String& GetStudioComponentId() const{ return m_studioComponentId; } /** *

The unique identifier for a studio component resource.

*/ inline bool StudioComponentIdHasBeenSet() const { return m_studioComponentIdHasBeenSet; } /** *

The unique identifier for a studio component resource.

*/ inline void SetStudioComponentId(const Aws::String& value) { m_studioComponentIdHasBeenSet = true; m_studioComponentId = value; } /** *

The unique identifier for a studio component resource.

*/ inline void SetStudioComponentId(Aws::String&& value) { m_studioComponentIdHasBeenSet = true; m_studioComponentId = std::move(value); } /** *

The unique identifier for a studio component resource.

*/ inline void SetStudioComponentId(const char* value) { m_studioComponentIdHasBeenSet = true; m_studioComponentId.assign(value); } /** *

The unique identifier for a studio component resource.

*/ inline StudioComponentSummary& WithStudioComponentId(const Aws::String& value) { SetStudioComponentId(value); return *this;} /** *

The unique identifier for a studio component resource.

*/ inline StudioComponentSummary& WithStudioComponentId(Aws::String&& value) { SetStudioComponentId(std::move(value)); return *this;} /** *

The unique identifier for a studio component resource.

*/ inline StudioComponentSummary& WithStudioComponentId(const char* value) { SetStudioComponentId(value); return *this;} /** *

The specific subtype of a studio component.

*/ inline const StudioComponentSubtype& GetSubtype() const{ return m_subtype; } /** *

The specific subtype of a studio component.

*/ inline bool SubtypeHasBeenSet() const { return m_subtypeHasBeenSet; } /** *

The specific subtype of a studio component.

*/ inline void SetSubtype(const StudioComponentSubtype& value) { m_subtypeHasBeenSet = true; m_subtype = value; } /** *

The specific subtype of a studio component.

*/ inline void SetSubtype(StudioComponentSubtype&& value) { m_subtypeHasBeenSet = true; m_subtype = std::move(value); } /** *

The specific subtype of a studio component.

*/ inline StudioComponentSummary& WithSubtype(const StudioComponentSubtype& value) { SetSubtype(value); return *this;} /** *

The specific subtype of a studio component.

*/ inline StudioComponentSummary& WithSubtype(StudioComponentSubtype&& value) { SetSubtype(std::move(value)); return *this;} /** *

The type of the studio component.

*/ inline const StudioComponentType& GetType() const{ return m_type; } /** *

The type of the studio component.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of the studio component.

*/ inline void SetType(const StudioComponentType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of the studio component.

*/ inline void SetType(StudioComponentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of the studio component.

*/ inline StudioComponentSummary& WithType(const StudioComponentType& value) { SetType(value); return *this;} /** *

The type of the studio component.

*/ inline StudioComponentSummary& WithType(StudioComponentType&& value) { SetType(std::move(value)); return *this;} /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline StudioComponentSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline StudioComponentSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *

The user ID of the user that most recently updated the resource.

*/ inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } /** *

The user ID of the user that most recently updated the resource.

*/ inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } /** *

The user ID of the user that most recently updated the resource.

*/ inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } /** *

The user ID of the user that most recently updated the resource.

*/ inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } /** *

The user ID of the user that most recently updated the resource.

*/ inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } /** *

The user ID of the user that most recently updated the resource.

*/ inline StudioComponentSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} /** *

The user ID of the user that most recently updated the resource.

*/ inline StudioComponentSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} /** *

The user ID of the user that most recently updated the resource.

*/ inline StudioComponentSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} private: Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_studioComponentId; bool m_studioComponentIdHasBeenSet = false; StudioComponentSubtype m_subtype; bool m_subtypeHasBeenSet = false; StudioComponentType m_type; bool m_typeHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; Aws::String m_updatedBy; bool m_updatedByHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws