AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssignedTaskRunSessionActionDefinition.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/memory/stl/AWSMap.h>
10#include <aws/deadline/model/TaskParameterValue.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
35 {
36 public:
40 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTaskId() const{ return m_taskId; }
48 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
49 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
50 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
51 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
52 inline AssignedTaskRunSessionActionDefinition& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
53 inline AssignedTaskRunSessionActionDefinition& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
54 inline AssignedTaskRunSessionActionDefinition& WithTaskId(const char* value) { SetTaskId(value); return *this;}
56
58
61 inline const Aws::String& GetStepId() const{ return m_stepId; }
62 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
63 inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; }
64 inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); }
65 inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); }
66 inline AssignedTaskRunSessionActionDefinition& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
67 inline AssignedTaskRunSessionActionDefinition& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
68 inline AssignedTaskRunSessionActionDefinition& WithStepId(const char* value) { SetStepId(value); return *this;}
70
72
75 inline const Aws::Map<Aws::String, TaskParameterValue>& GetParameters() const{ return m_parameters; }
76 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
77 inline void SetParameters(const Aws::Map<Aws::String, TaskParameterValue>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
78 inline void SetParameters(Aws::Map<Aws::String, TaskParameterValue>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
81 inline AssignedTaskRunSessionActionDefinition& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
82 inline AssignedTaskRunSessionActionDefinition& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
83 inline AssignedTaskRunSessionActionDefinition& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
84 inline AssignedTaskRunSessionActionDefinition& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
85 inline AssignedTaskRunSessionActionDefinition& AddParameters(const char* key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
86 inline AssignedTaskRunSessionActionDefinition& AddParameters(const char* key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
88 private:
89
90 Aws::String m_taskId;
91 bool m_taskIdHasBeenSet = false;
92
93 Aws::String m_stepId;
94 bool m_stepIdHasBeenSet = false;
95
97 bool m_parametersHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace deadline
102} // namespace Aws
AssignedTaskRunSessionActionDefinition & WithTaskId(const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, TaskParameterValue > &value)
AssignedTaskRunSessionActionDefinition & AddParameters(Aws::String &&key, const TaskParameterValue &value)
AssignedTaskRunSessionActionDefinition & WithParameters(const Aws::Map< Aws::String, TaskParameterValue > &value)
AssignedTaskRunSessionActionDefinition & WithStepId(Aws::String &&value)
AssignedTaskRunSessionActionDefinition & AddParameters(Aws::String &&key, TaskParameterValue &&value)
AssignedTaskRunSessionActionDefinition & WithStepId(const Aws::String &value)
AssignedTaskRunSessionActionDefinition & AddParameters(const Aws::String &key, TaskParameterValue &&value)
AssignedTaskRunSessionActionDefinition & WithParameters(Aws::Map< Aws::String, TaskParameterValue > &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AssignedTaskRunSessionActionDefinition & WithTaskId(const char *value)
AWS_DEADLINE_API AssignedTaskRunSessionActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AssignedTaskRunSessionActionDefinition & WithStepId(const char *value)
AssignedTaskRunSessionActionDefinition & AddParameters(const Aws::String &key, const TaskParameterValue &value)
const Aws::Map< Aws::String, TaskParameterValue > & GetParameters() const
AssignedTaskRunSessionActionDefinition & AddParameters(const char *key, TaskParameterValue &&value)
AWS_DEADLINE_API AssignedTaskRunSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetParameters(Aws::Map< Aws::String, TaskParameterValue > &&value)
AssignedTaskRunSessionActionDefinition & WithTaskId(Aws::String &&value)
AssignedTaskRunSessionActionDefinition & AddParameters(const char *key, const TaskParameterValue &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue