AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 RuleConfigurationProperty& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline bool GetRequired() const { return m_required; }
59 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
60 inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
61 inline RuleConfigurationProperty& WithRequired(bool value) { SetRequired(value); return *this;}
63
65
68 inline bool GetKey() const { return m_key; }
69 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
70 inline void SetKey(bool value) { m_keyHasBeenSet = true; m_key = value; }
71 inline RuleConfigurationProperty& WithKey(bool value) { SetKey(value); return *this;}
73
75
80 inline bool GetSecret() const { return m_secret; }
81 inline bool SecretHasBeenSet() const { return m_secretHasBeenSet; }
82 inline void SetSecret(bool value) { m_secretHasBeenSet = true; m_secret = value; }
83 inline RuleConfigurationProperty& WithSecret(bool value) { SetSecret(value); return *this;}
85
87
94 inline bool GetQueryable() const { return m_queryable; }
95 inline bool QueryableHasBeenSet() const { return m_queryableHasBeenSet; }
96 inline void SetQueryable(bool value) { m_queryableHasBeenSet = true; m_queryable = value; }
97 inline RuleConfigurationProperty& WithQueryable(bool value) { SetQueryable(value); return *this;}
99
101
105 inline const Aws::String& GetDescription() const { return m_description; }
106 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
107 template<typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
109 template<typename DescriptionT = Aws::String>
110 RuleConfigurationProperty& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
112
114
117 inline RuleConfigurationPropertyType GetType() const { return m_type; }
118 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
119 inline void SetType(RuleConfigurationPropertyType value) { m_typeHasBeenSet = true; m_type = value; }
122 private:
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 bool m_required{false};
128 bool m_requiredHasBeenSet = false;
129
130 bool m_key{false};
131 bool m_keyHasBeenSet = false;
132
133 bool m_secret{false};
134 bool m_secretHasBeenSet = false;
135
136 bool m_queryable{false};
137 bool m_queryableHasBeenSet = false;
138
139 Aws::String m_description;
140 bool m_descriptionHasBeenSet = false;
141
143 bool m_typeHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace CodePipeline
148} // namespace Aws
AWS_CODEPIPELINE_API RuleConfigurationProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleConfigurationProperty & WithName(NameT &&value)
AWS_CODEPIPELINE_API RuleConfigurationProperty()=default
AWS_CODEPIPELINE_API RuleConfigurationProperty(Aws::Utils::Json::JsonView jsonValue)
RuleConfigurationProperty & WithQueryable(bool value)
RuleConfigurationProperty & WithDescription(DescriptionT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
RuleConfigurationProperty & WithType(RuleConfigurationPropertyType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue