AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompatibleEnvironmentTemplateInput.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
32 {
33 public:
37 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetMajorVersion() const{ return m_majorVersion; }
45 inline bool MajorVersionHasBeenSet() const { return m_majorVersionHasBeenSet; }
46 inline void SetMajorVersion(const Aws::String& value) { m_majorVersionHasBeenSet = true; m_majorVersion = value; }
47 inline void SetMajorVersion(Aws::String&& value) { m_majorVersionHasBeenSet = true; m_majorVersion = std::move(value); }
48 inline void SetMajorVersion(const char* value) { m_majorVersionHasBeenSet = true; m_majorVersion.assign(value); }
50 inline CompatibleEnvironmentTemplateInput& WithMajorVersion(Aws::String&& value) { SetMajorVersion(std::move(value)); return *this;}
51 inline CompatibleEnvironmentTemplateInput& WithMajorVersion(const char* value) { SetMajorVersion(value); return *this;}
53
55
58 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
59 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
60 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
61 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
62 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
64 inline CompatibleEnvironmentTemplateInput& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
65 inline CompatibleEnvironmentTemplateInput& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
67 private:
68
69 Aws::String m_majorVersion;
70 bool m_majorVersionHasBeenSet = false;
71
72 Aws::String m_templateName;
73 bool m_templateNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Proton
78} // namespace Aws
AWS_PROTON_API CompatibleEnvironmentTemplateInput(Aws::Utils::Json::JsonView jsonValue)
CompatibleEnvironmentTemplateInput & WithTemplateName(const Aws::String &value)
CompatibleEnvironmentTemplateInput & WithTemplateName(const char *value)
CompatibleEnvironmentTemplateInput & WithMajorVersion(Aws::String &&value)
CompatibleEnvironmentTemplateInput & WithTemplateName(Aws::String &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PROTON_API CompatibleEnvironmentTemplateInput & operator=(Aws::Utils::Json::JsonView jsonValue)
CompatibleEnvironmentTemplateInput & WithMajorVersion(const Aws::String &value)
CompatibleEnvironmentTemplateInput & WithMajorVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue