AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentDetailsEntity.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.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
33 {
34 public:
35 AWS_DEADLINE_API EnvironmentDetailsEntity();
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetJobId() const{ return m_jobId; }
46 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
47 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
48 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
49 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
50 inline EnvironmentDetailsEntity& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
51 inline EnvironmentDetailsEntity& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
52 inline EnvironmentDetailsEntity& WithJobId(const char* value) { SetJobId(value); return *this;}
54
56
59 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
60 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
61 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
62 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
63 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
64 inline EnvironmentDetailsEntity& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
65 inline EnvironmentDetailsEntity& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
66 inline EnvironmentDetailsEntity& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
68
70
73 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
74 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
75 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
76 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
77 inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
78 inline EnvironmentDetailsEntity& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
79 inline EnvironmentDetailsEntity& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
80 inline EnvironmentDetailsEntity& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
82
84
87 inline Aws::Utils::DocumentView GetTemplate() const{ return m_template; }
88 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
89 inline void SetTemplate(const Aws::Utils::Document& value) { m_templateHasBeenSet = true; m_template = value; }
90 inline void SetTemplate(Aws::Utils::Document&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
91 inline EnvironmentDetailsEntity& WithTemplate(const Aws::Utils::Document& value) { SetTemplate(value); return *this;}
92 inline EnvironmentDetailsEntity& WithTemplate(Aws::Utils::Document&& value) { SetTemplate(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_jobId;
97 bool m_jobIdHasBeenSet = false;
98
99 Aws::String m_environmentId;
100 bool m_environmentIdHasBeenSet = false;
101
102 Aws::String m_schemaVersion;
103 bool m_schemaVersionHasBeenSet = false;
104
105 Aws::Utils::Document m_template;
106 bool m_templateHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace deadline
111} // namespace Aws
EnvironmentDetailsEntity & WithTemplate(const Aws::Utils::Document &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentDetailsEntity & WithSchemaVersion(Aws::String &&value)
EnvironmentDetailsEntity & WithSchemaVersion(const Aws::String &value)
EnvironmentDetailsEntity & WithJobId(const Aws::String &value)
EnvironmentDetailsEntity & WithEnvironmentId(const Aws::String &value)
AWS_DEADLINE_API EnvironmentDetailsEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentDetailsEntity & WithEnvironmentId(const char *value)
AWS_DEADLINE_API EnvironmentDetailsEntity(Aws::Utils::Json::JsonView jsonValue)
EnvironmentDetailsEntity & WithSchemaVersion(const char *value)
EnvironmentDetailsEntity & WithTemplate(Aws::Utils::Document &&value)
EnvironmentDetailsEntity & WithJobId(const char *value)
EnvironmentDetailsEntity & WithEnvironmentId(Aws::String &&value)
EnvironmentDetailsEntity & WithJobId(Aws::String &&value)
void SetTemplate(const Aws::Utils::Document &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue