AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssignedSessionAction.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/AssignedSessionActionDefinition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace deadline
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DEADLINE_API AssignedSessionAction();
39 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSessionActionId() const{ return m_sessionActionId; }
47 inline bool SessionActionIdHasBeenSet() const { return m_sessionActionIdHasBeenSet; }
48 inline void SetSessionActionId(const Aws::String& value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId = value; }
49 inline void SetSessionActionId(Aws::String&& value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId = std::move(value); }
50 inline void SetSessionActionId(const char* value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId.assign(value); }
51 inline AssignedSessionAction& WithSessionActionId(const Aws::String& value) { SetSessionActionId(value); return *this;}
52 inline AssignedSessionAction& WithSessionActionId(Aws::String&& value) { SetSessionActionId(std::move(value)); return *this;}
53 inline AssignedSessionAction& WithSessionActionId(const char* value) { SetSessionActionId(value); return *this;}
55
57
60 inline const AssignedSessionActionDefinition& GetDefinition() const{ return m_definition; }
61 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
62 inline void SetDefinition(const AssignedSessionActionDefinition& value) { m_definitionHasBeenSet = true; m_definition = value; }
63 inline void SetDefinition(AssignedSessionActionDefinition&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
65 inline AssignedSessionAction& WithDefinition(AssignedSessionActionDefinition&& value) { SetDefinition(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_sessionActionId;
70 bool m_sessionActionIdHasBeenSet = false;
71
73 bool m_definitionHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace deadline
78} // namespace Aws
AssignedSessionAction & WithSessionActionId(Aws::String &&value)
const AssignedSessionActionDefinition & GetDefinition() const
void SetDefinition(AssignedSessionActionDefinition &&value)
void SetDefinition(const AssignedSessionActionDefinition &value)
AssignedSessionAction & WithDefinition(AssignedSessionActionDefinition &&value)
AWS_DEADLINE_API AssignedSessionAction(Aws::Utils::Json::JsonView jsonValue)
AssignedSessionAction & WithSessionActionId(const Aws::String &value)
AssignedSessionAction & WithDefinition(const AssignedSessionActionDefinition &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSessionActionId(const Aws::String &value)
AWS_DEADLINE_API AssignedSessionAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AssignedSessionAction & WithSessionActionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue