AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StepDependency.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/DependencyConsumerResolutionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API StepDependency();
36 AWS_DEADLINE_API StepDependency(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStepId() const{ return m_stepId; }
46 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
47 inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; }
48 inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); }
49 inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); }
50 inline StepDependency& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
51 inline StepDependency& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
52 inline StepDependency& WithStepId(const char* value) { SetStepId(value); return *this;}
54
56
59 inline const DependencyConsumerResolutionStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const DependencyConsumerResolutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(DependencyConsumerResolutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline StepDependency& WithStatus(const DependencyConsumerResolutionStatus& value) { SetStatus(value); return *this;}
64 inline StepDependency& WithStatus(DependencyConsumerResolutionStatus&& value) { SetStatus(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_stepId;
69 bool m_stepIdHasBeenSet = false;
70
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace deadline
77} // namespace Aws
StepDependency & WithStatus(const DependencyConsumerResolutionStatus &value)
AWS_DEADLINE_API StepDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(DependencyConsumerResolutionStatus &&value)
StepDependency & WithStepId(const char *value)
void SetStepId(Aws::String &&value)
const DependencyConsumerResolutionStatus & GetStatus() const
void SetStatus(const DependencyConsumerResolutionStatus &value)
StepDependency & WithStepId(Aws::String &&value)
StepDependency & WithStatus(DependencyConsumerResolutionStatus &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStepId() const
AWS_DEADLINE_API StepDependency(Aws::Utils::Json::JsonView jsonValue)
StepDependency & WithStepId(const Aws::String &value)
void SetStepId(const char *value)
void SetStepId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue