AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServicePipelineState.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 ServicePipelineState();
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 ServicePipelineState& WithSpec(const Aws::String& value) { SetSpec(value); return *this;}
51 inline ServicePipelineState& WithSpec(Aws::String&& value) { SetSpec(std::move(value)); return *this;}
52 inline ServicePipelineState& 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 ServicePipelineState& WithTemplateMajorVersion(Aws::String&& value) { SetTemplateMajorVersion(std::move(value)); return *this;}
67 inline ServicePipelineState& 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 ServicePipelineState& WithTemplateMinorVersion(Aws::String&& value) { SetTemplateMinorVersion(std::move(value)); return *this;}
82 inline ServicePipelineState& 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 ServicePipelineState& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
96 inline ServicePipelineState& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
97 inline ServicePipelineState& 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
const Aws::String & GetTemplateMajorVersion() const
ServicePipelineState & WithSpec(const char *value)
AWS_PROTON_API ServicePipelineState(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateMajorVersion(const Aws::String &value)
const Aws::String & GetTemplateMinorVersion() const
ServicePipelineState & WithSpec(const Aws::String &value)
ServicePipelineState & WithTemplateMajorVersion(const char *value)
ServicePipelineState & WithSpec(Aws::String &&value)
ServicePipelineState & WithTemplateMinorVersion(const Aws::String &value)
ServicePipelineState & WithTemplateName(const char *value)
ServicePipelineState & WithTemplateName(const Aws::String &value)
ServicePipelineState & WithTemplateMinorVersion(const char *value)
void SetTemplateMinorVersion(const Aws::String &value)
ServicePipelineState & WithTemplateMinorVersion(Aws::String &&value)
void SetTemplateMinorVersion(Aws::String &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ServicePipelineState & WithTemplateMajorVersion(const Aws::String &value)
AWS_PROTON_API ServicePipelineState & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateName(const Aws::String &value)
ServicePipelineState & WithTemplateMajorVersion(Aws::String &&value)
ServicePipelineState & WithTemplateName(Aws::String &&value)
void SetTemplateMajorVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue