AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentState.h
1
6#pragma once
7#include <aws/proton/Proton_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 Proton
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PROTON_API EnvironmentState();
38 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSpec() const{ return m_spec; }
46 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
47 inline void SetSpec(const Aws::String& value) { m_specHasBeenSet = true; m_spec = value; }
48 inline void SetSpec(Aws::String&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
49 inline void SetSpec(const char* value) { m_specHasBeenSet = true; m_spec.assign(value); }
50 inline EnvironmentState& WithSpec(const Aws::String& value) { SetSpec(value); return *this;}
51 inline EnvironmentState& WithSpec(Aws::String&& value) { SetSpec(std::move(value)); return *this;}
52 inline EnvironmentState& WithSpec(const char* value) { SetSpec(value); return *this;}
54
56
60 inline const Aws::String& GetTemplateMajorVersion() const{ return m_templateMajorVersion; }
61 inline bool TemplateMajorVersionHasBeenSet() const { return m_templateMajorVersionHasBeenSet; }
62 inline void SetTemplateMajorVersion(const Aws::String& value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion = value; }
63 inline void SetTemplateMajorVersion(Aws::String&& value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion = std::move(value); }
64 inline void SetTemplateMajorVersion(const char* value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion.assign(value); }
66 inline EnvironmentState& WithTemplateMajorVersion(Aws::String&& value) { SetTemplateMajorVersion(std::move(value)); return *this;}
67 inline EnvironmentState& WithTemplateMajorVersion(const char* value) { SetTemplateMajorVersion(value); return *this;}
69
71
75 inline const Aws::String& GetTemplateMinorVersion() const{ return m_templateMinorVersion; }
76 inline bool TemplateMinorVersionHasBeenSet() const { return m_templateMinorVersionHasBeenSet; }
77 inline void SetTemplateMinorVersion(const Aws::String& value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion = value; }
78 inline void SetTemplateMinorVersion(Aws::String&& value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion = std::move(value); }
79 inline void SetTemplateMinorVersion(const char* value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion.assign(value); }
81 inline EnvironmentState& WithTemplateMinorVersion(Aws::String&& value) { SetTemplateMinorVersion(std::move(value)); return *this;}
82 inline EnvironmentState& WithTemplateMinorVersion(const char* value) { SetTemplateMinorVersion(value); return *this;}
84
86
90 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
91 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
92 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
93 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
94 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
95 inline EnvironmentState& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
96 inline EnvironmentState& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
97 inline EnvironmentState& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
99 private:
100
101 Aws::String m_spec;
102 bool m_specHasBeenSet = false;
103
104 Aws::String m_templateMajorVersion;
105 bool m_templateMajorVersionHasBeenSet = false;
106
107 Aws::String m_templateMinorVersion;
108 bool m_templateMinorVersionHasBeenSet = false;
109
110 Aws::String m_templateName;
111 bool m_templateNameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Proton
116} // namespace Aws
void SetTemplateMajorVersion(const Aws::String &value)
EnvironmentState & WithTemplateName(const char *value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PROTON_API EnvironmentState(Aws::Utils::Json::JsonView jsonValue)
void SetSpec(const Aws::String &value)
EnvironmentState & WithTemplateMinorVersion(Aws::String &&value)
void SetTemplateMajorVersion(Aws::String &&value)
EnvironmentState & WithTemplateMajorVersion(const char *value)
void SetTemplateName(Aws::String &&value)
void SetTemplateMinorVersion(const char *value)
EnvironmentState & WithTemplateMajorVersion(Aws::String &&value)
EnvironmentState & WithTemplateName(const Aws::String &value)
void SetTemplateMajorVersion(const char *value)
void SetTemplateName(const char *value)
EnvironmentState & WithTemplateMajorVersion(const Aws::String &value)
void SetTemplateMinorVersion(const Aws::String &value)
EnvironmentState & WithSpec(const Aws::String &value)
const Aws::String & GetTemplateMajorVersion() const
const Aws::String & GetTemplateName() const
EnvironmentState & WithTemplateMinorVersion(const Aws::String &value)
void SetTemplateMinorVersion(Aws::String &&value)
const Aws::String & GetSpec() const
EnvironmentState & WithTemplateName(Aws::String &&value)
EnvironmentState & WithSpec(Aws::String &&value)
void SetTemplateName(const Aws::String &value)
EnvironmentState & WithTemplateMinorVersion(const char *value)
AWS_PROTON_API EnvironmentState & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentState & WithSpec(const char *value)
const Aws::String & GetTemplateMinorVersion() const
void SetSpec(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue