AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssignedSessionActionDefinition.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/AssignedEnvironmentEnterSessionActionDefinition.h>
9#include <aws/deadline/model/AssignedEnvironmentExitSessionActionDefinition.h>
10#include <aws/deadline/model/AssignedTaskRunSessionActionDefinition.h>
11#include <aws/deadline/model/AssignedSyncInputJobAttachmentsSessionActionDefinition.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:
40 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AssignedEnvironmentEnterSessionActionDefinition& GetEnvEnter() const{ return m_envEnter; }
48 inline bool EnvEnterHasBeenSet() const { return m_envEnterHasBeenSet; }
49 inline void SetEnvEnter(const AssignedEnvironmentEnterSessionActionDefinition& value) { m_envEnterHasBeenSet = true; m_envEnter = value; }
50 inline void SetEnvEnter(AssignedEnvironmentEnterSessionActionDefinition&& value) { m_envEnterHasBeenSet = true; m_envEnter = std::move(value); }
54
56
59 inline const AssignedEnvironmentExitSessionActionDefinition& GetEnvExit() const{ return m_envExit; }
60 inline bool EnvExitHasBeenSet() const { return m_envExitHasBeenSet; }
61 inline void SetEnvExit(const AssignedEnvironmentExitSessionActionDefinition& value) { m_envExitHasBeenSet = true; m_envExit = value; }
62 inline void SetEnvExit(AssignedEnvironmentExitSessionActionDefinition&& value) { m_envExitHasBeenSet = true; m_envExit = std::move(value); }
66
68
71 inline const AssignedTaskRunSessionActionDefinition& GetTaskRun() const{ return m_taskRun; }
72 inline bool TaskRunHasBeenSet() const { return m_taskRunHasBeenSet; }
73 inline void SetTaskRun(const AssignedTaskRunSessionActionDefinition& value) { m_taskRunHasBeenSet = true; m_taskRun = value; }
74 inline void SetTaskRun(AssignedTaskRunSessionActionDefinition&& value) { m_taskRunHasBeenSet = true; m_taskRun = std::move(value); }
78
80
83 inline const AssignedSyncInputJobAttachmentsSessionActionDefinition& GetSyncInputJobAttachments() const{ return m_syncInputJobAttachments; }
84 inline bool SyncInputJobAttachmentsHasBeenSet() const { return m_syncInputJobAttachmentsHasBeenSet; }
85 inline void SetSyncInputJobAttachments(const AssignedSyncInputJobAttachmentsSessionActionDefinition& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = value; }
86 inline void SetSyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition&& 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
102 bool m_syncInputJobAttachmentsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace deadline
107} // namespace Aws
AWS_DEADLINE_API AssignedSessionActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEnvExit(AssignedEnvironmentExitSessionActionDefinition &&value)
const AssignedSyncInputJobAttachmentsSessionActionDefinition & GetSyncInputJobAttachments() const
AssignedSessionActionDefinition & WithEnvExit(const AssignedEnvironmentExitSessionActionDefinition &value)
void SetEnvEnter(AssignedEnvironmentEnterSessionActionDefinition &&value)
void SetSyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition &&value)
AssignedSessionActionDefinition & WithTaskRun(AssignedTaskRunSessionActionDefinition &&value)
const AssignedEnvironmentEnterSessionActionDefinition & GetEnvEnter() const
AWS_DEADLINE_API AssignedSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue)
AssignedSessionActionDefinition & WithEnvExit(AssignedEnvironmentExitSessionActionDefinition &&value)
AssignedSessionActionDefinition & WithTaskRun(const AssignedTaskRunSessionActionDefinition &value)
AssignedSessionActionDefinition & WithEnvEnter(AssignedEnvironmentEnterSessionActionDefinition &&value)
void SetEnvEnter(const AssignedEnvironmentEnterSessionActionDefinition &value)
void SetSyncInputJobAttachments(const AssignedSyncInputJobAttachmentsSessionActionDefinition &value)
AssignedSessionActionDefinition & WithEnvEnter(const AssignedEnvironmentEnterSessionActionDefinition &value)
void SetTaskRun(const AssignedTaskRunSessionActionDefinition &value)
AssignedSessionActionDefinition & WithSyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
const AssignedEnvironmentExitSessionActionDefinition & GetEnvExit() const
AssignedSessionActionDefinition & WithSyncInputJobAttachments(const AssignedSyncInputJobAttachmentsSessionActionDefinition &value)
const AssignedTaskRunSessionActionDefinition & GetTaskRun() const
void SetEnvExit(const AssignedEnvironmentExitSessionActionDefinition &value)
void SetTaskRun(AssignedTaskRunSessionActionDefinition &&value)
Aws::Utils::Json::JsonValue JsonValue