AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ActionConfigurationProperty.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/ActionConfigurationPropertyType.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 ActionConfigurationProperty() = 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 ActionConfigurationProperty& 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 ActionConfigurationProperty& 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 ActionConfigurationProperty& WithKey(bool value) { SetKey(value); return *this;}
73
75
83 inline bool GetSecret() const { return m_secret; }
84 inline bool SecretHasBeenSet() const { return m_secretHasBeenSet; }
85 inline void SetSecret(bool value) { m_secretHasBeenSet = true; m_secret = value; }
86 inline ActionConfigurationProperty& WithSecret(bool value) { SetSecret(value); return *this;}
88
90
100 inline bool GetQueryable() const { return m_queryable; }
101 inline bool QueryableHasBeenSet() const { return m_queryableHasBeenSet; }
102 inline void SetQueryable(bool value) { m_queryableHasBeenSet = true; m_queryable = value; }
103 inline ActionConfigurationProperty& WithQueryable(bool value) { SetQueryable(value); return *this;}
105
107
111 inline const Aws::String& GetDescription() const { return m_description; }
112 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
113 template<typename DescriptionT = Aws::String>
114 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
115 template<typename DescriptionT = Aws::String>
116 ActionConfigurationProperty& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
118
120
123 inline ActionConfigurationPropertyType GetType() const { return m_type; }
124 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
125 inline void SetType(ActionConfigurationPropertyType value) { m_typeHasBeenSet = true; m_type = value; }
128 private:
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 bool m_required{false};
134 bool m_requiredHasBeenSet = false;
135
136 bool m_key{false};
137 bool m_keyHasBeenSet = false;
138
139 bool m_secret{false};
140 bool m_secretHasBeenSet = false;
141
142 bool m_queryable{false};
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
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