AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskRunSessionActionDefinitionSummary.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace deadline
22{
23namespace Model
24{
25
32 {
33 public:
37 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetTaskId() const{ return m_taskId; }
45 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
46 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
47 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
48 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
49 inline TaskRunSessionActionDefinitionSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
50 inline TaskRunSessionActionDefinitionSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
51 inline TaskRunSessionActionDefinitionSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;}
53
55
58 inline const Aws::String& GetStepId() const{ return m_stepId; }
59 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
60 inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; }
61 inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); }
62 inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); }
63 inline TaskRunSessionActionDefinitionSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
64 inline TaskRunSessionActionDefinitionSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
65 inline TaskRunSessionActionDefinitionSummary& WithStepId(const char* value) { SetStepId(value); return *this;}
67 private:
68
69 Aws::String m_taskId;
70 bool m_taskIdHasBeenSet = false;
71
72 Aws::String m_stepId;
73 bool m_stepIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace deadline
78} // namespace Aws
TaskRunSessionActionDefinitionSummary & WithStepId(Aws::String &&value)
TaskRunSessionActionDefinitionSummary & WithTaskId(const char *value)
TaskRunSessionActionDefinitionSummary & WithStepId(const char *value)
TaskRunSessionActionDefinitionSummary & WithTaskId(Aws::String &&value)
AWS_DEADLINE_API TaskRunSessionActionDefinitionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskRunSessionActionDefinitionSummary & WithTaskId(const Aws::String &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API TaskRunSessionActionDefinitionSummary(Aws::Utils::Json::JsonView jsonValue)
TaskRunSessionActionDefinitionSummary & WithStepId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue