/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Macie { namespace Model { /** */ class UpdateS3ResourcesRequest : public MacieRequest { public: AWS_MACIE_API UpdateS3ResourcesRequest(); // 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 "UpdateS3Resources"; } AWS_MACIE_API Aws::String SerializePayload() const override; AWS_MACIE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account whose S3 resources' classification types you want to update.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account whose S3 resources' classification types you want to update.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account whose S3 resources' classification types you want to update.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account whose S3 resources' classification types you want to update.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account whose S3 resources' classification types you want to update.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account whose S3 resources' classification types you want to update.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account whose S3 resources' classification types you want to update.

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

(Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic * member account whose S3 resources' classification types you want to update.

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

(Discontinued) The S3 resources whose classification types you want to * update.

*/ inline const Aws::Vector& GetS3ResourcesUpdate() const{ return m_s3ResourcesUpdate; } /** *

(Discontinued) The S3 resources whose classification types you want to * update.

*/ inline bool S3ResourcesUpdateHasBeenSet() const { return m_s3ResourcesUpdateHasBeenSet; } /** *

(Discontinued) The S3 resources whose classification types you want to * update.

*/ inline void SetS3ResourcesUpdate(const Aws::Vector& value) { m_s3ResourcesUpdateHasBeenSet = true; m_s3ResourcesUpdate = value; } /** *

(Discontinued) The S3 resources whose classification types you want to * update.

*/ inline void SetS3ResourcesUpdate(Aws::Vector&& value) { m_s3ResourcesUpdateHasBeenSet = true; m_s3ResourcesUpdate = std::move(value); } /** *

(Discontinued) The S3 resources whose classification types you want to * update.

*/ inline UpdateS3ResourcesRequest& WithS3ResourcesUpdate(const Aws::Vector& value) { SetS3ResourcesUpdate(value); return *this;} /** *

(Discontinued) The S3 resources whose classification types you want to * update.

*/ inline UpdateS3ResourcesRequest& WithS3ResourcesUpdate(Aws::Vector&& value) { SetS3ResourcesUpdate(std::move(value)); return *this;} /** *

(Discontinued) The S3 resources whose classification types you want to * update.

*/ inline UpdateS3ResourcesRequest& AddS3ResourcesUpdate(const S3ResourceClassificationUpdate& value) { m_s3ResourcesUpdateHasBeenSet = true; m_s3ResourcesUpdate.push_back(value); return *this; } /** *

(Discontinued) The S3 resources whose classification types you want to * update.

*/ inline UpdateS3ResourcesRequest& AddS3ResourcesUpdate(S3ResourceClassificationUpdate&& value) { m_s3ResourcesUpdateHasBeenSet = true; m_s3ResourcesUpdate.push_back(std::move(value)); return *this; } private: Aws::String m_memberAccountId; bool m_memberAccountIdHasBeenSet = false; Aws::Vector m_s3ResourcesUpdate; bool m_s3ResourcesUpdateHasBeenSet = false; }; } // namespace Model } // namespace Macie } // namespace Aws