/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SFN { namespace Model { class DescribeActivityResult { public: AWS_SFN_API DescribeActivityResult(); AWS_SFN_API DescribeActivityResult(const Aws::AmazonWebServiceResult& result); AWS_SFN_API DescribeActivityResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) that identifies the activity.

*/ inline const Aws::String& GetActivityArn() const{ return m_activityArn; } /** *

The Amazon Resource Name (ARN) that identifies the activity.

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

The Amazon Resource Name (ARN) that identifies the activity.

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

The Amazon Resource Name (ARN) that identifies the activity.

*/ inline void SetActivityArn(const char* value) { m_activityArn.assign(value); } /** *

The Amazon Resource Name (ARN) that identifies the activity.

*/ inline DescribeActivityResult& WithActivityArn(const Aws::String& value) { SetActivityArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the activity.

*/ inline DescribeActivityResult& WithActivityArn(Aws::String&& value) { SetActivityArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the activity.

*/ inline DescribeActivityResult& WithActivityArn(const char* value) { SetActivityArn(value); return *this;} /** *

The name of the activity.

A name must not contain:

    *
  • white space

  • brackets < > { } [ ] *

  • wildcard characters ? *

  • *

    special characters " # % \ ^ | ~ ` $ & , ; : /

  • *
  • control characters (U+0000-001F, * U+007F-009F)

To enable logging with CloudWatch * Logs, the name should only contain 0-9, A-Z, a-z, - and _.

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

The name of the activity.

A name must not contain:

    *
  • white space

  • brackets < > { } [ ] *

  • wildcard characters ? *

  • *

    special characters " # % \ ^ | ~ ` $ & , ; : /

  • *
  • control characters (U+0000-001F, * U+007F-009F)

To enable logging with CloudWatch * Logs, the name should only contain 0-9, A-Z, a-z, - and _.

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

The name of the activity.

A name must not contain:

    *
  • white space

  • brackets < > { } [ ] *

  • wildcard characters ? *

  • *

    special characters " # % \ ^ | ~ ` $ & , ; : /

  • *
  • control characters (U+0000-001F, * U+007F-009F)

To enable logging with CloudWatch * Logs, the name should only contain 0-9, A-Z, a-z, - and _.

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

The name of the activity.

A name must not contain:

    *
  • white space

  • brackets < > { } [ ] *

  • wildcard characters ? *

  • *

    special characters " # % \ ^ | ~ ` $ & , ; : /

  • *
  • control characters (U+0000-001F, * U+007F-009F)

To enable logging with CloudWatch * Logs, the name should only contain 0-9, A-Z, a-z, - and _.

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

The name of the activity.

A name must not contain:

    *
  • white space

  • brackets < > { } [ ] *

  • wildcard characters ? *

  • *

    special characters " # % \ ^ | ~ ` $ & , ; : /

  • *
  • control characters (U+0000-001F, * U+007F-009F)

To enable logging with CloudWatch * Logs, the name should only contain 0-9, A-Z, a-z, - and _.

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

The name of the activity.

A name must not contain:

    *
  • white space

  • brackets < > { } [ ] *

  • wildcard characters ? *

  • *

    special characters " # % \ ^ | ~ ` $ & , ; : /

  • *
  • control characters (U+0000-001F, * U+007F-009F)

To enable logging with CloudWatch * Logs, the name should only contain 0-9, A-Z, a-z, - and _.

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

The name of the activity.

A name must not contain:

    *
  • white space

  • brackets < > { } [ ] *

  • wildcard characters ? *

  • *

    special characters " # % \ ^ | ~ ` $ & , ; : /

  • *
  • control characters (U+0000-001F, * U+007F-009F)

To enable logging with CloudWatch * Logs, the name should only contain 0-9, A-Z, a-z, - and _.

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

The date the activity is created.

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

The date the activity is created.

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

The date the activity is created.

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

The date the activity is created.

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

The date the activity is created.

*/ inline DescribeActivityResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(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 DescribeActivityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeActivityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeActivityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_activityArn; Aws::String m_name; Aws::Utils::DateTime m_creationDate; Aws::String m_requestId; }; } // namespace Model } // namespace SFN } // namespace Aws