/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Macie { namespace Model { /** */ class ListS3ResourcesRequest : public MacieRequest { public: AWS_MACIE_API ListS3ResourcesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListS3Resources"; } AWS_MACIE_API Aws::String SerializePayload() const override; AWS_MACIE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

(Discontinued) The Amazon Macie Classic member account ID whose associated S3 * resources you want to list.

*/ inline const Aws::String& GetMemberAccountId() const{ return m_memberAccountId; } /** *

(Discontinued) The Amazon Macie Classic member account ID whose associated S3 * resources you want to list.

*/ inline bool MemberAccountIdHasBeenSet() const { return m_memberAccountIdHasBeenSet; } /** *

(Discontinued) The Amazon Macie Classic member account ID whose associated S3 * resources you want to list.

*/ inline void SetMemberAccountId(const Aws::String& value) { m_memberAccountIdHasBeenSet = true; m_memberAccountId = value; } /** *

(Discontinued) The Amazon Macie Classic member account ID whose associated S3 * resources you want to list.

*/ inline void SetMemberAccountId(Aws::String&& value) { m_memberAccountIdHasBeenSet = true; m_memberAccountId = std::move(value); } /** *

(Discontinued) The Amazon Macie Classic member account ID whose associated S3 * resources you want to list.

*/ inline void SetMemberAccountId(const char* value) { m_memberAccountIdHasBeenSet = true; m_memberAccountId.assign(value); } /** *

(Discontinued) The Amazon Macie Classic member account ID whose associated S3 * resources you want to list.

*/ inline ListS3ResourcesRequest& WithMemberAccountId(const Aws::String& value) { SetMemberAccountId(value); return *this;} /** *

(Discontinued) The Amazon Macie Classic member account ID whose associated S3 * resources you want to list.

*/ inline ListS3ResourcesRequest& WithMemberAccountId(Aws::String&& value) { SetMemberAccountId(std::move(value)); return *this;} /** *

(Discontinued) The Amazon Macie Classic member account ID whose associated S3 * resources you want to list.

*/ inline ListS3ResourcesRequest& WithMemberAccountId(const char* value) { SetMemberAccountId(value); return *this;} /** *

(Discontinued) Use this parameter when paginating results. Set its value to * null on your first call to the ListS3Resources action. Subsequent * calls to the action fill nextToken in the request with the value of * nextToken from the previous response to continue listing data.

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

(Discontinued) Use this parameter when paginating results. Set its value to * null on your first call to the ListS3Resources action. Subsequent * calls to the action fill nextToken in the request with the value of * nextToken from the previous response to continue listing data.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

(Discontinued) Use this parameter when paginating results. Set its value to * null on your first call to the ListS3Resources action. Subsequent * calls to the action fill nextToken in the request with the value of * nextToken from the previous response to continue listing data.

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

(Discontinued) Use this parameter when paginating results. Set its value to * null on your first call to the ListS3Resources action. Subsequent * calls to the action fill nextToken in the request with the value of * nextToken from the previous response to continue listing data.

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

(Discontinued) Use this parameter when paginating results. Set its value to * null on your first call to the ListS3Resources action. Subsequent * calls to the action fill nextToken in the request with the value of * nextToken from the previous response to continue listing data.

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

(Discontinued) Use this parameter when paginating results. Set its value to * null on your first call to the ListS3Resources action. Subsequent * calls to the action fill nextToken in the request with the value of * nextToken from the previous response to continue listing data.

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

(Discontinued) Use this parameter when paginating results. Set its value to * null on your first call to the ListS3Resources action. Subsequent * calls to the action fill nextToken in the request with the value of * nextToken from the previous response to continue listing data.

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

(Discontinued) Use this parameter when paginating results. Set its value to * null on your first call to the ListS3Resources action. Subsequent * calls to the action fill nextToken in the request with the value of * nextToken from the previous response to continue listing data.

*/ inline ListS3ResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

(Discontinued) Use this parameter to indicate the maximum number of items * that you want in the response. The default value is 250.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

(Discontinued) Use this parameter to indicate the maximum number of items * that you want in the response. The default value is 250.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

(Discontinued) Use this parameter to indicate the maximum number of items * that you want in the response. The default value is 250.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

(Discontinued) Use this parameter to indicate the maximum number of items * that you want in the response. The default value is 250.

*/ inline ListS3ResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_memberAccountId; bool m_memberAccountIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace Macie } // namespace Aws