AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluatePullRequestApprovalRulesResult.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/model/Evaluation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeCommit
25{
26namespace Model
27{
29 {
30 public:
34
35
37
43 inline const Evaluation& GetEvaluation() const{ return m_evaluation; }
44 inline void SetEvaluation(const Evaluation& value) { m_evaluation = value; }
45 inline void SetEvaluation(Evaluation&& value) { m_evaluation = std::move(value); }
47 inline EvaluatePullRequestApprovalRulesResult& WithEvaluation(Evaluation&& value) { SetEvaluation(std::move(value)); return *this;}
49
51
52 inline const Aws::String& GetRequestId() const{ return m_requestId; }
53 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
54 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
55 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
57 inline EvaluatePullRequestApprovalRulesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
58 inline EvaluatePullRequestApprovalRulesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
60 private:
61
62 Evaluation m_evaluation;
63
64 Aws::String m_requestId;
65 };
66
67} // namespace Model
68} // namespace CodeCommit
69} // namespace Aws
AWS_CODECOMMIT_API EvaluatePullRequestApprovalRulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EvaluatePullRequestApprovalRulesResult & WithRequestId(const Aws::String &value)
EvaluatePullRequestApprovalRulesResult & WithEvaluation(Evaluation &&value)
EvaluatePullRequestApprovalRulesResult & WithEvaluation(const Evaluation &value)
EvaluatePullRequestApprovalRulesResult & WithRequestId(Aws::String &&value)
EvaluatePullRequestApprovalRulesResult & WithRequestId(const char *value)
AWS_CODECOMMIT_API EvaluatePullRequestApprovalRulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue