/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KafkaConnect { namespace Model { /** *

Details about a custom plugin file.

See Also:

AWS * API Reference

*/ class CustomPluginFileDescription { public: AWS_KAFKACONNECT_API CustomPluginFileDescription(); AWS_KAFKACONNECT_API CustomPluginFileDescription(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKACONNECT_API CustomPluginFileDescription& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The hex-encoded MD5 checksum of the custom plugin file. You can use it to * validate the file.

*/ inline const Aws::String& GetFileMd5() const{ return m_fileMd5; } /** *

The hex-encoded MD5 checksum of the custom plugin file. You can use it to * validate the file.

*/ inline bool FileMd5HasBeenSet() const { return m_fileMd5HasBeenSet; } /** *

The hex-encoded MD5 checksum of the custom plugin file. You can use it to * validate the file.

*/ inline void SetFileMd5(const Aws::String& value) { m_fileMd5HasBeenSet = true; m_fileMd5 = value; } /** *

The hex-encoded MD5 checksum of the custom plugin file. You can use it to * validate the file.

*/ inline void SetFileMd5(Aws::String&& value) { m_fileMd5HasBeenSet = true; m_fileMd5 = std::move(value); } /** *

The hex-encoded MD5 checksum of the custom plugin file. You can use it to * validate the file.

*/ inline void SetFileMd5(const char* value) { m_fileMd5HasBeenSet = true; m_fileMd5.assign(value); } /** *

The hex-encoded MD5 checksum of the custom plugin file. You can use it to * validate the file.

*/ inline CustomPluginFileDescription& WithFileMd5(const Aws::String& value) { SetFileMd5(value); return *this;} /** *

The hex-encoded MD5 checksum of the custom plugin file. You can use it to * validate the file.

*/ inline CustomPluginFileDescription& WithFileMd5(Aws::String&& value) { SetFileMd5(std::move(value)); return *this;} /** *

The hex-encoded MD5 checksum of the custom plugin file. You can use it to * validate the file.

*/ inline CustomPluginFileDescription& WithFileMd5(const char* value) { SetFileMd5(value); return *this;} /** *

The size in bytes of the custom plugin file. You can use it to validate the * file.

*/ inline long long GetFileSize() const{ return m_fileSize; } /** *

The size in bytes of the custom plugin file. You can use it to validate the * file.

*/ inline bool FileSizeHasBeenSet() const { return m_fileSizeHasBeenSet; } /** *

The size in bytes of the custom plugin file. You can use it to validate the * file.

*/ inline void SetFileSize(long long value) { m_fileSizeHasBeenSet = true; m_fileSize = value; } /** *

The size in bytes of the custom plugin file. You can use it to validate the * file.

*/ inline CustomPluginFileDescription& WithFileSize(long long value) { SetFileSize(value); return *this;} private: Aws::String m_fileMd5; bool m_fileMd5HasBeenSet = false; long long m_fileSize; bool m_fileSizeHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws