187 lines
7.5 KiB
C
187 lines
7.5 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/states/SFN_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/core/utils/DateTime.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace SFN
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_SFN_API DescribeActivityResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DescribeActivityResult();
|
|||
|
|
DescribeActivityResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
DescribeActivityResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that identifies the activity.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetActivityArn() const{ return m_activityArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that identifies the activity.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetActivityArn(const Aws::String& value) { m_activityArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that identifies the activity.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetActivityArn(Aws::String&& value) { m_activityArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that identifies the activity.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetActivityArn(const char* value) { m_activityArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that identifies the activity.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeActivityResult& WithActivityArn(const Aws::String& value) { SetActivityArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that identifies the activity.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeActivityResult& WithActivityArn(Aws::String&& value) { SetActivityArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that identifies the activity.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeActivityResult& WithActivityArn(const char* value) { SetActivityArn(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the activity.</p> <p>A name must <i>not</i> contain:</p> <ul>
|
|||
|
|
* <li> <p>white space</p> </li> <li> <p>brackets <code>< > { } [ ]</code>
|
|||
|
|
* </p> </li> <li> <p>wildcard characters <code>? *</code> </p> </li> <li>
|
|||
|
|
* <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code> </p> </li>
|
|||
|
|
* <li> <p>control characters (<code>U+0000-001F</code>,
|
|||
|
|
* <code>U+007F-009F</code>)</p> </li> </ul> <p>To enable logging with CloudWatch
|
|||
|
|
* Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetName() const{ return m_name; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the activity.</p> <p>A name must <i>not</i> contain:</p> <ul>
|
|||
|
|
* <li> <p>white space</p> </li> <li> <p>brackets <code>< > { } [ ]</code>
|
|||
|
|
* </p> </li> <li> <p>wildcard characters <code>? *</code> </p> </li> <li>
|
|||
|
|
* <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code> </p> </li>
|
|||
|
|
* <li> <p>control characters (<code>U+0000-001F</code>,
|
|||
|
|
* <code>U+007F-009F</code>)</p> </li> </ul> <p>To enable logging with CloudWatch
|
|||
|
|
* Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(const Aws::String& value) { m_name = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the activity.</p> <p>A name must <i>not</i> contain:</p> <ul>
|
|||
|
|
* <li> <p>white space</p> </li> <li> <p>brackets <code>< > { } [ ]</code>
|
|||
|
|
* </p> </li> <li> <p>wildcard characters <code>? *</code> </p> </li> <li>
|
|||
|
|
* <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code> </p> </li>
|
|||
|
|
* <li> <p>control characters (<code>U+0000-001F</code>,
|
|||
|
|
* <code>U+007F-009F</code>)</p> </li> </ul> <p>To enable logging with CloudWatch
|
|||
|
|
* Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the activity.</p> <p>A name must <i>not</i> contain:</p> <ul>
|
|||
|
|
* <li> <p>white space</p> </li> <li> <p>brackets <code>< > { } [ ]</code>
|
|||
|
|
* </p> </li> <li> <p>wildcard characters <code>? *</code> </p> </li> <li>
|
|||
|
|
* <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code> </p> </li>
|
|||
|
|
* <li> <p>control characters (<code>U+0000-001F</code>,
|
|||
|
|
* <code>U+007F-009F</code>)</p> </li> </ul> <p>To enable logging with CloudWatch
|
|||
|
|
* Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(const char* value) { m_name.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the activity.</p> <p>A name must <i>not</i> contain:</p> <ul>
|
|||
|
|
* <li> <p>white space</p> </li> <li> <p>brackets <code>< > { } [ ]</code>
|
|||
|
|
* </p> </li> <li> <p>wildcard characters <code>? *</code> </p> </li> <li>
|
|||
|
|
* <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code> </p> </li>
|
|||
|
|
* <li> <p>control characters (<code>U+0000-001F</code>,
|
|||
|
|
* <code>U+007F-009F</code>)</p> </li> </ul> <p>To enable logging with CloudWatch
|
|||
|
|
* Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeActivityResult& WithName(const Aws::String& value) { SetName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the activity.</p> <p>A name must <i>not</i> contain:</p> <ul>
|
|||
|
|
* <li> <p>white space</p> </li> <li> <p>brackets <code>< > { } [ ]</code>
|
|||
|
|
* </p> </li> <li> <p>wildcard characters <code>? *</code> </p> </li> <li>
|
|||
|
|
* <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code> </p> </li>
|
|||
|
|
* <li> <p>control characters (<code>U+0000-001F</code>,
|
|||
|
|
* <code>U+007F-009F</code>)</p> </li> </ul> <p>To enable logging with CloudWatch
|
|||
|
|
* Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeActivityResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the activity.</p> <p>A name must <i>not</i> contain:</p> <ul>
|
|||
|
|
* <li> <p>white space</p> </li> <li> <p>brackets <code>< > { } [ ]</code>
|
|||
|
|
* </p> </li> <li> <p>wildcard characters <code>? *</code> </p> </li> <li>
|
|||
|
|
* <p>special characters <code>" # % \ ^ | ~ ` $ & , ; : /</code> </p> </li>
|
|||
|
|
* <li> <p>control characters (<code>U+0000-001F</code>,
|
|||
|
|
* <code>U+007F-009F</code>)</p> </li> </ul> <p>To enable logging with CloudWatch
|
|||
|
|
* Logs, the name should only contain 0-9, A-Z, a-z, - and _.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeActivityResult& WithName(const char* value) { SetName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the activity is created.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the activity is created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the activity is created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the activity is created.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeActivityResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the activity is created.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeActivityResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_activityArn;
|
|||
|
|
|
|||
|
|
Aws::String m_name;
|
|||
|
|
|
|||
|
|
Aws::Utils::DateTime m_creationDate;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace SFN
|
|||
|
|
} // namespace Aws
|