/** * 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 WorkMail { namespace Model { /** */ class DescribeGroupRequest : public WorkMailRequest { public: AWS_WORKMAIL_API DescribeGroupRequest(); // 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 "DescribeGroup"; } AWS_WORKMAIL_API Aws::String SerializePayload() const override; AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The identifier for the organization under which the group exists.

*/ inline const Aws::String& GetOrganizationId() const{ return m_organizationId; } /** *

The identifier for the organization under which the group exists.

*/ inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; } /** *

The identifier for the organization under which the group exists.

*/ inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; } /** *

The identifier for the organization under which the group exists.

*/ inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); } /** *

The identifier for the organization under which the group exists.

*/ inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); } /** *

The identifier for the organization under which the group exists.

*/ inline DescribeGroupRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;} /** *

The identifier for the organization under which the group exists.

*/ inline DescribeGroupRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;} /** *

The identifier for the organization under which the group exists.

*/ inline DescribeGroupRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;} /** *

The identifier for the group to be described.

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

The identifier for the group to be described.

*/ inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; } /** *

The identifier for the group to be described.

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

The identifier for the group to be described.

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

The identifier for the group to be described.

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

The identifier for the group to be described.

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

The identifier for the group to be described.

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

The identifier for the group to be described.

*/ inline DescribeGroupRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;} private: Aws::String m_organizationId; bool m_organizationIdHasBeenSet = false; Aws::String m_groupId; bool m_groupIdHasBeenSet = false; }; } // namespace Model } // namespace WorkMail } // namespace Aws