/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SFN { namespace Model { class DescribeStateMachineAliasResult { public: AWS_SFN_API DescribeStateMachineAliasResult(); AWS_SFN_API DescribeStateMachineAliasResult(const Aws::AmazonWebServiceResult& result); AWS_SFN_API DescribeStateMachineAliasResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 void SetStateMachineAliasArn(const Aws::String& value) { m_stateMachineAliasArn = value; } /** *

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

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

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

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

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

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

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

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

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

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

The name of the state machine alias.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the state machine alias.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the state machine alias.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the state machine alias.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the state machine alias.

*/ inline DescribeStateMachineAliasResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the state machine alias.

*/ inline DescribeStateMachineAliasResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the state machine alias.

*/ inline DescribeStateMachineAliasResult& WithName(const char* value) { SetName(value); return *this;} /** *

A description of the alias.

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

A description of the alias.

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

A description of the alias.

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

A description of the alias.

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

A description of the alias.

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

A description of the alias.

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

A description of the alias.

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

The routing configuration of the alias.

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

The routing configuration of the alias.

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

The routing configuration of the alias.

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

The routing configuration of the alias.

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

The routing configuration of the alias.

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

The routing configuration of the alias.

*/ inline DescribeStateMachineAliasResult& AddRoutingConfiguration(const RoutingConfigurationListItem& value) { m_routingConfiguration.push_back(value); return *this; } /** *

The routing configuration of the alias.

*/ inline DescribeStateMachineAliasResult& AddRoutingConfiguration(RoutingConfigurationListItem&& value) { m_routingConfiguration.push_back(std::move(value)); return *this; } /** *

The date the state machine alias was created.

*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *

The date the state machine alias was created.

*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; } /** *

The date the state machine alias was created.

*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); } /** *

The date the state machine alias was created.

*/ inline DescribeStateMachineAliasResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *

The date the state machine alias was created.

*/ inline DescribeStateMachineAliasResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The date the state machine alias was last updated.

For a newly created * state machine, this is the same as the creation date.

*/ inline const Aws::Utils::DateTime& GetUpdateDate() const{ return m_updateDate; } /** *

The date the state machine alias was last updated.

For a newly created * state machine, this is the same as the creation date.

*/ inline void SetUpdateDate(const Aws::Utils::DateTime& value) { m_updateDate = value; } /** *

The date the state machine alias was last updated.

For a newly created * state machine, this is the same as the creation date.

*/ inline void SetUpdateDate(Aws::Utils::DateTime&& value) { m_updateDate = std::move(value); } /** *

The date the state machine alias was last updated.

For a newly created * state machine, this is the same as the creation date.

*/ inline DescribeStateMachineAliasResult& WithUpdateDate(const Aws::Utils::DateTime& value) { SetUpdateDate(value); return *this;} /** *

The date the state machine alias was last updated.

For a newly created * state machine, this is the same as the creation date.

*/ inline DescribeStateMachineAliasResult& WithUpdateDate(Aws::Utils::DateTime&& value) { SetUpdateDate(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeStateMachineAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeStateMachineAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeStateMachineAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_stateMachineAliasArn; Aws::String m_name; Aws::String m_description; Aws::Vector m_routingConfiguration; Aws::Utils::DateTime m_creationDate; Aws::Utils::DateTime m_updateDate; Aws::String m_requestId; }; } // namespace Model } // namespace SFN } // namespace Aws