/** * 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 Http { class URI; } //namespace Http namespace AuditManager { namespace Model { /** */ class GetEvidenceFileUploadUrlRequest : public AuditManagerRequest { public: AWS_AUDITMANAGER_API GetEvidenceFileUploadUrlRequest(); // 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 "GetEvidenceFileUploadUrl"; } AWS_AUDITMANAGER_API Aws::String SerializePayload() const override; AWS_AUDITMANAGER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The file that you want to upload. For a list of supported file formats, see * Supported * file types for manual evidence in the Audit Manager User Guide.

*/ inline const Aws::String& GetFileName() const{ return m_fileName; } /** *

The file that you want to upload. For a list of supported file formats, see * Supported * file types for manual evidence in the Audit Manager User Guide.

*/ inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; } /** *

The file that you want to upload. For a list of supported file formats, see * Supported * file types for manual evidence in the Audit Manager User Guide.

*/ inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; } /** *

The file that you want to upload. For a list of supported file formats, see * Supported * file types for manual evidence in the Audit Manager User Guide.

*/ inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); } /** *

The file that you want to upload. For a list of supported file formats, see * Supported * file types for manual evidence in the Audit Manager User Guide.

*/ inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); } /** *

The file that you want to upload. For a list of supported file formats, see * Supported * file types for manual evidence in the Audit Manager User Guide.

*/ inline GetEvidenceFileUploadUrlRequest& WithFileName(const Aws::String& value) { SetFileName(value); return *this;} /** *

The file that you want to upload. For a list of supported file formats, see * Supported * file types for manual evidence in the Audit Manager User Guide.

*/ inline GetEvidenceFileUploadUrlRequest& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;} /** *

The file that you want to upload. For a list of supported file formats, see * Supported * file types for manual evidence in the Audit Manager User Guide.

*/ inline GetEvidenceFileUploadUrlRequest& WithFileName(const char* value) { SetFileName(value); return *this;} private: Aws::String m_fileName; bool m_fileNameHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws