AWS SDK for C++  1.9.109
AWS SDK for C++
GetActionTypeResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace CodePipeline
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const ActionTypeDeclaration& GetActionType() const{ return m_actionType; }
40 
45  inline void SetActionType(const ActionTypeDeclaration& value) { m_actionType = value; }
46 
51  inline void SetActionType(ActionTypeDeclaration&& value) { m_actionType = std::move(value); }
52 
57  inline GetActionTypeResult& WithActionType(const ActionTypeDeclaration& value) { SetActionType(value); return *this;}
58 
63  inline GetActionTypeResult& WithActionType(ActionTypeDeclaration&& value) { SetActionType(std::move(value)); return *this;}
64 
65  private:
66 
67  ActionTypeDeclaration m_actionType;
68  };
69 
70 } // namespace Model
71 } // namespace CodePipeline
72 } // namespace Aws
Aws::CodePipeline::Model::GetActionTypeResult
Definition: GetActionTypeResult.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodePipeline::Model::ActionTypeDeclaration
Definition: ActionTypeDeclaration.h:40
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::GetActionTypeResult::WithActionType
GetActionTypeResult & WithActionType(ActionTypeDeclaration &&value)
Definition: GetActionTypeResult.h:63
ActionTypeDeclaration.h
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::GetActionTypeResult::operator=
GetActionTypeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodePipeline::Model::GetActionTypeResult::SetActionType
void SetActionType(ActionTypeDeclaration &&value)
Definition: GetActionTypeResult.h:51
Aws::CodePipeline::Model::GetActionTypeResult::GetActionTypeResult
GetActionTypeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodePipeline::Model::GetActionTypeResult::GetActionType
const ActionTypeDeclaration & GetActionType() const
Definition: GetActionTypeResult.h:39
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::GetActionTypeResult::SetActionType
void SetActionType(const ActionTypeDeclaration &value)
Definition: GetActionTypeResult.h:45
Aws::CodePipeline::Model::GetActionTypeResult::GetActionTypeResult
GetActionTypeResult()
Aws::CodePipeline::Model::GetActionTypeResult::WithActionType
GetActionTypeResult & WithActionType(const ActionTypeDeclaration &value)
Definition: GetActionTypeResult.h:57