AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ParentStepDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SSM {
20namespace Model {
21
28 public:
29 AWS_SSM_API ParentStepDetails() = default;
33
35
38 inline const Aws::String& GetStepExecutionId() const { return m_stepExecutionId; }
39 inline bool StepExecutionIdHasBeenSet() const { return m_stepExecutionIdHasBeenSet; }
40 template <typename StepExecutionIdT = Aws::String>
41 void SetStepExecutionId(StepExecutionIdT&& value) {
42 m_stepExecutionIdHasBeenSet = true;
43 m_stepExecutionId = std::forward<StepExecutionIdT>(value);
44 }
45 template <typename StepExecutionIdT = Aws::String>
46 ParentStepDetails& WithStepExecutionId(StepExecutionIdT&& value) {
47 SetStepExecutionId(std::forward<StepExecutionIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetStepName() const { return m_stepName; }
57 inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
58 template <typename StepNameT = Aws::String>
59 void SetStepName(StepNameT&& value) {
60 m_stepNameHasBeenSet = true;
61 m_stepName = std::forward<StepNameT>(value);
62 }
63 template <typename StepNameT = Aws::String>
64 ParentStepDetails& WithStepName(StepNameT&& value) {
65 SetStepName(std::forward<StepNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetAction() const { return m_action; }
75 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
76 template <typename ActionT = Aws::String>
77 void SetAction(ActionT&& value) {
78 m_actionHasBeenSet = true;
79 m_action = std::forward<ActionT>(value);
80 }
81 template <typename ActionT = Aws::String>
82 ParentStepDetails& WithAction(ActionT&& value) {
83 SetAction(std::forward<ActionT>(value));
84 return *this;
85 }
87
89
92 inline int GetIteration() const { return m_iteration; }
93 inline bool IterationHasBeenSet() const { return m_iterationHasBeenSet; }
94 inline void SetIteration(int value) {
95 m_iterationHasBeenSet = true;
96 m_iteration = value;
97 }
98 inline ParentStepDetails& WithIteration(int value) {
99 SetIteration(value);
100 return *this;
101 }
103
105
108 inline const Aws::String& GetIteratorValue() const { return m_iteratorValue; }
109 inline bool IteratorValueHasBeenSet() const { return m_iteratorValueHasBeenSet; }
110 template <typename IteratorValueT = Aws::String>
111 void SetIteratorValue(IteratorValueT&& value) {
112 m_iteratorValueHasBeenSet = true;
113 m_iteratorValue = std::forward<IteratorValueT>(value);
114 }
115 template <typename IteratorValueT = Aws::String>
116 ParentStepDetails& WithIteratorValue(IteratorValueT&& value) {
117 SetIteratorValue(std::forward<IteratorValueT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_stepExecutionId;
123
124 Aws::String m_stepName;
125
126 Aws::String m_action;
127
128 int m_iteration{0};
129
130 Aws::String m_iteratorValue;
131 bool m_stepExecutionIdHasBeenSet = false;
132 bool m_stepNameHasBeenSet = false;
133 bool m_actionHasBeenSet = false;
134 bool m_iterationHasBeenSet = false;
135 bool m_iteratorValueHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace SSM
140} // namespace Aws
ParentStepDetails & WithStepName(StepNameT &&value)
void SetStepName(StepNameT &&value)
ParentStepDetails & WithIteratorValue(IteratorValueT &&value)
AWS_SSM_API ParentStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIteratorValue() const
void SetIteratorValue(IteratorValueT &&value)
ParentStepDetails & WithIteration(int value)
const Aws::String & GetStepName() const
const Aws::String & GetAction() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
ParentStepDetails & WithStepExecutionId(StepExecutionIdT &&value)
void SetStepExecutionId(StepExecutionIdT &&value)
const Aws::String & GetStepExecutionId() const
AWS_SSM_API ParentStepDetails()=default
ParentStepDetails & WithAction(ActionT &&value)
AWS_SSM_API ParentStepDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue