AWS SDK for C++  1.8.152
AWS SDK for C++
UpdateApprovalRuleTemplateDescriptionResult.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 
38  inline const ApprovalRuleTemplate& GetApprovalRuleTemplate() const{ return m_approvalRuleTemplate; }
39 
43  inline void SetApprovalRuleTemplate(const ApprovalRuleTemplate& value) { m_approvalRuleTemplate = value; }
44 
48  inline void SetApprovalRuleTemplate(ApprovalRuleTemplate&& value) { m_approvalRuleTemplate = std::move(value); }
49 
53  inline UpdateApprovalRuleTemplateDescriptionResult& WithApprovalRuleTemplate(const ApprovalRuleTemplate& value) { SetApprovalRuleTemplate(value); return *this;}
54 
58  inline UpdateApprovalRuleTemplateDescriptionResult& WithApprovalRuleTemplate(ApprovalRuleTemplate&& value) { SetApprovalRuleTemplate(std::move(value)); return *this;}
59 
60  private:
61 
62  ApprovalRuleTemplate m_approvalRuleTemplate;
63  };
64 
65 } // namespace Model
66 } // namespace CodeCommit
67 } // namespace Aws
Aws::CodeCommit::Model::ApprovalRuleTemplate
Definition: ApprovalRuleTemplate.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::UpdateApprovalRuleTemplateDescriptionResult::WithApprovalRuleTemplate
UpdateApprovalRuleTemplateDescriptionResult & WithApprovalRuleTemplate(const ApprovalRuleTemplate &value)
Definition: UpdateApprovalRuleTemplateDescriptionResult.h:53
Aws::CodeCommit::Model::UpdateApprovalRuleTemplateDescriptionResult::operator=
UpdateApprovalRuleTemplateDescriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::UpdateApprovalRuleTemplateDescriptionResult::UpdateApprovalRuleTemplateDescriptionResult
UpdateApprovalRuleTemplateDescriptionResult()
ApprovalRuleTemplate.h
Aws::CodeCommit::Model::UpdateApprovalRuleTemplateDescriptionResult::UpdateApprovalRuleTemplateDescriptionResult
UpdateApprovalRuleTemplateDescriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::UpdateApprovalRuleTemplateDescriptionResult::SetApprovalRuleTemplate
void SetApprovalRuleTemplate(const ApprovalRuleTemplate &value)
Definition: UpdateApprovalRuleTemplateDescriptionResult.h:43
Aws::CodeCommit::Model::UpdateApprovalRuleTemplateDescriptionResult::GetApprovalRuleTemplate
const ApprovalRuleTemplate & GetApprovalRuleTemplate() const
Definition: UpdateApprovalRuleTemplateDescriptionResult.h:38
Aws::CodeCommit::Model::UpdateApprovalRuleTemplateDescriptionResult::SetApprovalRuleTemplate
void SetApprovalRuleTemplate(ApprovalRuleTemplate &&value)
Definition: UpdateApprovalRuleTemplateDescriptionResult.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::UpdateApprovalRuleTemplateDescriptionResult::WithApprovalRuleTemplate
UpdateApprovalRuleTemplateDescriptionResult & WithApprovalRuleTemplate(ApprovalRuleTemplate &&value)
Definition: UpdateApprovalRuleTemplateDescriptionResult.h:58
Aws::CodeCommit::Model::UpdateApprovalRuleTemplateDescriptionResult
Definition: UpdateApprovalRuleTemplateDescriptionResult.h:28