AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComparator(const Aws::String& value) { m_comparatorHasBeenSet = true; m_comparator = value; }
49 inline void SetComparator(Aws::String&& value) { m_comparatorHasBeenSet = true; m_comparator = std::move(value); }
50 inline void SetComparator(const char* value) { m_comparatorHasBeenSet = true; m_comparator.assign(value); }
51 inline DeploymentConditionalField& WithComparator(const Aws::String& value) { SetComparator(value); return *this;}
52 inline DeploymentConditionalField& WithComparator(Aws::String&& value) { SetComparator(std::move(value)); return *this;}
53 inline DeploymentConditionalField& WithComparator(const char* value) { SetComparator(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline DeploymentConditionalField& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline DeploymentConditionalField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline DeploymentConditionalField& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetValue() const{ return m_value; }
75 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
76 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
77 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
78 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
79 inline DeploymentConditionalField& WithValue(const Aws::String& value) { SetValue(value); return *this;}
80 inline DeploymentConditionalField& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
81 inline DeploymentConditionalField& WithValue(const char* value) { SetValue(value); return *this;}
83 private:
84
85 Aws::String m_comparator;
86 bool m_comparatorHasBeenSet = false;
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90
91 Aws::String m_value;
92 bool m_valueHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace LaunchWizard
97} // namespace Aws
DeploymentConditionalField & WithName(const Aws::String &value)
AWS_LAUNCHWIZARD_API DeploymentConditionalField(Aws::Utils::Json::JsonView jsonValue)
DeploymentConditionalField & WithValue(Aws::String &&value)
DeploymentConditionalField & WithName(const char *value)
DeploymentConditionalField & WithComparator(const char *value)
DeploymentConditionalField & WithName(Aws::String &&value)
DeploymentConditionalField & WithComparator(const Aws::String &value)
DeploymentConditionalField & WithValue(const char *value)
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentConditionalField & WithComparator(Aws::String &&value)
DeploymentConditionalField & WithValue(const Aws::String &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