AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 ActionConfigurationProperty& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ActionConfigurationProperty& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ActionConfigurationProperty& 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 ActionConfigurationProperty& 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 ActionConfigurationProperty& WithKey(bool value) { SetKey(value); return *this;}
75
77
85 inline bool GetSecret() const{ return m_secret; }
86 inline bool SecretHasBeenSet() const { return m_secretHasBeenSet; }
87 inline void SetSecret(bool value) { m_secretHasBeenSet = true; m_secret = value; }
88 inline ActionConfigurationProperty& WithSecret(bool value) { SetSecret(value); return *this;}
90
92
102 inline bool GetQueryable() const{ return m_queryable; }
103 inline bool QueryableHasBeenSet() const { return m_queryableHasBeenSet; }
104 inline void SetQueryable(bool value) { m_queryableHasBeenSet = true; m_queryable = value; }
105 inline ActionConfigurationProperty& WithQueryable(bool value) { SetQueryable(value); return *this;}
107
109
113 inline const Aws::String& GetDescription() const{ return m_description; }
114 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
115 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
116 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
117 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
118 inline ActionConfigurationProperty& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
119 inline ActionConfigurationProperty& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
120 inline ActionConfigurationProperty& WithDescription(const char* value) { SetDescription(value); return *this;}
122
124
127 inline const ActionConfigurationPropertyType& GetType() const{ return m_type; }
128 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
129 inline void SetType(const ActionConfigurationPropertyType& value) { m_typeHasBeenSet = true; m_type = value; }
130 inline void SetType(ActionConfigurationPropertyType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
132 inline ActionConfigurationProperty& WithType(ActionConfigurationPropertyType&& value) { SetType(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 bool m_required;
140 bool m_requiredHasBeenSet = false;
141
142 bool m_key;
143 bool m_keyHasBeenSet = false;
144
145 bool m_secret;
146 bool m_secretHasBeenSet = false;
147
148 bool m_queryable;
149 bool m_queryableHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
155 bool m_typeHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace CodePipeline
160} // namespace Aws
ActionConfigurationProperty & WithDescription(Aws::String &&value)
ActionConfigurationProperty & WithName(Aws::String &&value)
const ActionConfigurationPropertyType & GetType() const
ActionConfigurationProperty & WithType(const ActionConfigurationPropertyType &value)
ActionConfigurationProperty & WithName(const char *value)
ActionConfigurationProperty & WithName(const Aws::String &value)
AWS_CODEPIPELINE_API ActionConfigurationProperty(Aws::Utils::Json::JsonView jsonValue)
void SetType(ActionConfigurationPropertyType &&value)
ActionConfigurationProperty & WithDescription(const Aws::String &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ActionConfigurationProperty & WithDescription(const char *value)
AWS_CODEPIPELINE_API ActionConfigurationProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionConfigurationProperty & WithType(ActionConfigurationPropertyType &&value)
void SetType(const ActionConfigurationPropertyType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue