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

The Amazon Resource Name (ARN) that Amazon assigned to the custom plugin.

*/ inline const Aws::String& GetCustomPluginArn() const{ return m_customPluginArn; } /** *

The Amazon Resource Name (ARN) that Amazon assigned to the custom plugin.

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

The Amazon Resource Name (ARN) that Amazon assigned to the custom plugin.

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

The Amazon Resource Name (ARN) that Amazon assigned to the custom plugin.

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

The Amazon Resource Name (ARN) that Amazon assigned to the custom plugin.

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

The Amazon Resource Name (ARN) that Amazon assigned to the custom plugin.

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

The Amazon Resource Name (ARN) that Amazon assigned to the custom plugin.

*/ inline CreateCustomPluginResult& 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 CreateCustomPluginResult& WithCustomPluginState(const CustomPluginState& value) { SetCustomPluginState(value); return *this;} /** *

The state of the custom plugin.

*/ inline CreateCustomPluginResult& WithCustomPluginState(CustomPluginState&& value) { SetCustomPluginState(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 CreateCustomPluginResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the custom plugin.

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

The name of the custom plugin.

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

The revision of the custom plugin.

*/ inline long long GetRevision() const{ return m_revision; } /** *

The revision of the custom plugin.

*/ inline void SetRevision(long long value) { m_revision = value; } /** *

The revision of the custom plugin.

*/ inline CreateCustomPluginResult& WithRevision(long long value) { SetRevision(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 CreateCustomPluginResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateCustomPluginResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateCustomPluginResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_customPluginArn; CustomPluginState m_customPluginState; Aws::String m_name; long long m_revision; Aws::String m_requestId; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws