AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SessionActionDefinition.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/EnvironmentEnterSessionActionDefinition.h>
9#include <aws/deadline/model/EnvironmentExitSessionActionDefinition.h>
10#include <aws/deadline/model/TaskRunSessionActionDefinition.h>
11#include <aws/deadline/model/SyncInputJobAttachmentsSessionActionDefinition.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace deadline
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DEADLINE_API SessionActionDefinition();
40 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const EnvironmentEnterSessionActionDefinition& GetEnvEnter() const{ return m_envEnter; }
48 inline bool EnvEnterHasBeenSet() const { return m_envEnterHasBeenSet; }
49 inline void SetEnvEnter(const EnvironmentEnterSessionActionDefinition& value) { m_envEnterHasBeenSet = true; m_envEnter = value; }
50 inline void SetEnvEnter(EnvironmentEnterSessionActionDefinition&& value) { m_envEnterHasBeenSet = true; m_envEnter = std::move(value); }
54
56
59 inline const EnvironmentExitSessionActionDefinition& GetEnvExit() const{ return m_envExit; }
60 inline bool EnvExitHasBeenSet() const { return m_envExitHasBeenSet; }
61 inline void SetEnvExit(const EnvironmentExitSessionActionDefinition& value) { m_envExitHasBeenSet = true; m_envExit = value; }
62 inline void SetEnvExit(EnvironmentExitSessionActionDefinition&& value) { m_envExitHasBeenSet = true; m_envExit = std::move(value); }
64 inline SessionActionDefinition& WithEnvExit(EnvironmentExitSessionActionDefinition&& value) { SetEnvExit(std::move(value)); return *this;}
66
68
71 inline const TaskRunSessionActionDefinition& GetTaskRun() const{ return m_taskRun; }
72 inline bool TaskRunHasBeenSet() const { return m_taskRunHasBeenSet; }
73 inline void SetTaskRun(const TaskRunSessionActionDefinition& value) { m_taskRunHasBeenSet = true; m_taskRun = value; }
74 inline void SetTaskRun(TaskRunSessionActionDefinition&& value) { m_taskRunHasBeenSet = true; m_taskRun = std::move(value); }
76 inline SessionActionDefinition& WithTaskRun(TaskRunSessionActionDefinition&& value) { SetTaskRun(std::move(value)); return *this;}
78
80
83 inline const SyncInputJobAttachmentsSessionActionDefinition& GetSyncInputJobAttachments() const{ return m_syncInputJobAttachments; }
84 inline bool SyncInputJobAttachmentsHasBeenSet() const { return m_syncInputJobAttachmentsHasBeenSet; }
85 inline void SetSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinition& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = value; }
86 inline void SetSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition&& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = std::move(value); }
90 private:
91
93 bool m_envEnterHasBeenSet = false;
94
96 bool m_envExitHasBeenSet = false;
97
99 bool m_taskRunHasBeenSet = false;
100
101 SyncInputJobAttachmentsSessionActionDefinition m_syncInputJobAttachments;
102 bool m_syncInputJobAttachmentsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace deadline
107} // namespace Aws
SessionActionDefinition & WithEnvEnter(const EnvironmentEnterSessionActionDefinition &value)
SessionActionDefinition & WithEnvEnter(EnvironmentEnterSessionActionDefinition &&value)
SessionActionDefinition & WithEnvExit(EnvironmentExitSessionActionDefinition &&value)
void SetTaskRun(TaskRunSessionActionDefinition &&value)
void SetTaskRun(const TaskRunSessionActionDefinition &value)
void SetSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition &&value)
void SetSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinition &value)
SessionActionDefinition & WithSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinition &value)
const EnvironmentExitSessionActionDefinition & GetEnvExit() const
SessionActionDefinition & WithTaskRun(TaskRunSessionActionDefinition &&value)
SessionActionDefinition & WithEnvExit(const EnvironmentExitSessionActionDefinition &value)
SessionActionDefinition & WithTaskRun(const TaskRunSessionActionDefinition &value)
SessionActionDefinition & WithSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition &&value)
void SetEnvExit(const EnvironmentExitSessionActionDefinition &value)
void SetEnvEnter(const EnvironmentEnterSessionActionDefinition &value)
void SetEnvExit(EnvironmentExitSessionActionDefinition &&value)
const EnvironmentEnterSessionActionDefinition & GetEnvEnter() const
AWS_DEADLINE_API SessionActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
const TaskRunSessionActionDefinition & GetTaskRun() const
const SyncInputJobAttachmentsSessionActionDefinition & GetSyncInputJobAttachments() const
AWS_DEADLINE_API SessionActionDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetEnvEnter(EnvironmentEnterSessionActionDefinition &&value)
Aws::Utils::Json::JsonValue JsonValue