AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StepDetailsEntity.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace deadline
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DEADLINE_API StepDetailsEntity();
37 AWS_DEADLINE_API StepDetailsEntity(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetJobId() const{ return m_jobId; }
47 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
48 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
49 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
50 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
51 inline StepDetailsEntity& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
52 inline StepDetailsEntity& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
53 inline StepDetailsEntity& WithJobId(const char* value) { SetJobId(value); return *this;}
55
57
60 inline const Aws::String& GetStepId() const{ return m_stepId; }
61 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
62 inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; }
63 inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); }
64 inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); }
65 inline StepDetailsEntity& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
66 inline StepDetailsEntity& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
67 inline StepDetailsEntity& WithStepId(const char* value) { SetStepId(value); return *this;}
69
71
74 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
75 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
76 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
77 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
78 inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
79 inline StepDetailsEntity& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
80 inline StepDetailsEntity& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
81 inline StepDetailsEntity& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
83
85
88 inline Aws::Utils::DocumentView GetTemplate() const{ return m_template; }
89 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
90 inline void SetTemplate(const Aws::Utils::Document& value) { m_templateHasBeenSet = true; m_template = value; }
91 inline void SetTemplate(Aws::Utils::Document&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
92 inline StepDetailsEntity& WithTemplate(const Aws::Utils::Document& value) { SetTemplate(value); return *this;}
93 inline StepDetailsEntity& WithTemplate(Aws::Utils::Document&& value) { SetTemplate(std::move(value)); return *this;}
95
97
100 inline const Aws::Vector<Aws::String>& GetDependencies() const{ return m_dependencies; }
101 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
102 inline void SetDependencies(const Aws::Vector<Aws::String>& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; }
103 inline void SetDependencies(Aws::Vector<Aws::String>&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); }
104 inline StepDetailsEntity& WithDependencies(const Aws::Vector<Aws::String>& value) { SetDependencies(value); return *this;}
105 inline StepDetailsEntity& WithDependencies(Aws::Vector<Aws::String>&& value) { SetDependencies(std::move(value)); return *this;}
106 inline StepDetailsEntity& AddDependencies(const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
107 inline StepDetailsEntity& AddDependencies(Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(std::move(value)); return *this; }
108 inline StepDetailsEntity& AddDependencies(const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
110 private:
111
112 Aws::String m_jobId;
113 bool m_jobIdHasBeenSet = false;
114
115 Aws::String m_stepId;
116 bool m_stepIdHasBeenSet = false;
117
118 Aws::String m_schemaVersion;
119 bool m_schemaVersionHasBeenSet = false;
120
121 Aws::Utils::Document m_template;
122 bool m_templateHasBeenSet = false;
123
124 Aws::Vector<Aws::String> m_dependencies;
125 bool m_dependenciesHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace deadline
130} // namespace Aws
Aws::Utils::DocumentView GetTemplate() const
StepDetailsEntity & WithJobId(const Aws::String &value)
StepDetailsEntity & WithStepId(Aws::String &&value)
void SetTemplate(Aws::Utils::Document &&value)
StepDetailsEntity & WithSchemaVersion(const Aws::String &value)
StepDetailsEntity & WithSchemaVersion(const char *value)
void SetTemplate(const Aws::Utils::Document &value)
AWS_DEADLINE_API StepDetailsEntity(Aws::Utils::Json::JsonView jsonValue)
StepDetailsEntity & WithJobId(const char *value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
StepDetailsEntity & WithStepId(const char *value)
AWS_DEADLINE_API StepDetailsEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
StepDetailsEntity & WithStepId(const Aws::String &value)
void SetSchemaVersion(Aws::String &&value)
void SetDependencies(Aws::Vector< Aws::String > &&value)
StepDetailsEntity & WithJobId(Aws::String &&value)
void SetJobId(const Aws::String &value)
StepDetailsEntity & AddDependencies(const char *value)
StepDetailsEntity & WithDependencies(const Aws::Vector< Aws::String > &value)
void SetDependencies(const Aws::Vector< Aws::String > &value)
StepDetailsEntity & AddDependencies(Aws::String &&value)
StepDetailsEntity & WithTemplate(Aws::Utils::Document &&value)
void SetSchemaVersion(const Aws::String &value)
const Aws::String & GetSchemaVersion() const
StepDetailsEntity & WithSchemaVersion(Aws::String &&value)
StepDetailsEntity & WithDependencies(Aws::Vector< Aws::String > &&value)
StepDetailsEntity & AddDependencies(const Aws::String &value)
const Aws::String & GetStepId() const
StepDetailsEntity & WithTemplate(const Aws::Utils::Document &value)
void SetStepId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDependencies() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue