AWS SDK for C++  1.9.106
AWS SDK for C++
ActionType.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace CodePipeline
26 {
27 namespace Model
28 {
29 
37  {
38  public:
43 
44 
48  inline const ActionTypeId& GetId() const{ return m_id; }
49 
53  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
54 
58  inline void SetId(const ActionTypeId& value) { m_idHasBeenSet = true; m_id = value; }
59 
63  inline void SetId(ActionTypeId&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 
68  inline ActionType& WithId(const ActionTypeId& value) { SetId(value); return *this;}
69 
73  inline ActionType& WithId(ActionTypeId&& value) { SetId(std::move(value)); return *this;}
74 
75 
79  inline const ActionTypeSettings& GetSettings() const{ return m_settings; }
80 
84  inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
85 
89  inline void SetSettings(const ActionTypeSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
90 
94  inline void SetSettings(ActionTypeSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
95 
99  inline ActionType& WithSettings(const ActionTypeSettings& value) { SetSettings(value); return *this;}
100 
104  inline ActionType& WithSettings(ActionTypeSettings&& value) { SetSettings(std::move(value)); return *this;}
105 
106 
110  inline const Aws::Vector<ActionConfigurationProperty>& GetActionConfigurationProperties() const{ return m_actionConfigurationProperties; }
111 
115  inline bool ActionConfigurationPropertiesHasBeenSet() const { return m_actionConfigurationPropertiesHasBeenSet; }
116 
120  inline void SetActionConfigurationProperties(const Aws::Vector<ActionConfigurationProperty>& value) { m_actionConfigurationPropertiesHasBeenSet = true; m_actionConfigurationProperties = value; }
121 
125  inline void SetActionConfigurationProperties(Aws::Vector<ActionConfigurationProperty>&& value) { m_actionConfigurationPropertiesHasBeenSet = true; m_actionConfigurationProperties = std::move(value); }
126 
130  inline ActionType& WithActionConfigurationProperties(const Aws::Vector<ActionConfigurationProperty>& value) { SetActionConfigurationProperties(value); return *this;}
131 
135  inline ActionType& WithActionConfigurationProperties(Aws::Vector<ActionConfigurationProperty>&& value) { SetActionConfigurationProperties(std::move(value)); return *this;}
136 
140  inline ActionType& AddActionConfigurationProperties(const ActionConfigurationProperty& value) { m_actionConfigurationPropertiesHasBeenSet = true; m_actionConfigurationProperties.push_back(value); return *this; }
141 
145  inline ActionType& AddActionConfigurationProperties(ActionConfigurationProperty&& value) { m_actionConfigurationPropertiesHasBeenSet = true; m_actionConfigurationProperties.push_back(std::move(value)); return *this; }
146 
147 
151  inline const ArtifactDetails& GetInputArtifactDetails() const{ return m_inputArtifactDetails; }
152 
156  inline bool InputArtifactDetailsHasBeenSet() const { return m_inputArtifactDetailsHasBeenSet; }
157 
161  inline void SetInputArtifactDetails(const ArtifactDetails& value) { m_inputArtifactDetailsHasBeenSet = true; m_inputArtifactDetails = value; }
162 
166  inline void SetInputArtifactDetails(ArtifactDetails&& value) { m_inputArtifactDetailsHasBeenSet = true; m_inputArtifactDetails = std::move(value); }
167 
171  inline ActionType& WithInputArtifactDetails(const ArtifactDetails& value) { SetInputArtifactDetails(value); return *this;}
172 
176  inline ActionType& WithInputArtifactDetails(ArtifactDetails&& value) { SetInputArtifactDetails(std::move(value)); return *this;}
177 
178 
182  inline const ArtifactDetails& GetOutputArtifactDetails() const{ return m_outputArtifactDetails; }
183 
187  inline bool OutputArtifactDetailsHasBeenSet() const { return m_outputArtifactDetailsHasBeenSet; }
188 
192  inline void SetOutputArtifactDetails(const ArtifactDetails& value) { m_outputArtifactDetailsHasBeenSet = true; m_outputArtifactDetails = value; }
193 
197  inline void SetOutputArtifactDetails(ArtifactDetails&& value) { m_outputArtifactDetailsHasBeenSet = true; m_outputArtifactDetails = std::move(value); }
198 
202  inline ActionType& WithOutputArtifactDetails(const ArtifactDetails& value) { SetOutputArtifactDetails(value); return *this;}
203 
207  inline ActionType& WithOutputArtifactDetails(ArtifactDetails&& value) { SetOutputArtifactDetails(std::move(value)); return *this;}
208 
209  private:
210 
211  ActionTypeId m_id;
212  bool m_idHasBeenSet;
213 
214  ActionTypeSettings m_settings;
215  bool m_settingsHasBeenSet;
216 
217  Aws::Vector<ActionConfigurationProperty> m_actionConfigurationProperties;
218  bool m_actionConfigurationPropertiesHasBeenSet;
219 
220  ArtifactDetails m_inputArtifactDetails;
221  bool m_inputArtifactDetailsHasBeenSet;
222 
223  ArtifactDetails m_outputArtifactDetails;
224  bool m_outputArtifactDetailsHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace CodePipeline
229 } // namespace Aws
Aws::CodePipeline::Model::ActionType::GetInputArtifactDetails
const ArtifactDetails & GetInputArtifactDetails() const
Definition: ActionType.h:151
Aws::CodePipeline::Model::ActionTypeId
Definition: ActionTypeId.h:34
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::ActionTypeSettings
Definition: ActionTypeSettings.h:33
Aws::CodePipeline::Model::ActionType::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::ActionType::SetOutputArtifactDetails
void SetOutputArtifactDetails(ArtifactDetails &&value)
Definition: ActionType.h:197
Aws::CodePipeline::Model::ActionType::WithActionConfigurationProperties
ActionType & WithActionConfigurationProperties(Aws::Vector< ActionConfigurationProperty > &&value)
Definition: ActionType.h:135
Aws::CodePipeline::Model::ActionType::OutputArtifactDetailsHasBeenSet
bool OutputArtifactDetailsHasBeenSet() const
Definition: ActionType.h:187
ActionConfigurationProperty.h
Aws::CodePipeline::Model::ActionType::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ActionType.h:53
Aws::CodePipeline::Model::ActionType::AddActionConfigurationProperties
ActionType & AddActionConfigurationProperties(ActionConfigurationProperty &&value)
Definition: ActionType.h:145
Aws::CodePipeline::Model::ActionType::WithInputArtifactDetails
ActionType & WithInputArtifactDetails(ArtifactDetails &&value)
Definition: ActionType.h:176
Aws::CodePipeline::Model::ActionType::SetSettings
void SetSettings(const ActionTypeSettings &value)
Definition: ActionType.h:89
ArtifactDetails.h
Aws::CodePipeline::Model::ActionType::WithOutputArtifactDetails
ActionType & WithOutputArtifactDetails(const ArtifactDetails &value)
Definition: ActionType.h:202
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodePipeline::Model::ActionType::SetInputArtifactDetails
void SetInputArtifactDetails(ArtifactDetails &&value)
Definition: ActionType.h:166
Aws::CodePipeline::Model::ActionType::WithOutputArtifactDetails
ActionType & WithOutputArtifactDetails(ArtifactDetails &&value)
Definition: ActionType.h:207
Aws::CodePipeline::Model::ActionType::SetActionConfigurationProperties
void SetActionConfigurationProperties(Aws::Vector< ActionConfigurationProperty > &&value)
Definition: ActionType.h:125
Aws::CodePipeline::Model::ActionType::InputArtifactDetailsHasBeenSet
bool InputArtifactDetailsHasBeenSet() const
Definition: ActionType.h:156
AWSVector.h
Aws::CodePipeline::Model::ActionType::GetOutputArtifactDetails
const ArtifactDetails & GetOutputArtifactDetails() const
Definition: ActionType.h:182
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::ActionType::WithId
ActionType & WithId(const ActionTypeId &value)
Definition: ActionType.h:68
Aws::CodePipeline::Model::ActionType::ActionConfigurationPropertiesHasBeenSet
bool ActionConfigurationPropertiesHasBeenSet() const
Definition: ActionType.h:115
Aws::CodePipeline::Model::ActionConfigurationProperty
Definition: ActionConfigurationProperty.h:34
Aws::CodePipeline::Model::ArtifactDetails
Definition: ArtifactDetails.h:31
Aws::CodePipeline::Model::ActionType::WithId
ActionType & WithId(ActionTypeId &&value)
Definition: ActionType.h:73
Aws::CodePipeline::Model::ActionType
Definition: ActionType.h:37
Aws::CodePipeline::Model::ActionType::SetId
void SetId(const ActionTypeId &value)
Definition: ActionType.h:58
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CodePipeline::Model::ActionType::WithSettings
ActionType & WithSettings(ActionTypeSettings &&value)
Definition: ActionType.h:104
Aws::CodePipeline::Model::ActionType::SetSettings
void SetSettings(ActionTypeSettings &&value)
Definition: ActionType.h:94
Aws::CodePipeline::Model::ActionType::WithActionConfigurationProperties
ActionType & WithActionConfigurationProperties(const Aws::Vector< ActionConfigurationProperty > &value)
Definition: ActionType.h:130
Aws::CodePipeline::Model::ActionType::operator=
ActionType & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::ActionType::SettingsHasBeenSet
bool SettingsHasBeenSet() const
Definition: ActionType.h:84
Aws::CodePipeline::Model::ActionType::SetOutputArtifactDetails
void SetOutputArtifactDetails(const ArtifactDetails &value)
Definition: ActionType.h:192
Aws::CodePipeline::Model::ActionType::GetId
const ActionTypeId & GetId() const
Definition: ActionType.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::ActionType::ActionType
ActionType(Aws::Utils::Json::JsonView jsonValue)
ActionTypeId.h
Aws::CodePipeline::Model::ActionType::ActionType
ActionType()
Aws::CodePipeline::Model::ActionType::WithInputArtifactDetails
ActionType & WithInputArtifactDetails(const ArtifactDetails &value)
Definition: ActionType.h:171
ActionTypeSettings.h
Aws::CodePipeline::Model::ActionType::SetActionConfigurationProperties
void SetActionConfigurationProperties(const Aws::Vector< ActionConfigurationProperty > &value)
Definition: ActionType.h:120
Aws::CodePipeline::Model::ActionType::WithSettings
ActionType & WithSettings(const ActionTypeSettings &value)
Definition: ActionType.h:99
Aws::CodePipeline::Model::ActionType::GetActionConfigurationProperties
const Aws::Vector< ActionConfigurationProperty > & GetActionConfigurationProperties() const
Definition: ActionType.h:110
Aws::CodePipeline::Model::ActionType::GetSettings
const ActionTypeSettings & GetSettings() const
Definition: ActionType.h:79
Aws::CodePipeline::Model::ActionType::AddActionConfigurationProperties
ActionType & AddActionConfigurationProperties(const ActionConfigurationProperty &value)
Definition: ActionType.h:140
Aws::CodePipeline::Model::ActionType::SetId
void SetId(ActionTypeId &&value)
Definition: ActionType.h:63
Aws::CodePipeline::Model::ActionType::SetInputArtifactDetails
void SetInputArtifactDetails(const ArtifactDetails &value)
Definition: ActionType.h:161