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

Summary information for groups.

See Also:

AWS * API Reference

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

The identifier of the group you want group summary information on.

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

The identifier of the group you want group summary information on.

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

The identifier of the group you want group summary information on.

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

The identifier of the group you want group summary information on.

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

The identifier of the group you want group summary information on.

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

The identifier of the group you want group summary information on.

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

The identifier of the group you want group summary information on.

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

The identifier of the group you want group summary information on.

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

The timestamp identifier used for the latest PUT or * DELETE action.

*/ inline long long GetOrderingId() const{ return m_orderingId; } /** *

The timestamp identifier used for the latest PUT or * DELETE action.

*/ inline bool OrderingIdHasBeenSet() const { return m_orderingIdHasBeenSet; } /** *

The timestamp identifier used for the latest PUT or * DELETE action.

*/ inline void SetOrderingId(long long value) { m_orderingIdHasBeenSet = true; m_orderingId = value; } /** *

The timestamp identifier used for the latest PUT or * DELETE action.

*/ inline GroupSummary& WithOrderingId(long long value) { SetOrderingId(value); return *this;} private: Aws::String m_groupId; bool m_groupIdHasBeenSet = false; long long m_orderingId; bool m_orderingIdHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws