AWS SDK for C++  1.8.152
AWS SDK for C++
EvaluatePullRequestApprovalRulesResult.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 CodeCommit
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
41  inline const Evaluation& GetEvaluation() const{ return m_evaluation; }
42 
49  inline void SetEvaluation(const Evaluation& value) { m_evaluation = value; }
50 
57  inline void SetEvaluation(Evaluation&& value) { m_evaluation = std::move(value); }
58 
65  inline EvaluatePullRequestApprovalRulesResult& WithEvaluation(const Evaluation& value) { SetEvaluation(value); return *this;}
66 
73  inline EvaluatePullRequestApprovalRulesResult& WithEvaluation(Evaluation&& value) { SetEvaluation(std::move(value)); return *this;}
74 
75  private:
76 
77  Evaluation m_evaluation;
78  };
79 
80 } // namespace Model
81 } // namespace CodeCommit
82 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodeCommit::Model::EvaluatePullRequestApprovalRulesResult::GetEvaluation
const Evaluation & GetEvaluation() const
Definition: EvaluatePullRequestApprovalRulesResult.h:41
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::EvaluatePullRequestApprovalRulesResult::EvaluatePullRequestApprovalRulesResult
EvaluatePullRequestApprovalRulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Evaluation.h
Aws::CodeCommit::Model::EvaluatePullRequestApprovalRulesResult::EvaluatePullRequestApprovalRulesResult
EvaluatePullRequestApprovalRulesResult()
Aws::CodeCommit::Model::EvaluatePullRequestApprovalRulesResult
Definition: EvaluatePullRequestApprovalRulesResult.h:28
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::EvaluatePullRequestApprovalRulesResult::WithEvaluation
EvaluatePullRequestApprovalRulesResult & WithEvaluation(const Evaluation &value)
Definition: EvaluatePullRequestApprovalRulesResult.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::EvaluatePullRequestApprovalRulesResult::SetEvaluation
void SetEvaluation(const Evaluation &value)
Definition: EvaluatePullRequestApprovalRulesResult.h:49
Aws::CodeCommit::Model::EvaluatePullRequestApprovalRulesResult::WithEvaluation
EvaluatePullRequestApprovalRulesResult & WithEvaluation(Evaluation &&value)
Definition: EvaluatePullRequestApprovalRulesResult.h:73
Aws::CodeCommit::Model::Evaluation
Definition: Evaluation.h:34
Aws::CodeCommit::Model::EvaluatePullRequestApprovalRulesResult::SetEvaluation
void SetEvaluation(Evaluation &&value)
Definition: EvaluatePullRequestApprovalRulesResult.h:57
Aws::CodeCommit::Model::EvaluatePullRequestApprovalRulesResult::operator=
EvaluatePullRequestApprovalRulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)