AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline CodegenDependency& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CodegenDependency& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CodegenDependency& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetSupportedVersion() const{ return m_supportedVersion; }
60 inline bool SupportedVersionHasBeenSet() const { return m_supportedVersionHasBeenSet; }
61 inline void SetSupportedVersion(const Aws::String& value) { m_supportedVersionHasBeenSet = true; m_supportedVersion = value; }
62 inline void SetSupportedVersion(Aws::String&& value) { m_supportedVersionHasBeenSet = true; m_supportedVersion = std::move(value); }
63 inline void SetSupportedVersion(const char* value) { m_supportedVersionHasBeenSet = true; m_supportedVersion.assign(value); }
64 inline CodegenDependency& WithSupportedVersion(const Aws::String& value) { SetSupportedVersion(value); return *this;}
65 inline CodegenDependency& WithSupportedVersion(Aws::String&& value) { SetSupportedVersion(std::move(value)); return *this;}
66 inline CodegenDependency& WithSupportedVersion(const char* value) { SetSupportedVersion(value); return *this;}
68
70
74 inline bool GetIsSemVer() const{ return m_isSemVer; }
75 inline bool IsSemVerHasBeenSet() const { return m_isSemVerHasBeenSet; }
76 inline void SetIsSemVer(bool value) { m_isSemVerHasBeenSet = true; m_isSemVer = value; }
77 inline CodegenDependency& WithIsSemVer(bool value) { SetIsSemVer(value); return *this;}
79
81
85 inline const Aws::String& GetReason() const{ return m_reason; }
86 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
87 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
88 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
89 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
90 inline CodegenDependency& WithReason(const Aws::String& value) { SetReason(value); return *this;}
91 inline CodegenDependency& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
92 inline CodegenDependency& WithReason(const char* value) { SetReason(value); return *this;}
94 private:
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 Aws::String m_supportedVersion;
100 bool m_supportedVersionHasBeenSet = false;
101
102 bool m_isSemVer;
103 bool m_isSemVerHasBeenSet = false;
104
105 Aws::String m_reason;
106 bool m_reasonHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace AmplifyUIBuilder
111} // namespace Aws
CodegenDependency & WithName(Aws::String &&value)
CodegenDependency & WithSupportedVersion(Aws::String &&value)
CodegenDependency & WithReason(Aws::String &&value)
CodegenDependency & WithSupportedVersion(const char *value)
AWS_AMPLIFYUIBUILDER_API CodegenDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
CodegenDependency & WithName(const char *value)
CodegenDependency & WithName(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API CodegenDependency()
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
CodegenDependency & WithSupportedVersion(const Aws::String &value)
CodegenDependency & WithReason(const char *value)
AWS_AMPLIFYUIBUILDER_API CodegenDependency(Aws::Utils::Json::JsonView jsonValue)
void SetSupportedVersion(const Aws::String &value)
CodegenDependency & WithReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue