AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ActionConfigurationProperty.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ActionConfigurationPropertyType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodePipeline {
21namespace Model {
22
30 public:
31 AWS_CODEPIPELINE_API ActionConfigurationProperty() = default;
34 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline bool GetRequired() const { return m_required; }
59 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
60 inline void SetRequired(bool value) {
61 m_requiredHasBeenSet = true;
62 m_required = value;
63 }
65 SetRequired(value);
66 return *this;
67 }
69
71
74 inline bool GetKey() const { return m_key; }
75 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
76 inline void SetKey(bool value) {
77 m_keyHasBeenSet = true;
78 m_key = value;
79 }
81 SetKey(value);
82 return *this;
83 }
85
87
95 inline bool GetSecret() const { return m_secret; }
96 inline bool SecretHasBeenSet() const { return m_secretHasBeenSet; }
97 inline void SetSecret(bool value) {
98 m_secretHasBeenSet = true;
99 m_secret = value;
100 }
102 SetSecret(value);
103 return *this;
104 }
106
108
118 inline bool GetQueryable() const { return m_queryable; }
119 inline bool QueryableHasBeenSet() const { return m_queryableHasBeenSet; }
120 inline void SetQueryable(bool value) {
121 m_queryableHasBeenSet = true;
122 m_queryable = value;
123 }
125 SetQueryable(value);
126 return *this;
127 }
129
131
135 inline const Aws::String& GetDescription() const { return m_description; }
136 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
137 template <typename DescriptionT = Aws::String>
138 void SetDescription(DescriptionT&& value) {
139 m_descriptionHasBeenSet = true;
140 m_description = std::forward<DescriptionT>(value);
141 }
142 template <typename DescriptionT = Aws::String>
144 SetDescription(std::forward<DescriptionT>(value));
145 return *this;
146 }
148
150
153 inline ActionConfigurationPropertyType GetType() const { return m_type; }
154 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
156 m_typeHasBeenSet = true;
157 m_type = value;
158 }
160 SetType(value);
161 return *this;
162 }
164 private:
165 Aws::String m_name;
166
167 bool m_required{false};
168
169 bool m_key{false};
170
171 bool m_secret{false};
172
173 bool m_queryable{false};
174
175 Aws::String m_description;
176
178 bool m_nameHasBeenSet = false;
179 bool m_requiredHasBeenSet = false;
180 bool m_keyHasBeenSet = false;
181 bool m_secretHasBeenSet = false;
182 bool m_queryableHasBeenSet = false;
183 bool m_descriptionHasBeenSet = false;
184 bool m_typeHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace CodePipeline
189} // namespace Aws
ActionConfigurationProperty & WithDescription(DescriptionT &&value)
AWS_CODEPIPELINE_API ActionConfigurationProperty(Aws::Utils::Json::JsonView jsonValue)
ActionConfigurationProperty & WithName(NameT &&value)
AWS_CODEPIPELINE_API ActionConfigurationProperty()=default
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEPIPELINE_API ActionConfigurationProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionConfigurationProperty & WithType(ActionConfigurationPropertyType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue