AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
CompatibleEnvironmentTemplateInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/proton/Proton_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Proton {
20namespace Model {
21
28 public:
29 AWS_PROTON_API CompatibleEnvironmentTemplateInput() = default;
32 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetMajorVersion() const { return m_majorVersion; }
39 inline bool MajorVersionHasBeenSet() const { return m_majorVersionHasBeenSet; }
40 template <typename MajorVersionT = Aws::String>
41 void SetMajorVersion(MajorVersionT&& value) {
42 m_majorVersionHasBeenSet = true;
43 m_majorVersion = std::forward<MajorVersionT>(value);
44 }
45 template <typename MajorVersionT = Aws::String>
47 SetMajorVersion(std::forward<MajorVersionT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTemplateName() const { return m_templateName; }
57 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
58 template <typename TemplateNameT = Aws::String>
59 void SetTemplateName(TemplateNameT&& value) {
60 m_templateNameHasBeenSet = true;
61 m_templateName = std::forward<TemplateNameT>(value);
62 }
63 template <typename TemplateNameT = Aws::String>
65 SetTemplateName(std::forward<TemplateNameT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_majorVersion;
71
72 Aws::String m_templateName;
73 bool m_majorVersionHasBeenSet = false;
74 bool m_templateNameHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Proton
79} // namespace Aws
CompatibleEnvironmentTemplateInput & WithMajorVersion(MajorVersionT &&value)
AWS_PROTON_API CompatibleEnvironmentTemplateInput(Aws::Utils::Json::JsonView jsonValue)
CompatibleEnvironmentTemplateInput & WithTemplateName(TemplateNameT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PROTON_API CompatibleEnvironmentTemplateInput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue