182 lines
7.5 KiB
C++
182 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 <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SFN
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Contains details about an exit from a state during an
|
|
* execution.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateExitedEventDetails">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SFN_API StateExitedEventDetails
|
|
{
|
|
public:
|
|
StateExitedEventDetails();
|
|
StateExitedEventDetails(Aws::Utils::Json::JsonView jsonValue);
|
|
StateExitedEventDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The name of the state.</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 state.</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 bool NameHasBeenSet() const { return m_nameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the state.</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_nameHasBeenSet = true; m_name = value; }
|
|
|
|
/**
|
|
* <p>The name of the state.</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_nameHasBeenSet = true; m_name = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the state.</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_nameHasBeenSet = true; m_name.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the state.</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 StateExitedEventDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the state.</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 StateExitedEventDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the state.</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 StateExitedEventDetails& WithName(const char* value) { SetName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The JSON output data of the state.</p>
|
|
*/
|
|
inline const Aws::String& GetOutput() const{ return m_output; }
|
|
|
|
/**
|
|
* <p>The JSON output data of the state.</p>
|
|
*/
|
|
inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The JSON output data of the state.</p>
|
|
*/
|
|
inline void SetOutput(const Aws::String& value) { m_outputHasBeenSet = true; m_output = value; }
|
|
|
|
/**
|
|
* <p>The JSON output data of the state.</p>
|
|
*/
|
|
inline void SetOutput(Aws::String&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
|
|
|
|
/**
|
|
* <p>The JSON output data of the state.</p>
|
|
*/
|
|
inline void SetOutput(const char* value) { m_outputHasBeenSet = true; m_output.assign(value); }
|
|
|
|
/**
|
|
* <p>The JSON output data of the state.</p>
|
|
*/
|
|
inline StateExitedEventDetails& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
|
|
|
|
/**
|
|
* <p>The JSON output data of the state.</p>
|
|
*/
|
|
inline StateExitedEventDetails& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The JSON output data of the state.</p>
|
|
*/
|
|
inline StateExitedEventDetails& WithOutput(const char* value) { SetOutput(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_name;
|
|
bool m_nameHasBeenSet;
|
|
|
|
Aws::String m_output;
|
|
bool m_outputHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SFN
|
|
} // namespace Aws
|