/** * 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 { /** *

Information about the location of a custom plugin.

See Also:

* AWS * API Reference

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

The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * plugin file stored in Amazon S3.

*/ inline const S3LocationDescription& GetS3Location() const{ return m_s3Location; } /** *

The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * plugin file stored in Amazon S3.

*/ inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; } /** *

The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * plugin file stored in Amazon S3.

*/ inline void SetS3Location(const S3LocationDescription& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; } /** *

The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * plugin file stored in Amazon S3.

*/ inline void SetS3Location(S3LocationDescription&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); } /** *

The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * plugin file stored in Amazon S3.

*/ inline CustomPluginLocationDescription& WithS3Location(const S3LocationDescription& value) { SetS3Location(value); return *this;} /** *

The S3 bucket Amazon Resource Name (ARN), file key, and object version of the * plugin file stored in Amazon S3.

*/ inline CustomPluginLocationDescription& WithS3Location(S3LocationDescription&& value) { SetS3Location(std::move(value)); return *this;} private: S3LocationDescription m_s3Location; bool m_s3LocationHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws