/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A plugin is an AWS resource that contains the code that defines a connector's
* logic.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the custom plugin.
*/ inline const Aws::String& GetCustomPluginArn() const{ return m_customPluginArn; } /** *The Amazon Resource Name (ARN) of the custom plugin.
*/ inline bool CustomPluginArnHasBeenSet() const { return m_customPluginArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the custom plugin.
*/ inline void SetCustomPluginArn(const Aws::String& value) { m_customPluginArnHasBeenSet = true; m_customPluginArn = value; } /** *The Amazon Resource Name (ARN) of the custom plugin.
*/ inline void SetCustomPluginArn(Aws::String&& value) { m_customPluginArnHasBeenSet = true; m_customPluginArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the custom plugin.
*/ inline void SetCustomPluginArn(const char* value) { m_customPluginArnHasBeenSet = true; m_customPluginArn.assign(value); } /** *The Amazon Resource Name (ARN) of the custom plugin.
*/ inline CustomPlugin& WithCustomPluginArn(const Aws::String& value) { SetCustomPluginArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the custom plugin.
*/ inline CustomPlugin& WithCustomPluginArn(Aws::String&& value) { SetCustomPluginArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the custom plugin.
*/ inline CustomPlugin& WithCustomPluginArn(const char* value) { SetCustomPluginArn(value); return *this;} /** *The revision of the custom plugin.
*/ inline long long GetRevision() const{ return m_revision; } /** *The revision of the custom plugin.
*/ inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } /** *The revision of the custom plugin.
*/ inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; } /** *The revision of the custom plugin.
*/ inline CustomPlugin& WithRevision(long long value) { SetRevision(value); return *this;} private: Aws::String m_customPluginArn; bool m_customPluginArnHasBeenSet = false; long long m_revision; bool m_revisionHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws