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

An array of objects, one for each of 1-100 S3 objects that Amazon Macie * selected for analysis.

If Macie has analyzed more than 100 objects in the * bucket, Macie populates the array based on the value for the * ResourceProfileArtifact.sensitive field for an object: true (sensitive), * followed by false (not sensitive). Macie then populates any remaining items in * the array with information about objects where the value for the * ResourceProfileArtifact.classificationResultStatus field is SKIPPED.

*/ inline const Aws::Vector& GetArtifacts() const{ return m_artifacts; } /** *

An array of objects, one for each of 1-100 S3 objects that Amazon Macie * selected for analysis.

If Macie has analyzed more than 100 objects in the * bucket, Macie populates the array based on the value for the * ResourceProfileArtifact.sensitive field for an object: true (sensitive), * followed by false (not sensitive). Macie then populates any remaining items in * the array with information about objects where the value for the * ResourceProfileArtifact.classificationResultStatus field is SKIPPED.

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

An array of objects, one for each of 1-100 S3 objects that Amazon Macie * selected for analysis.

If Macie has analyzed more than 100 objects in the * bucket, Macie populates the array based on the value for the * ResourceProfileArtifact.sensitive field for an object: true (sensitive), * followed by false (not sensitive). Macie then populates any remaining items in * the array with information about objects where the value for the * ResourceProfileArtifact.classificationResultStatus field is SKIPPED.

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

An array of objects, one for each of 1-100 S3 objects that Amazon Macie * selected for analysis.

If Macie has analyzed more than 100 objects in the * bucket, Macie populates the array based on the value for the * ResourceProfileArtifact.sensitive field for an object: true (sensitive), * followed by false (not sensitive). Macie then populates any remaining items in * the array with information about objects where the value for the * ResourceProfileArtifact.classificationResultStatus field is SKIPPED.

*/ inline ListResourceProfileArtifactsResult& WithArtifacts(const Aws::Vector& value) { SetArtifacts(value); return *this;} /** *

An array of objects, one for each of 1-100 S3 objects that Amazon Macie * selected for analysis.

If Macie has analyzed more than 100 objects in the * bucket, Macie populates the array based on the value for the * ResourceProfileArtifact.sensitive field for an object: true (sensitive), * followed by false (not sensitive). Macie then populates any remaining items in * the array with information about objects where the value for the * ResourceProfileArtifact.classificationResultStatus field is SKIPPED.

*/ inline ListResourceProfileArtifactsResult& WithArtifacts(Aws::Vector&& value) { SetArtifacts(std::move(value)); return *this;} /** *

An array of objects, one for each of 1-100 S3 objects that Amazon Macie * selected for analysis.

If Macie has analyzed more than 100 objects in the * bucket, Macie populates the array based on the value for the * ResourceProfileArtifact.sensitive field for an object: true (sensitive), * followed by false (not sensitive). Macie then populates any remaining items in * the array with information about objects where the value for the * ResourceProfileArtifact.classificationResultStatus field is SKIPPED.

*/ inline ListResourceProfileArtifactsResult& AddArtifacts(const ResourceProfileArtifact& value) { m_artifacts.push_back(value); return *this; } /** *

An array of objects, one for each of 1-100 S3 objects that Amazon Macie * selected for analysis.

If Macie has analyzed more than 100 objects in the * bucket, Macie populates the array based on the value for the * ResourceProfileArtifact.sensitive field for an object: true (sensitive), * followed by false (not sensitive). Macie then populates any remaining items in * the array with information about objects where the value for the * ResourceProfileArtifact.classificationResultStatus field is SKIPPED.

*/ inline ListResourceProfileArtifactsResult& AddArtifacts(ResourceProfileArtifact&& value) { m_artifacts.push_back(std::move(value)); return *this; } /** *

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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