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

(Discontinued) A list of the associated S3 resources returned by the * action.

*/ inline const Aws::Vector& GetS3Resources() const{ return m_s3Resources; } /** *

(Discontinued) A list of the associated S3 resources returned by the * action.

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

(Discontinued) A list of the associated S3 resources returned by the * action.

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

(Discontinued) A list of the associated S3 resources returned by the * action.

*/ inline ListS3ResourcesResult& WithS3Resources(const Aws::Vector& value) { SetS3Resources(value); return *this;} /** *

(Discontinued) A list of the associated S3 resources returned by the * action.

*/ inline ListS3ResourcesResult& WithS3Resources(Aws::Vector&& value) { SetS3Resources(std::move(value)); return *this;} /** *

(Discontinued) A list of the associated S3 resources returned by the * action.

*/ inline ListS3ResourcesResult& AddS3Resources(const S3ResourceClassification& value) { m_s3Resources.push_back(value); return *this; } /** *

(Discontinued) A list of the associated S3 resources returned by the * action.

*/ inline ListS3ResourcesResult& AddS3Resources(S3ResourceClassification&& value) { m_s3Resources.push_back(std::move(value)); return *this; } /** *

(Discontinued) When a response is generated, if there is more data to be * listed, this parameter is present in the response and contains the value to use * for the nextToken parameter in a subsequent pagination request. If * there is no more data to be listed, this parameter is set to null.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

(Discontinued) When a response is generated, if there is more data to be * listed, this parameter is present in the response and contains the value to use * for the nextToken parameter in a subsequent pagination request. If * there is no more data to be listed, this parameter is set to null.

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

(Discontinued) When a response is generated, if there is more data to be * listed, this parameter is present in the response and contains the value to use * for the nextToken parameter in a subsequent pagination request. If * there is no more data to be listed, this parameter is set to null.

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

(Discontinued) When a response is generated, if there is more data to be * listed, this parameter is present in the response and contains the value to use * for the nextToken parameter in a subsequent pagination request. If * there is no more data to be listed, this parameter is set to null.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

(Discontinued) When a response is generated, if there is more data to be * listed, this parameter is present in the response and contains the value to use * for the nextToken parameter in a subsequent pagination request. If * there is no more data to be listed, this parameter is set to null.

*/ inline ListS3ResourcesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

(Discontinued) When a response is generated, if there is more data to be * listed, this parameter is present in the response and contains the value to use * for the nextToken parameter in a subsequent pagination request. If * there is no more data to be listed, this parameter is set to null.

*/ inline ListS3ResourcesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

(Discontinued) When a response is generated, if there is more data to be * listed, this parameter is present in the response and contains the value to use * for the nextToken parameter in a subsequent pagination request. If * there is no more data to be listed, this parameter is set to null.

*/ inline ListS3ResourcesResult& WithNextToken(const char* value) { SetNextToken(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 ListS3ResourcesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListS3ResourcesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListS3ResourcesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_s3Resources; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Macie } // namespace Aws