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

The details related to a specific AttributeGroup.

See Also:

* AWS * API Reference

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

The unique identifier of the attribute group.

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

The unique identifier of the attribute group.

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

The unique identifier of the attribute group.

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

The unique identifier of the attribute group.

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

The unique identifier of the attribute group.

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

The unique identifier of the attribute group.

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

The unique identifier of the attribute group.

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

The unique identifier of the attribute group.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline AttributeGroupDetails& WithArn(const char* value) { SetArn(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 AttributeGroupDetails& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The service principal that created the attribute group.

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

The service principal that created the attribute group.

*/ inline AttributeGroupDetails& 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_createdBy; bool m_createdByHasBeenSet = false; }; } // namespace Model } // namespace AppRegistry } // namespace Aws