/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KafkaConnect { namespace Model { /** *

A summary of the custom plugin.

See Also:

AWS * API Reference

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

The time that the custom plugin was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time that the custom plugin was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time that the custom plugin was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The time that the custom plugin was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The time that the custom plugin was created.

*/ inline CustomPluginSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time that the custom plugin was created.

*/ inline CustomPluginSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

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 CustomPluginSummary& WithCustomPluginArn(const Aws::String& value) { SetCustomPluginArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the custom plugin.

*/ inline CustomPluginSummary& WithCustomPluginArn(Aws::String&& value) { SetCustomPluginArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the custom plugin.

*/ inline CustomPluginSummary& WithCustomPluginArn(const char* value) { SetCustomPluginArn(value); return *this;} /** *

The state of the custom plugin.

*/ inline const CustomPluginState& GetCustomPluginState() const{ return m_customPluginState; } /** *

The state of the custom plugin.

*/ inline bool CustomPluginStateHasBeenSet() const { return m_customPluginStateHasBeenSet; } /** *

The state of the custom plugin.

*/ inline void SetCustomPluginState(const CustomPluginState& value) { m_customPluginStateHasBeenSet = true; m_customPluginState = value; } /** *

The state of the custom plugin.

*/ inline void SetCustomPluginState(CustomPluginState&& value) { m_customPluginStateHasBeenSet = true; m_customPluginState = std::move(value); } /** *

The state of the custom plugin.

*/ inline CustomPluginSummary& WithCustomPluginState(const CustomPluginState& value) { SetCustomPluginState(value); return *this;} /** *

The state of the custom plugin.

*/ inline CustomPluginSummary& WithCustomPluginState(CustomPluginState&& value) { SetCustomPluginState(std::move(value)); return *this;} /** *

A description of the custom plugin.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the custom plugin.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the custom plugin.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the custom plugin.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the custom plugin.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the custom plugin.

*/ inline CustomPluginSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the custom plugin.

*/ inline CustomPluginSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the custom plugin.

*/ inline CustomPluginSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The latest revision of the custom plugin.

*/ inline const CustomPluginRevisionSummary& GetLatestRevision() const{ return m_latestRevision; } /** *

The latest revision of the custom plugin.

*/ inline bool LatestRevisionHasBeenSet() const { return m_latestRevisionHasBeenSet; } /** *

The latest revision of the custom plugin.

*/ inline void SetLatestRevision(const CustomPluginRevisionSummary& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = value; } /** *

The latest revision of the custom plugin.

*/ inline void SetLatestRevision(CustomPluginRevisionSummary&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::move(value); } /** *

The latest revision of the custom plugin.

*/ inline CustomPluginSummary& WithLatestRevision(const CustomPluginRevisionSummary& value) { SetLatestRevision(value); return *this;} /** *

The latest revision of the custom plugin.

*/ inline CustomPluginSummary& WithLatestRevision(CustomPluginRevisionSummary&& value) { SetLatestRevision(std::move(value)); return *this;} /** *

The name of the custom plugin.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the custom plugin.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the custom plugin.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the custom plugin.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the custom plugin.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the custom plugin.

*/ inline CustomPluginSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the custom plugin.

*/ inline CustomPluginSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the custom plugin.

*/ inline CustomPluginSummary& WithName(const char* value) { SetName(value); return *this;} private: Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_customPluginArn; bool m_customPluginArnHasBeenSet = false; CustomPluginState m_customPluginState; bool m_customPluginStateHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; CustomPluginRevisionSummary m_latestRevision; bool m_latestRevisionHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws