AWS SDK for C++  1.8.152
AWS SDK for C++
DeletePullRequestApprovalRuleResult.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 
40  inline const Aws::String& GetApprovalRuleId() const{ return m_approvalRuleId; }
41 
47  inline void SetApprovalRuleId(const Aws::String& value) { m_approvalRuleId = value; }
48 
54  inline void SetApprovalRuleId(Aws::String&& value) { m_approvalRuleId = std::move(value); }
55 
61  inline void SetApprovalRuleId(const char* value) { m_approvalRuleId.assign(value); }
62 
68  inline DeletePullRequestApprovalRuleResult& WithApprovalRuleId(const Aws::String& value) { SetApprovalRuleId(value); return *this;}
69 
75  inline DeletePullRequestApprovalRuleResult& WithApprovalRuleId(Aws::String&& value) { SetApprovalRuleId(std::move(value)); return *this;}
76 
82  inline DeletePullRequestApprovalRuleResult& WithApprovalRuleId(const char* value) { SetApprovalRuleId(value); return *this;}
83 
84  private:
85 
86  Aws::String m_approvalRuleId;
87  };
88 
89 } // namespace Model
90 } // namespace CodeCommit
91 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::DeletePullRequestApprovalRuleResult::DeletePullRequestApprovalRuleResult
DeletePullRequestApprovalRuleResult()
Aws::CodeCommit::Model::DeletePullRequestApprovalRuleResult::WithApprovalRuleId
DeletePullRequestApprovalRuleResult & WithApprovalRuleId(const char *value)
Definition: DeletePullRequestApprovalRuleResult.h:82
Aws::CodeCommit::Model::DeletePullRequestApprovalRuleResult::WithApprovalRuleId
DeletePullRequestApprovalRuleResult & WithApprovalRuleId(const Aws::String &value)
Definition: DeletePullRequestApprovalRuleResult.h:68
Aws::CodeCommit::Model::DeletePullRequestApprovalRuleResult::DeletePullRequestApprovalRuleResult
DeletePullRequestApprovalRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::DeletePullRequestApprovalRuleResult::operator=
DeletePullRequestApprovalRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::DeletePullRequestApprovalRuleResult::WithApprovalRuleId
DeletePullRequestApprovalRuleResult & WithApprovalRuleId(Aws::String &&value)
Definition: DeletePullRequestApprovalRuleResult.h:75
Aws::CodeCommit::Model::DeletePullRequestApprovalRuleResult::SetApprovalRuleId
void SetApprovalRuleId(Aws::String &&value)
Definition: DeletePullRequestApprovalRuleResult.h:54
AWSString.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::DeletePullRequestApprovalRuleResult::SetApprovalRuleId
void SetApprovalRuleId(const char *value)
Definition: DeletePullRequestApprovalRuleResult.h:61
Aws::CodeCommit::Model::DeletePullRequestApprovalRuleResult::SetApprovalRuleId
void SetApprovalRuleId(const Aws::String &value)
Definition: DeletePullRequestApprovalRuleResult.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::DeletePullRequestApprovalRuleResult
Definition: DeletePullRequestApprovalRuleResult.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::DeletePullRequestApprovalRuleResult::GetApprovalRuleId
const Aws::String & GetApprovalRuleId() const
Definition: DeletePullRequestApprovalRuleResult.h:40