AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentExitSessionActionDefinition.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
33 {
34 public:
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
46 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
47 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
48 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
49 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
51 inline EnvironmentExitSessionActionDefinition& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
52 inline EnvironmentExitSessionActionDefinition& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
54 private:
55
56 Aws::String m_environmentId;
57 bool m_environmentIdHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace deadline
62} // namespace Aws
EnvironmentExitSessionActionDefinition & WithEnvironmentId(Aws::String &&value)
EnvironmentExitSessionActionDefinition & WithEnvironmentId(const Aws::String &value)
AWS_DEADLINE_API EnvironmentExitSessionActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentExitSessionActionDefinition & WithEnvironmentId(const char *value)
AWS_DEADLINE_API EnvironmentExitSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue