/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details about the start of an activity during an
* execution.See Also:
AWS
* API Reference
The name of the worker that the task is assigned to. These names are provided * by the workers when calling GetActivityTask.
*/ inline const Aws::String& GetWorkerName() const{ return m_workerName; } /** *The name of the worker that the task is assigned to. These names are provided * by the workers when calling GetActivityTask.
*/ inline bool WorkerNameHasBeenSet() const { return m_workerNameHasBeenSet; } /** *The name of the worker that the task is assigned to. These names are provided * by the workers when calling GetActivityTask.
*/ inline void SetWorkerName(const Aws::String& value) { m_workerNameHasBeenSet = true; m_workerName = value; } /** *The name of the worker that the task is assigned to. These names are provided * by the workers when calling GetActivityTask.
*/ inline void SetWorkerName(Aws::String&& value) { m_workerNameHasBeenSet = true; m_workerName = std::move(value); } /** *The name of the worker that the task is assigned to. These names are provided * by the workers when calling GetActivityTask.
*/ inline void SetWorkerName(const char* value) { m_workerNameHasBeenSet = true; m_workerName.assign(value); } /** *The name of the worker that the task is assigned to. These names are provided * by the workers when calling GetActivityTask.
*/ inline ActivityStartedEventDetails& WithWorkerName(const Aws::String& value) { SetWorkerName(value); return *this;} /** *The name of the worker that the task is assigned to. These names are provided * by the workers when calling GetActivityTask.
*/ inline ActivityStartedEventDetails& WithWorkerName(Aws::String&& value) { SetWorkerName(std::move(value)); return *this;} /** *The name of the worker that the task is assigned to. These names are provided * by the workers when calling GetActivityTask.
*/ inline ActivityStartedEventDetails& WithWorkerName(const char* value) { SetWorkerName(value); return *this;} private: Aws::String m_workerName; bool m_workerNameHasBeenSet = false; }; } // namespace Model } // namespace SFN } // namespace Aws