AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StepConsumer.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 StepConsumer() = default;
36 AWS_DEADLINE_API StepConsumer(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 template<typename StepIdT = Aws::String>
48 void SetStepId(StepIdT&& value) { m_stepIdHasBeenSet = true; m_stepId = std::forward<StepIdT>(value); }
49 template<typename StepIdT = Aws::String>
50 StepConsumer& WithStepId(StepIdT&& value) { SetStepId(std::forward<StepIdT>(value)); return *this;}
52
54
57 inline DependencyConsumerResolutionStatus GetStatus() const { return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(DependencyConsumerResolutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
62 private:
63
64 Aws::String m_stepId;
65 bool m_stepIdHasBeenSet = false;
66
68 bool m_statusHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace deadline
73} // namespace Aws
StepConsumer & WithStatus(DependencyConsumerResolutionStatus value)
DependencyConsumerResolutionStatus GetStatus() const
void SetStatus(DependencyConsumerResolutionStatus value)
void SetStepId(StepIdT &&value)
AWS_DEADLINE_API StepConsumer & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API StepConsumer()=default
AWS_DEADLINE_API StepConsumer(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStepId() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
StepConsumer & WithStepId(StepIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue