AWS SDK for C++  1.9.109
AWS SDK for C++
DeleteCustomActionTypeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace CodePipeline
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DeleteCustomActionType"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
46  inline const ActionCategory& GetCategory() const{ return m_category; }
47 
52  inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
53 
58  inline void SetCategory(const ActionCategory& value) { m_categoryHasBeenSet = true; m_category = value; }
59 
64  inline void SetCategory(ActionCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
65 
70  inline DeleteCustomActionTypeRequest& WithCategory(const ActionCategory& value) { SetCategory(value); return *this;}
71 
76  inline DeleteCustomActionTypeRequest& WithCategory(ActionCategory&& value) { SetCategory(std::move(value)); return *this;}
77 
78 
83  inline const Aws::String& GetProvider() const{ return m_provider; }
84 
89  inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
90 
95  inline void SetProvider(const Aws::String& value) { m_providerHasBeenSet = true; m_provider = value; }
96 
101  inline void SetProvider(Aws::String&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
102 
107  inline void SetProvider(const char* value) { m_providerHasBeenSet = true; m_provider.assign(value); }
108 
113  inline DeleteCustomActionTypeRequest& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
114 
119  inline DeleteCustomActionTypeRequest& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
120 
125  inline DeleteCustomActionTypeRequest& WithProvider(const char* value) { SetProvider(value); return *this;}
126 
127 
131  inline const Aws::String& GetVersion() const{ return m_version; }
132 
136  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
137 
141  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
142 
146  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
147 
151  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
152 
156  inline DeleteCustomActionTypeRequest& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
157 
161  inline DeleteCustomActionTypeRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
162 
166  inline DeleteCustomActionTypeRequest& WithVersion(const char* value) { SetVersion(value); return *this;}
167 
168  private:
169 
170  ActionCategory m_category;
171  bool m_categoryHasBeenSet;
172 
173  Aws::String m_provider;
174  bool m_providerHasBeenSet;
175 
176  Aws::String m_version;
177  bool m_versionHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace CodePipeline
182 } // namespace Aws
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::CategoryHasBeenSet
bool CategoryHasBeenSet() const
Definition: DeleteCustomActionTypeRequest.h:52
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::WithVersion
DeleteCustomActionTypeRequest & WithVersion(const Aws::String &value)
Definition: DeleteCustomActionTypeRequest.h:156
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest
Definition: DeleteCustomActionTypeRequest.h:27
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::ProviderHasBeenSet
bool ProviderHasBeenSet() const
Definition: DeleteCustomActionTypeRequest.h:89
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteCustomActionTypeRequest.h:35
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::WithProvider
DeleteCustomActionTypeRequest & WithProvider(const char *value)
Definition: DeleteCustomActionTypeRequest.h:125
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::SetVersion
void SetVersion(Aws::String &&value)
Definition: DeleteCustomActionTypeRequest.h:146
CodePipelineRequest.h
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::GetVersion
const Aws::String & GetVersion() const
Definition: DeleteCustomActionTypeRequest.h:131
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::SetVersion
void SetVersion(const char *value)
Definition: DeleteCustomActionTypeRequest.h:151
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::WithCategory
DeleteCustomActionTypeRequest & WithCategory(const ActionCategory &value)
Definition: DeleteCustomActionTypeRequest.h:70
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::DeleteCustomActionTypeRequest
DeleteCustomActionTypeRequest()
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::WithVersion
DeleteCustomActionTypeRequest & WithVersion(const char *value)
Definition: DeleteCustomActionTypeRequest.h:166
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::WithProvider
DeleteCustomActionTypeRequest & WithProvider(Aws::String &&value)
Definition: DeleteCustomActionTypeRequest.h:119
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::SetCategory
void SetCategory(const ActionCategory &value)
Definition: DeleteCustomActionTypeRequest.h:58
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ActionCategory.h
AWSString.h
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::GetProvider
const Aws::String & GetProvider() const
Definition: DeleteCustomActionTypeRequest.h:83
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::SetCategory
void SetCategory(ActionCategory &&value)
Definition: DeleteCustomActionTypeRequest.h:64
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::WithProvider
DeleteCustomActionTypeRequest & WithProvider(const Aws::String &value)
Definition: DeleteCustomActionTypeRequest.h:113
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::SetVersion
void SetVersion(const Aws::String &value)
Definition: DeleteCustomActionTypeRequest.h:141
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::WithVersion
DeleteCustomActionTypeRequest & WithVersion(Aws::String &&value)
Definition: DeleteCustomActionTypeRequest.h:161
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::SetProvider
void SetProvider(const Aws::String &value)
Definition: DeleteCustomActionTypeRequest.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::GetCategory
const ActionCategory & GetCategory() const
Definition: DeleteCustomActionTypeRequest.h:46
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::WithCategory
DeleteCustomActionTypeRequest & WithCategory(ActionCategory &&value)
Definition: DeleteCustomActionTypeRequest.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: DeleteCustomActionTypeRequest.h:136
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::SetProvider
void SetProvider(Aws::String &&value)
Definition: DeleteCustomActionTypeRequest.h:101
Aws::CodePipeline::CodePipelineRequest
Definition: CodePipelineRequest.h:17
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::SetProvider
void SetProvider(const char *value)
Definition: DeleteCustomActionTypeRequest.h:107
Aws::CodePipeline::Model::ActionCategory
ActionCategory
Definition: ActionCategory.h:17
Aws::CodePipeline::Model::DeleteCustomActionTypeRequest::SerializePayload
Aws::String SerializePayload() const override