AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CodegenDependency.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_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 AmplifyUIBuilder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AMPLIFYUIBUILDER_API CodegenDependency() = default;
36 AWS_AMPLIFYUIBUILDER_API CodegenDependency(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFYUIBUILDER_API CodegenDependency& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 CodegenDependency& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetSupportedVersion() const { return m_supportedVersion; }
58 inline bool SupportedVersionHasBeenSet() const { return m_supportedVersionHasBeenSet; }
59 template<typename SupportedVersionT = Aws::String>
60 void SetSupportedVersion(SupportedVersionT&& value) { m_supportedVersionHasBeenSet = true; m_supportedVersion = std::forward<SupportedVersionT>(value); }
61 template<typename SupportedVersionT = Aws::String>
62 CodegenDependency& WithSupportedVersion(SupportedVersionT&& value) { SetSupportedVersion(std::forward<SupportedVersionT>(value)); return *this;}
64
66
70 inline bool GetIsSemVer() const { return m_isSemVer; }
71 inline bool IsSemVerHasBeenSet() const { return m_isSemVerHasBeenSet; }
72 inline void SetIsSemVer(bool value) { m_isSemVerHasBeenSet = true; m_isSemVer = value; }
73 inline CodegenDependency& WithIsSemVer(bool value) { SetIsSemVer(value); return *this;}
75
77
81 inline const Aws::String& GetReason() const { return m_reason; }
82 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
83 template<typename ReasonT = Aws::String>
84 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
85 template<typename ReasonT = Aws::String>
86 CodegenDependency& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::String m_supportedVersion;
94 bool m_supportedVersionHasBeenSet = false;
95
96 bool m_isSemVer{false};
97 bool m_isSemVerHasBeenSet = false;
98
99 Aws::String m_reason;
100 bool m_reasonHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace AmplifyUIBuilder
105} // namespace Aws
AWS_AMPLIFYUIBUILDER_API CodegenDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSupportedVersion(SupportedVersionT &&value)
CodegenDependency & WithName(NameT &&value)
AWS_AMPLIFYUIBUILDER_API CodegenDependency()=default
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYUIBUILDER_API CodegenDependency(Aws::Utils::Json::JsonView jsonValue)
CodegenDependency & WithSupportedVersion(SupportedVersionT &&value)
CodegenDependency & WithReason(ReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue