AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DeploymentConditionalField.h
1
6#pragma once
7#include <aws/launch-wizard/LaunchWizard_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 LaunchWizard
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LAUNCHWIZARD_API DeploymentConditionalField() = default;
38 AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetComparator() const { return m_comparator; }
47 inline bool ComparatorHasBeenSet() const { return m_comparatorHasBeenSet; }
48 template<typename ComparatorT = Aws::String>
49 void SetComparator(ComparatorT&& value) { m_comparatorHasBeenSet = true; m_comparator = std::forward<ComparatorT>(value); }
50 template<typename ComparatorT = Aws::String>
51 DeploymentConditionalField& WithComparator(ComparatorT&& value) { SetComparator(std::forward<ComparatorT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 DeploymentConditionalField& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetValue() const { return m_value; }
71 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
72 template<typename ValueT = Aws::String>
73 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
74 template<typename ValueT = Aws::String>
75 DeploymentConditionalField& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
77 private:
78
79 Aws::String m_comparator;
80 bool m_comparatorHasBeenSet = false;
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
85 Aws::String m_value;
86 bool m_valueHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace LaunchWizard
91} // namespace Aws
AWS_LAUNCHWIZARD_API DeploymentConditionalField(Aws::Utils::Json::JsonView jsonValue)
DeploymentConditionalField & WithComparator(ComparatorT &&value)
AWS_LAUNCHWIZARD_API DeploymentConditionalField()=default
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentConditionalField & WithName(NameT &&value)
DeploymentConditionalField & WithValue(ValueT &&value)
AWS_LAUNCHWIZARD_API DeploymentConditionalField & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue