AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentDependencyRequirement.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrassv2/model/ComponentDependencyType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GreengrassV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GREENGRASSV2_API ComponentDependencyRequirement();
39 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetVersionRequirement() const{ return m_versionRequirement; }
49 inline bool VersionRequirementHasBeenSet() const { return m_versionRequirementHasBeenSet; }
50 inline void SetVersionRequirement(const Aws::String& value) { m_versionRequirementHasBeenSet = true; m_versionRequirement = value; }
51 inline void SetVersionRequirement(Aws::String&& value) { m_versionRequirementHasBeenSet = true; m_versionRequirement = std::move(value); }
52 inline void SetVersionRequirement(const char* value) { m_versionRequirementHasBeenSet = true; m_versionRequirement.assign(value); }
55 inline ComponentDependencyRequirement& WithVersionRequirement(const char* value) { SetVersionRequirement(value); return *this;}
57
59
65 inline const ComponentDependencyType& GetDependencyType() const{ return m_dependencyType; }
66 inline bool DependencyTypeHasBeenSet() const { return m_dependencyTypeHasBeenSet; }
67 inline void SetDependencyType(const ComponentDependencyType& value) { m_dependencyTypeHasBeenSet = true; m_dependencyType = value; }
68 inline void SetDependencyType(ComponentDependencyType&& value) { m_dependencyTypeHasBeenSet = true; m_dependencyType = std::move(value); }
72 private:
73
74 Aws::String m_versionRequirement;
75 bool m_versionRequirementHasBeenSet = false;
76
77 ComponentDependencyType m_dependencyType;
78 bool m_dependencyTypeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace GreengrassV2
83} // namespace Aws
ComponentDependencyRequirement & WithDependencyType(const ComponentDependencyType &value)
ComponentDependencyRequirement & WithVersionRequirement(Aws::String &&value)
ComponentDependencyRequirement & WithVersionRequirement(const char *value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASSV2_API ComponentDependencyRequirement(Aws::Utils::Json::JsonView jsonValue)
ComponentDependencyRequirement & WithVersionRequirement(const Aws::String &value)
AWS_GREENGRASSV2_API ComponentDependencyRequirement & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentDependencyRequirement & WithDependencyType(ComponentDependencyType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue