/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IdentityStore { namespace Model { class DescribeGroupResult { public: AWS_IDENTITYSTORE_API DescribeGroupResult(); AWS_IDENTITYSTORE_API DescribeGroupResult(const Aws::AmazonWebServiceResult& result); AWS_IDENTITYSTORE_API DescribeGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier for a group in the identity store.

*/ inline const Aws::String& GetGroupId() const{ return m_groupId; } /** *

The identifier for a group in the identity store.

*/ inline void SetGroupId(const Aws::String& value) { m_groupId = value; } /** *

The identifier for a group in the identity store.

*/ inline void SetGroupId(Aws::String&& value) { m_groupId = std::move(value); } /** *

The identifier for a group in the identity store.

*/ inline void SetGroupId(const char* value) { m_groupId.assign(value); } /** *

The identifier for a group in the identity store.

*/ inline DescribeGroupResult& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;} /** *

The identifier for a group in the identity store.

*/ inline DescribeGroupResult& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;} /** *

The identifier for a group in the identity store.

*/ inline DescribeGroupResult& WithGroupId(const char* value) { SetGroupId(value); return *this;} /** *

The group’s display name value. The length limit is 1,024 characters. This * value can consist of letters, accented characters, symbols, numbers, * punctuation, tab, new line, carriage return, space, and nonbreaking space in * this attribute. This value is specified at the time that the group is created * and stored as an attribute of the group object in the identity store.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The group’s display name value. The length limit is 1,024 characters. This * value can consist of letters, accented characters, symbols, numbers, * punctuation, tab, new line, carriage return, space, and nonbreaking space in * this attribute. This value is specified at the time that the group is created * and stored as an attribute of the group object in the identity store.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } /** *

The group’s display name value. The length limit is 1,024 characters. This * value can consist of letters, accented characters, symbols, numbers, * punctuation, tab, new line, carriage return, space, and nonbreaking space in * this attribute. This value is specified at the time that the group is created * and stored as an attribute of the group object in the identity store.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } /** *

The group’s display name value. The length limit is 1,024 characters. This * value can consist of letters, accented characters, symbols, numbers, * punctuation, tab, new line, carriage return, space, and nonbreaking space in * this attribute. This value is specified at the time that the group is created * and stored as an attribute of the group object in the identity store.

*/ inline void SetDisplayName(const char* value) { m_displayName.assign(value); } /** *

The group’s display name value. The length limit is 1,024 characters. This * value can consist of letters, accented characters, symbols, numbers, * punctuation, tab, new line, carriage return, space, and nonbreaking space in * this attribute. This value is specified at the time that the group is created * and stored as an attribute of the group object in the identity store.

*/ inline DescribeGroupResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The group’s display name value. The length limit is 1,024 characters. This * value can consist of letters, accented characters, symbols, numbers, * punctuation, tab, new line, carriage return, space, and nonbreaking space in * this attribute. This value is specified at the time that the group is created * and stored as an attribute of the group object in the identity store.

*/ inline DescribeGroupResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The group’s display name value. The length limit is 1,024 characters. This * value can consist of letters, accented characters, symbols, numbers, * punctuation, tab, new line, carriage return, space, and nonbreaking space in * this attribute. This value is specified at the time that the group is created * and stored as an attribute of the group object in the identity store.

*/ inline DescribeGroupResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline const Aws::Vector& GetExternalIds() const{ return m_externalIds; } /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline void SetExternalIds(const Aws::Vector& value) { m_externalIds = value; } /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline void SetExternalIds(Aws::Vector&& value) { m_externalIds = std::move(value); } /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline DescribeGroupResult& WithExternalIds(const Aws::Vector& value) { SetExternalIds(value); return *this;} /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline DescribeGroupResult& WithExternalIds(Aws::Vector&& value) { SetExternalIds(std::move(value)); return *this;} /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline DescribeGroupResult& AddExternalIds(const ExternalId& value) { m_externalIds.push_back(value); return *this; } /** *

A list of ExternalId objects that contains the identifiers * issued to this resource by an external identity provider.

*/ inline DescribeGroupResult& AddExternalIds(ExternalId&& value) { m_externalIds.push_back(std::move(value)); return *this; } /** *

A string containing a description of the group.

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

A string containing a description of the group.

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

A string containing a description of the group.

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

A string containing a description of the group.

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

A string containing a description of the group.

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

A string containing a description of the group.

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

A string containing a description of the group.

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

The globally unique identifier for the identity store.

*/ inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } /** *

The globally unique identifier for the identity store.

*/ inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreId = value; } /** *

The globally unique identifier for the identity store.

*/ inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreId = std::move(value); } /** *

The globally unique identifier for the identity store.

*/ inline void SetIdentityStoreId(const char* value) { m_identityStoreId.assign(value); } /** *

The globally unique identifier for the identity store.

*/ inline DescribeGroupResult& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline DescribeGroupResult& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline DescribeGroupResult& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_groupId; Aws::String m_displayName; Aws::Vector m_externalIds; Aws::String m_description; Aws::String m_identityStoreId; Aws::String m_requestId; }; } // namespace Model } // namespace IdentityStore } // namespace Aws