AWS SDK for C++  1.9.104
AWS SDK for C++
UpdateActionTypeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CodePipeline
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateActionType"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const ActionTypeDeclaration& GetActionType() const{ return m_actionType; }
41 
45  inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
46 
50  inline void SetActionType(const ActionTypeDeclaration& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
51 
55  inline void SetActionType(ActionTypeDeclaration&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
56 
60  inline UpdateActionTypeRequest& WithActionType(const ActionTypeDeclaration& value) { SetActionType(value); return *this;}
61 
65  inline UpdateActionTypeRequest& WithActionType(ActionTypeDeclaration&& value) { SetActionType(std::move(value)); return *this;}
66 
67  private:
68 
69  ActionTypeDeclaration m_actionType;
70  bool m_actionTypeHasBeenSet;
71  };
72 
73 } // namespace Model
74 } // namespace CodePipeline
75 } // namespace Aws
Aws::CodePipeline::Model::ActionTypeDeclaration
Definition: ActionTypeDeclaration.h:40
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
CodePipelineRequest.h
Aws::CodePipeline::Model::UpdateActionTypeRequest::SetActionType
void SetActionType(ActionTypeDeclaration &&value)
Definition: UpdateActionTypeRequest.h:55
Aws::CodePipeline::Model::UpdateActionTypeRequest::WithActionType
UpdateActionTypeRequest & WithActionType(ActionTypeDeclaration &&value)
Definition: UpdateActionTypeRequest.h:65
ActionTypeDeclaration.h
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::UpdateActionTypeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateActionTypeRequest.h:30
Aws::CodePipeline::Model::UpdateActionTypeRequest
Definition: UpdateActionTypeRequest.h:22
Aws::CodePipeline::Model::UpdateActionTypeRequest::GetActionType
const ActionTypeDeclaration & GetActionType() const
Definition: UpdateActionTypeRequest.h:40
Aws::CodePipeline::Model::UpdateActionTypeRequest::UpdateActionTypeRequest
UpdateActionTypeRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::UpdateActionTypeRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodePipeline::Model::UpdateActionTypeRequest::WithActionType
UpdateActionTypeRequest & WithActionType(const ActionTypeDeclaration &value)
Definition: UpdateActionTypeRequest.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::UpdateActionTypeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodePipeline::CodePipelineRequest
Definition: CodePipelineRequest.h:17
Aws::CodePipeline::Model::UpdateActionTypeRequest::SetActionType
void SetActionType(const ActionTypeDeclaration &value)
Definition: UpdateActionTypeRequest.h:50
Aws::CodePipeline::Model::UpdateActionTypeRequest::ActionTypeHasBeenSet
bool ActionTypeHasBeenSet() const
Definition: UpdateActionTypeRequest.h:45