/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace SFN { namespace Model { /** */ class UpdateStateMachineAliasRequest : public SFNRequest { public: AWS_SFN_API UpdateStateMachineAliasRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateStateMachineAlias"; } AWS_SFN_API Aws::String SerializePayload() const override; AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the state machine alias.

*/ inline const Aws::String& GetStateMachineAliasArn() const{ return m_stateMachineAliasArn; } /** *

The Amazon Resource Name (ARN) of the state machine alias.

*/ inline bool StateMachineAliasArnHasBeenSet() const { return m_stateMachineAliasArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the state machine alias.

*/ inline void SetStateMachineAliasArn(const Aws::String& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = value; } /** *

The Amazon Resource Name (ARN) of the state machine alias.

*/ inline void SetStateMachineAliasArn(Aws::String&& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the state machine alias.

*/ inline void SetStateMachineAliasArn(const char* value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the state machine alias.

*/ inline UpdateStateMachineAliasRequest& WithStateMachineAliasArn(const Aws::String& value) { SetStateMachineAliasArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the state machine alias.

*/ inline UpdateStateMachineAliasRequest& WithStateMachineAliasArn(Aws::String&& value) { SetStateMachineAliasArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the state machine alias.

*/ inline UpdateStateMachineAliasRequest& WithStateMachineAliasArn(const char* value) { SetStateMachineAliasArn(value); return *this;} /** *

A description of the state machine alias.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the state machine alias.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the state machine alias.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the state machine alias.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the state machine alias.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the state machine alias.

*/ inline UpdateStateMachineAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the state machine alias.

*/ inline UpdateStateMachineAliasRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the state machine alias.

*/ inline UpdateStateMachineAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The routing configuration of the state machine alias.

An array of * RoutingConfig objects that specifies up to two state machine * versions that the alias starts executions for.

*/ inline const Aws::Vector& GetRoutingConfiguration() const{ return m_routingConfiguration; } /** *

The routing configuration of the state machine alias.

An array of * RoutingConfig objects that specifies up to two state machine * versions that the alias starts executions for.

*/ inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; } /** *

The routing configuration of the state machine alias.

An array of * RoutingConfig objects that specifies up to two state machine * versions that the alias starts executions for.

*/ inline void SetRoutingConfiguration(const Aws::Vector& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = value; } /** *

The routing configuration of the state machine alias.

An array of * RoutingConfig objects that specifies up to two state machine * versions that the alias starts executions for.

*/ inline void SetRoutingConfiguration(Aws::Vector&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::move(value); } /** *

The routing configuration of the state machine alias.

An array of * RoutingConfig objects that specifies up to two state machine * versions that the alias starts executions for.

*/ inline UpdateStateMachineAliasRequest& WithRoutingConfiguration(const Aws::Vector& value) { SetRoutingConfiguration(value); return *this;} /** *

The routing configuration of the state machine alias.

An array of * RoutingConfig objects that specifies up to two state machine * versions that the alias starts executions for.

*/ inline UpdateStateMachineAliasRequest& WithRoutingConfiguration(Aws::Vector&& value) { SetRoutingConfiguration(std::move(value)); return *this;} /** *

The routing configuration of the state machine alias.

An array of * RoutingConfig objects that specifies up to two state machine * versions that the alias starts executions for.

*/ inline UpdateStateMachineAliasRequest& AddRoutingConfiguration(const RoutingConfigurationListItem& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(value); return *this; } /** *

The routing configuration of the state machine alias.

An array of * RoutingConfig objects that specifies up to two state machine * versions that the alias starts executions for.

*/ inline UpdateStateMachineAliasRequest& AddRoutingConfiguration(RoutingConfigurationListItem&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(std::move(value)); return *this; } private: Aws::String m_stateMachineAliasArn; bool m_stateMachineAliasArnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_routingConfiguration; bool m_routingConfigurationHasBeenSet = false; }; } // namespace Model } // namespace SFN } // namespace Aws