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

Summary of a Amazon Web Services Service Catalog AppRegistry attribute * group.

See Also:

AWS * API Reference

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

The globally unique attribute group identifier of the attribute group.

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

The globally unique attribute group identifier of the attribute group.

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

The globally unique attribute group identifier of the attribute group.

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

The globally unique attribute group identifier of the attribute group.

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

The globally unique attribute group identifier of the attribute group.

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

The globally unique attribute group identifier of the attribute group.

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

The globally unique attribute group identifier of the attribute group.

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

The globally unique attribute group identifier of the attribute group.

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

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline AttributeGroupSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline AttributeGroupSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon resource name (ARN) that specifies the attribute group across * services.

*/ inline AttributeGroupSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

The name of the attribute group.

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

The name of the attribute group.

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

The name of the attribute group.

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

The name of the attribute group.

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

The name of the attribute group.

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

The name of the attribute group.

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

The name of the attribute group.

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

The name of the attribute group.

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

The description of the attribute group that the user provides.

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

The description of the attribute group that the user provides.

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

The description of the attribute group that the user provides.

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

The description of the attribute group that the user provides.

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

The description of the attribute group that the user provides.

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

The description of the attribute group that the user provides.

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

The description of the attribute group that the user provides.

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

The description of the attribute group that the user provides.

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

The ISO-8601 formatted timestamp of the moment the attribute group was * created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was * created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was * created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was * created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was * created.

*/ inline AttributeGroupSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The ISO-8601 formatted timestamp of the moment the attribute group was * created.

*/ inline AttributeGroupSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The ISO-8601 formatted timestamp of the moment the attribute group was last * updated. This time is the same as the creationTime for a newly created attribute * group.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was last * updated. This time is the same as the creationTime for a newly created attribute * group.

*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was last * updated. This time is the same as the creationTime for a newly created attribute * group.

*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was last * updated. This time is the same as the creationTime for a newly created attribute * group.

*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *

The ISO-8601 formatted timestamp of the moment the attribute group was last * updated. This time is the same as the creationTime for a newly created attribute * group.

*/ inline AttributeGroupSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

The ISO-8601 formatted timestamp of the moment the attribute group was last * updated. This time is the same as the creationTime for a newly created attribute * group.

*/ inline AttributeGroupSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *

The service principal that created the attribute group.

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

The service principal that created the attribute group.

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

The service principal that created the attribute group.

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

The service principal that created the attribute group.

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

The service principal that created the attribute group.

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

The service principal that created the attribute group.

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

The service principal that created the attribute group.

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

The service principal that created the attribute group.

*/ inline AttributeGroupSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; }; } // namespace Model } // namespace AppRegistry } // namespace Aws