/** * 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 IdentityStore { namespace Model { /** */ class CreateGroupRequest : public IdentityStoreRequest { public: AWS_IDENTITYSTORE_API CreateGroupRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateGroup"; } AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override; AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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 bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } /** *

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

*/ inline CreateGroupRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} /** *

A string containing the name of the group. This value is commonly displayed * when the group is referenced. "Administrator" and "AWSAdministrators" are * reserved names and can't be used for users or groups.

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

A string containing the name of the group. This value is commonly displayed * when the group is referenced. "Administrator" and "AWSAdministrators" are * reserved names and can't be used for users or groups.

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

A string containing the name of the group. This value is commonly displayed * when the group is referenced. "Administrator" and "AWSAdministrators" are * reserved names and can't be used for users or groups.

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

A string containing the name of the group. This value is commonly displayed * when the group is referenced. "Administrator" and "AWSAdministrators" are * reserved names and can't be used for users or groups.

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

A string containing the name of the group. This value is commonly displayed * when the group is referenced. "Administrator" and "AWSAdministrators" are * reserved names and can't be used for users or groups.

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

A string containing the name of the group. This value is commonly displayed * when the group is referenced. "Administrator" and "AWSAdministrators" are * reserved names and can't be used for users or groups.

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

A string containing the name of the group. This value is commonly displayed * when the group is referenced. "Administrator" and "AWSAdministrators" are * reserved names and can't be used for users or groups.

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

A string containing the name of the group. This value is commonly displayed * when the group is referenced. "Administrator" and "AWSAdministrators" are * reserved names and can't be used for users or groups.

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

A string containing the description of the group.

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

A string containing the description of the group.

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

A string containing the description of the group.

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

A string containing the description of the group.

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

A string containing the description of the group.

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

A string containing the description of the group.

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

A string containing the description of the group.

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

A string containing the description of the group.

*/ inline CreateGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_identityStoreId; bool m_identityStoreIdHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace IdentityStore } // namespace Aws