/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pipes { namespace Model { /** *

The parameters for using a Step Functions state machine as a * target.

See Also:

AWS * API Reference

*/ class PipeTargetStateMachineParameters { public: AWS_PIPES_API PipeTargetStateMachineParameters(); AWS_PIPES_API PipeTargetStateMachineParameters(Aws::Utils::Json::JsonView jsonValue); AWS_PIPES_API PipeTargetStateMachineParameters& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specify whether to wait for the state machine to finish or not.

*/ inline const PipeTargetInvocationType& GetInvocationType() const{ return m_invocationType; } /** *

Specify whether to wait for the state machine to finish or not.

*/ inline bool InvocationTypeHasBeenSet() const { return m_invocationTypeHasBeenSet; } /** *

Specify whether to wait for the state machine to finish or not.

*/ inline void SetInvocationType(const PipeTargetInvocationType& value) { m_invocationTypeHasBeenSet = true; m_invocationType = value; } /** *

Specify whether to wait for the state machine to finish or not.

*/ inline void SetInvocationType(PipeTargetInvocationType&& value) { m_invocationTypeHasBeenSet = true; m_invocationType = std::move(value); } /** *

Specify whether to wait for the state machine to finish or not.

*/ inline PipeTargetStateMachineParameters& WithInvocationType(const PipeTargetInvocationType& value) { SetInvocationType(value); return *this;} /** *

Specify whether to wait for the state machine to finish or not.

*/ inline PipeTargetStateMachineParameters& WithInvocationType(PipeTargetInvocationType&& value) { SetInvocationType(std::move(value)); return *this;} private: PipeTargetInvocationType m_invocationType; bool m_invocationTypeHasBeenSet = false; }; } // namespace Model } // namespace Pipes } // namespace Aws