/** * 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 WorkDocs { namespace Model { class DescribeGroupsResult { public: AWS_WORKDOCS_API DescribeGroupsResult(); AWS_WORKDOCS_API DescribeGroupsResult(const Aws::AmazonWebServiceResult& result); AWS_WORKDOCS_API DescribeGroupsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of groups.

*/ inline const Aws::Vector& GetGroups() const{ return m_groups; } /** *

The list of groups.

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

The list of groups.

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

The list of groups.

*/ inline DescribeGroupsResult& WithGroups(const Aws::Vector& value) { SetGroups(value); return *this;} /** *

The list of groups.

*/ inline DescribeGroupsResult& WithGroups(Aws::Vector&& value) { SetGroups(std::move(value)); return *this;} /** *

The list of groups.

*/ inline DescribeGroupsResult& AddGroups(const GroupMetadata& value) { m_groups.push_back(value); return *this; } /** *

The list of groups.

*/ inline DescribeGroupsResult& AddGroups(GroupMetadata&& value) { m_groups.push_back(std::move(value)); return *this; } /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

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

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

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

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline DescribeGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline DescribeGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline DescribeGroupsResult& WithMarker(const char* value) { SetMarker(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 DescribeGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_groups; Aws::String m_marker; Aws::String m_requestId; }; } // namespace Model } // namespace WorkDocs } // namespace Aws