/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace KafkaConnect { namespace Model { class DescribeCustomPluginResult { public: AWS_KAFKACONNECT_API DescribeCustomPluginResult(); AWS_KAFKACONNECT_API DescribeCustomPluginResult(const Aws::AmazonWebServiceResult& result); AWS_KAFKACONNECT_API DescribeCustomPluginResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The time that the custom plugin was created.

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

The time that the custom plugin was created.

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

The time that the custom plugin was created.

*/ inline DescribeCustomPluginResult& 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 void SetCustomPluginArn(const Aws::String& value) { m_customPluginArn = value; } /** *

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

*/ inline void SetCustomPluginArn(Aws::String&& value) { m_customPluginArn = std::move(value); } /** *

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

*/ inline void SetCustomPluginArn(const char* value) { m_customPluginArn.assign(value); } /** *

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

*/ inline DescribeCustomPluginResult& WithCustomPluginArn(const Aws::String& value) { SetCustomPluginArn(value); return *this;} /** *

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

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

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

*/ inline DescribeCustomPluginResult& 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 void SetCustomPluginState(const CustomPluginState& value) { m_customPluginState = value; } /** *

The state of the custom plugin.

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

The state of the custom plugin.

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

The state of the custom plugin.

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

The description of the custom plugin.

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

The description of the custom plugin.

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

The description of the custom plugin.

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

The description of the custom plugin.

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

The description of the custom plugin.

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

The description of the custom plugin.

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

The description of the custom plugin.

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

The latest successfully created revision of the custom plugin. If there are * no successfully created revisions, this field will be absent.

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

The latest successfully created revision of the custom plugin. If there are * no successfully created revisions, this field will be absent.

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

The latest successfully created revision of the custom plugin. If there are * no successfully created revisions, this field will be absent.

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

The latest successfully created revision of the custom plugin. If there are * no successfully created revisions, this field will be absent.

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

The latest successfully created revision of the custom plugin. If there are * no successfully created revisions, this field will be absent.

*/ inline DescribeCustomPluginResult& 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 void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the custom plugin.

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

The name of the custom plugin.

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

The name of the custom plugin.

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

The name of the custom plugin.

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

The name of the custom plugin.

*/ inline DescribeCustomPluginResult& WithName(const char* value) { SetName(value); return *this;} /** *

Details about the state of a custom plugin.

*/ inline const StateDescription& GetStateDescription() const{ return m_stateDescription; } /** *

Details about the state of a custom plugin.

*/ inline void SetStateDescription(const StateDescription& value) { m_stateDescription = value; } /** *

Details about the state of a custom plugin.

*/ inline void SetStateDescription(StateDescription&& value) { m_stateDescription = std::move(value); } /** *

Details about the state of a custom plugin.

*/ inline DescribeCustomPluginResult& WithStateDescription(const StateDescription& value) { SetStateDescription(value); return *this;} /** *

Details about the state of a custom plugin.

*/ inline DescribeCustomPluginResult& WithStateDescription(StateDescription&& value) { SetStateDescription(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeCustomPluginResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeCustomPluginResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeCustomPluginResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_creationTime; Aws::String m_customPluginArn; CustomPluginState m_customPluginState; Aws::String m_description; CustomPluginRevisionSummary m_latestRevision; Aws::String m_name; StateDescription m_stateDescription; Aws::String m_requestId; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws