/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration of the workers, which are the processes that run the
* connector logic.See Also:
AWS
* API Reference
The revision of the worker configuration.
*/ inline long long GetRevision() const{ return m_revision; } /** *The revision of the worker configuration.
*/ inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } /** *The revision of the worker configuration.
*/ inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; } /** *The revision of the worker configuration.
*/ inline WorkerConfiguration& WithRevision(long long value) { SetRevision(value); return *this;} /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline const Aws::String& GetWorkerConfigurationArn() const{ return m_workerConfigurationArn; } /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline bool WorkerConfigurationArnHasBeenSet() const { return m_workerConfigurationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline void SetWorkerConfigurationArn(const Aws::String& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = value; } /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline void SetWorkerConfigurationArn(Aws::String&& value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline void SetWorkerConfigurationArn(const char* value) { m_workerConfigurationArnHasBeenSet = true; m_workerConfigurationArn.assign(value); } /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline WorkerConfiguration& WithWorkerConfigurationArn(const Aws::String& value) { SetWorkerConfigurationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline WorkerConfiguration& WithWorkerConfigurationArn(Aws::String&& value) { SetWorkerConfigurationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the worker configuration.
*/ inline WorkerConfiguration& WithWorkerConfigurationArn(const char* value) { SetWorkerConfigurationArn(value); return *this;} private: long long m_revision; bool m_revisionHasBeenSet = false; Aws::String m_workerConfigurationArn; bool m_workerConfigurationArnHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws