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

Contains the output of DescribeObjects.

See Also:

AWS * API Reference

*/ class DescribeObjectsResult { public: AWS_DATAPIPELINE_API DescribeObjectsResult(); AWS_DATAPIPELINE_API DescribeObjectsResult(const Aws::AmazonWebServiceResult& result); AWS_DATAPIPELINE_API DescribeObjectsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of object definitions.

*/ inline const Aws::Vector& GetPipelineObjects() const{ return m_pipelineObjects; } /** *

An array of object definitions.

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

An array of object definitions.

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

An array of object definitions.

*/ inline DescribeObjectsResult& WithPipelineObjects(const Aws::Vector& value) { SetPipelineObjects(value); return *this;} /** *

An array of object definitions.

*/ inline DescribeObjectsResult& WithPipelineObjects(Aws::Vector&& value) { SetPipelineObjects(std::move(value)); return *this;} /** *

An array of object definitions.

*/ inline DescribeObjectsResult& AddPipelineObjects(const PipelineObject& value) { m_pipelineObjects.push_back(value); return *this; } /** *

An array of object definitions.

*/ inline DescribeObjectsResult& AddPipelineObjects(PipelineObject&& value) { m_pipelineObjects.push_back(std::move(value)); return *this; } /** *

The starting point for the next page of results. To view the next page of * results, call DescribeObjects again with this marker value. If the * value is null, there are no more results.

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

The starting point for the next page of results. To view the next page of * results, call DescribeObjects again with this marker value. If the * value is null, there are no more results.

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

The starting point for the next page of results. To view the next page of * results, call DescribeObjects again with this marker value. If the * value is null, there are no more results.

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

The starting point for the next page of results. To view the next page of * results, call DescribeObjects again with this marker value. If the * value is null, there are no more results.

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

The starting point for the next page of results. To view the next page of * results, call DescribeObjects again with this marker value. If the * value is null, there are no more results.

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

The starting point for the next page of results. To view the next page of * results, call DescribeObjects again with this marker value. If the * value is null, there are no more results.

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

The starting point for the next page of results. To view the next page of * results, call DescribeObjects again with this marker value. If the * value is null, there are no more results.

*/ inline DescribeObjectsResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

Indicates whether there are more results to return.

*/ inline bool GetHasMoreResults() const{ return m_hasMoreResults; } /** *

Indicates whether there are more results to return.

*/ inline void SetHasMoreResults(bool value) { m_hasMoreResults = value; } /** *

Indicates whether there are more results to return.

*/ inline DescribeObjectsResult& WithHasMoreResults(bool value) { SetHasMoreResults(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 DescribeObjectsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeObjectsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeObjectsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_pipelineObjects; Aws::String m_marker; bool m_hasMoreResults; Aws::String m_requestId; }; } // namespace Model } // namespace DataPipeline } // namespace Aws