178 lines
5.5 KiB
C++
178 lines
5.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 a task submitted to a resource .</p><p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSubmittedEventDetails">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SFN_API TaskSubmittedEventDetails
|
|
{
|
|
public:
|
|
TaskSubmittedEventDetails();
|
|
TaskSubmittedEventDetails(Aws::Utils::Json::JsonView jsonValue);
|
|
TaskSubmittedEventDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The action of the resource called by a task state.</p>
|
|
*/
|
|
inline const Aws::String& GetResourceType() const{ return m_resourceType; }
|
|
|
|
/**
|
|
* <p>The action of the resource called by a task state.</p>
|
|
*/
|
|
inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The action of the resource called by a task state.</p>
|
|
*/
|
|
inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
|
|
|
|
/**
|
|
* <p>The action of the resource called by a task state.</p>
|
|
*/
|
|
inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
|
|
|
|
/**
|
|
* <p>The action of the resource called by a task state.</p>
|
|
*/
|
|
inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
|
|
|
|
/**
|
|
* <p>The action of the resource called by a task state.</p>
|
|
*/
|
|
inline TaskSubmittedEventDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
|
|
|
|
/**
|
|
* <p>The action of the resource called by a task state.</p>
|
|
*/
|
|
inline TaskSubmittedEventDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The action of the resource called by a task state.</p>
|
|
*/
|
|
inline TaskSubmittedEventDetails& WithResourceType(const char* value) { SetResourceType(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The service name of the resource in a task state.</p>
|
|
*/
|
|
inline const Aws::String& GetResource() const{ return m_resource; }
|
|
|
|
/**
|
|
* <p>The service name of the resource in a task state.</p>
|
|
*/
|
|
inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The service name of the resource in a task state.</p>
|
|
*/
|
|
inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
|
|
|
|
/**
|
|
* <p>The service name of the resource in a task state.</p>
|
|
*/
|
|
inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
|
|
|
|
/**
|
|
* <p>The service name of the resource in a task state.</p>
|
|
*/
|
|
inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
|
|
|
|
/**
|
|
* <p>The service name of the resource in a task state.</p>
|
|
*/
|
|
inline TaskSubmittedEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;}
|
|
|
|
/**
|
|
* <p>The service name of the resource in a task state.</p>
|
|
*/
|
|
inline TaskSubmittedEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The service name of the resource in a task state.</p>
|
|
*/
|
|
inline TaskSubmittedEventDetails& WithResource(const char* value) { SetResource(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The response from a resource when a task has started.</p>
|
|
*/
|
|
inline const Aws::String& GetOutput() const{ return m_output; }
|
|
|
|
/**
|
|
* <p>The response from a resource when a task has started.</p>
|
|
*/
|
|
inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The response from a resource when a task has started.</p>
|
|
*/
|
|
inline void SetOutput(const Aws::String& value) { m_outputHasBeenSet = true; m_output = value; }
|
|
|
|
/**
|
|
* <p>The response from a resource when a task has started.</p>
|
|
*/
|
|
inline void SetOutput(Aws::String&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
|
|
|
|
/**
|
|
* <p>The response from a resource when a task has started.</p>
|
|
*/
|
|
inline void SetOutput(const char* value) { m_outputHasBeenSet = true; m_output.assign(value); }
|
|
|
|
/**
|
|
* <p>The response from a resource when a task has started.</p>
|
|
*/
|
|
inline TaskSubmittedEventDetails& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
|
|
|
|
/**
|
|
* <p>The response from a resource when a task has started.</p>
|
|
*/
|
|
inline TaskSubmittedEventDetails& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The response from a resource when a task has started.</p>
|
|
*/
|
|
inline TaskSubmittedEventDetails& WithOutput(const char* value) { SetOutput(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_resourceType;
|
|
bool m_resourceTypeHasBeenSet;
|
|
|
|
Aws::String m_resource;
|
|
bool m_resourceHasBeenSet;
|
|
|
|
Aws::String m_output;
|
|
bool m_outputHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SFN
|
|
} // namespace Aws
|