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

The list of activities for the specified user and time period.

*/ inline const Aws::Vector& GetUserActivities() const{ return m_userActivities; } /** *

The list of activities for the specified user and time period.

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

The list of activities for the specified user and time period.

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

The list of activities for the specified user and time period.

*/ inline DescribeActivitiesResult& WithUserActivities(const Aws::Vector& value) { SetUserActivities(value); return *this;} /** *

The list of activities for the specified user and time period.

*/ inline DescribeActivitiesResult& WithUserActivities(Aws::Vector&& value) { SetUserActivities(std::move(value)); return *this;} /** *

The list of activities for the specified user and time period.

*/ inline DescribeActivitiesResult& AddUserActivities(const Activity& value) { m_userActivities.push_back(value); return *this; } /** *

The list of activities for the specified user and time period.

*/ inline DescribeActivitiesResult& AddUserActivities(Activity&& value) { m_userActivities.push_back(std::move(value)); return *this; } /** *

The marker for the next set of results.

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

The marker for the next set of results.

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

The marker for the next set of results.

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

The marker for the next set of results.

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

The marker for the next set of results.

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

The marker for the next set of results.

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

The marker for the next set of results.

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