/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details about an activity scheduled during an
* execution.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the scheduled activity.
*/ inline const Aws::String& GetResource() const{ return m_resource; } /** *The Amazon Resource Name (ARN) of the scheduled activity.
*/ inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } /** *The Amazon Resource Name (ARN) of the scheduled activity.
*/ inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; } /** *The Amazon Resource Name (ARN) of the scheduled activity.
*/ inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); } /** *The Amazon Resource Name (ARN) of the scheduled activity.
*/ inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); } /** *The Amazon Resource Name (ARN) of the scheduled activity.
*/ inline ActivityScheduledEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;} /** *The Amazon Resource Name (ARN) of the scheduled activity.
*/ inline ActivityScheduledEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the scheduled activity.
*/ inline ActivityScheduledEventDetails& WithResource(const char* value) { SetResource(value); return *this;} /** *The JSON data input to the activity task. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.
*/ inline const Aws::String& GetInput() const{ return m_input; } /** *The JSON data input to the activity task. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.
*/ inline bool InputHasBeenSet() const { return m_inputHasBeenSet; } /** *The JSON data input to the activity task. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.
*/ inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; } /** *The JSON data input to the activity task. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.
*/ inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); } /** *The JSON data input to the activity task. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.
*/ inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); } /** *The JSON data input to the activity task. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.
*/ inline ActivityScheduledEventDetails& WithInput(const Aws::String& value) { SetInput(value); return *this;} /** *The JSON data input to the activity task. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.
*/ inline ActivityScheduledEventDetails& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;} /** *The JSON data input to the activity task. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.
*/ inline ActivityScheduledEventDetails& WithInput(const char* value) { SetInput(value); return *this;} /** *Contains details about the input for an execution history event.
*/ inline const HistoryEventExecutionDataDetails& GetInputDetails() const{ return m_inputDetails; } /** *Contains details about the input for an execution history event.
*/ inline bool InputDetailsHasBeenSet() const { return m_inputDetailsHasBeenSet; } /** *Contains details about the input for an execution history event.
*/ inline void SetInputDetails(const HistoryEventExecutionDataDetails& value) { m_inputDetailsHasBeenSet = true; m_inputDetails = value; } /** *Contains details about the input for an execution history event.
*/ inline void SetInputDetails(HistoryEventExecutionDataDetails&& value) { m_inputDetailsHasBeenSet = true; m_inputDetails = std::move(value); } /** *Contains details about the input for an execution history event.
*/ inline ActivityScheduledEventDetails& WithInputDetails(const HistoryEventExecutionDataDetails& value) { SetInputDetails(value); return *this;} /** *Contains details about the input for an execution history event.
*/ inline ActivityScheduledEventDetails& WithInputDetails(HistoryEventExecutionDataDetails&& value) { SetInputDetails(std::move(value)); return *this;} /** *The maximum allowed duration of the activity task.
*/ inline long long GetTimeoutInSeconds() const{ return m_timeoutInSeconds; } /** *The maximum allowed duration of the activity task.
*/ inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; } /** *The maximum allowed duration of the activity task.
*/ inline void SetTimeoutInSeconds(long long value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; } /** *The maximum allowed duration of the activity task.
*/ inline ActivityScheduledEventDetails& WithTimeoutInSeconds(long long value) { SetTimeoutInSeconds(value); return *this;} /** *The maximum allowed duration between two heartbeats for the activity * task.
*/ inline long long GetHeartbeatInSeconds() const{ return m_heartbeatInSeconds; } /** *The maximum allowed duration between two heartbeats for the activity * task.
*/ inline bool HeartbeatInSecondsHasBeenSet() const { return m_heartbeatInSecondsHasBeenSet; } /** *The maximum allowed duration between two heartbeats for the activity * task.
*/ inline void SetHeartbeatInSeconds(long long value) { m_heartbeatInSecondsHasBeenSet = true; m_heartbeatInSeconds = value; } /** *The maximum allowed duration between two heartbeats for the activity * task.
*/ inline ActivityScheduledEventDetails& WithHeartbeatInSeconds(long long value) { SetHeartbeatInSeconds(value); return *this;} private: Aws::String m_resource; bool m_resourceHasBeenSet = false; Aws::String m_input; bool m_inputHasBeenSet = false; HistoryEventExecutionDataDetails m_inputDetails; bool m_inputDetailsHasBeenSet = false; long long m_timeoutInSeconds; bool m_timeoutInSecondsHasBeenSet = false; long long m_heartbeatInSeconds; bool m_heartbeatInSecondsHasBeenSet = false; }; } // namespace Model } // namespace SFN } // namespace Aws