AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleConfigurationProperty.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/RuleConfigurationPropertyType.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 CodePipeline
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODEPIPELINE_API RuleConfigurationProperty();
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline RuleConfigurationProperty& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline RuleConfigurationProperty& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline RuleConfigurationProperty& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline bool GetRequired() const{ return m_required; }
61 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
62 inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
63 inline RuleConfigurationProperty& WithRequired(bool value) { SetRequired(value); return *this;}
65
67
70 inline bool GetKey() const{ return m_key; }
71 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
72 inline void SetKey(bool value) { m_keyHasBeenSet = true; m_key = value; }
73 inline RuleConfigurationProperty& WithKey(bool value) { SetKey(value); return *this;}
75
77
82 inline bool GetSecret() const{ return m_secret; }
83 inline bool SecretHasBeenSet() const { return m_secretHasBeenSet; }
84 inline void SetSecret(bool value) { m_secretHasBeenSet = true; m_secret = value; }
85 inline RuleConfigurationProperty& WithSecret(bool value) { SetSecret(value); return *this;}
87
89
96 inline bool GetQueryable() const{ return m_queryable; }
97 inline bool QueryableHasBeenSet() const { return m_queryableHasBeenSet; }
98 inline void SetQueryable(bool value) { m_queryableHasBeenSet = true; m_queryable = value; }
99 inline RuleConfigurationProperty& WithQueryable(bool value) { SetQueryable(value); return *this;}
101
103
107 inline const Aws::String& GetDescription() const{ return m_description; }
108 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
109 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
110 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
111 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
112 inline RuleConfigurationProperty& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
113 inline RuleConfigurationProperty& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
114 inline RuleConfigurationProperty& WithDescription(const char* value) { SetDescription(value); return *this;}
116
118
121 inline const RuleConfigurationPropertyType& GetType() const{ return m_type; }
122 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
123 inline void SetType(const RuleConfigurationPropertyType& value) { m_typeHasBeenSet = true; m_type = value; }
124 inline void SetType(RuleConfigurationPropertyType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
125 inline RuleConfigurationProperty& WithType(const RuleConfigurationPropertyType& value) { SetType(value); return *this;}
126 inline RuleConfigurationProperty& WithType(RuleConfigurationPropertyType&& value) { SetType(std::move(value)); return *this;}
128 private:
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 bool m_required;
134 bool m_requiredHasBeenSet = false;
135
136 bool m_key;
137 bool m_keyHasBeenSet = false;
138
139 bool m_secret;
140 bool m_secretHasBeenSet = false;
141
142 bool m_queryable;
143 bool m_queryableHasBeenSet = false;
144
145 Aws::String m_description;
146 bool m_descriptionHasBeenSet = false;
147
149 bool m_typeHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace CodePipeline
154} // namespace Aws
RuleConfigurationProperty & WithDescription(const Aws::String &value)
AWS_CODEPIPELINE_API RuleConfigurationProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleConfigurationProperty & WithName(const char *value)
RuleConfigurationProperty & WithDescription(const char *value)
RuleConfigurationProperty & WithName(const Aws::String &value)
RuleConfigurationProperty & WithType(const RuleConfigurationPropertyType &value)
RuleConfigurationProperty & WithName(Aws::String &&value)
AWS_CODEPIPELINE_API RuleConfigurationProperty(Aws::Utils::Json::JsonView jsonValue)
const RuleConfigurationPropertyType & GetType() const
RuleConfigurationProperty & WithType(RuleConfigurationPropertyType &&value)
void SetType(const RuleConfigurationPropertyType &value)
RuleConfigurationProperty & WithQueryable(bool value)
RuleConfigurationProperty & WithDescription(Aws::String &&value)
void SetType(RuleConfigurationPropertyType &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue