AWS SDK for C++  1.8.152
AWS SDK for C++
DeleteApprovalRuleTemplateResult.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 
39  inline const Aws::String& GetApprovalRuleTemplateId() const{ return m_approvalRuleTemplateId; }
40 
45  inline void SetApprovalRuleTemplateId(const Aws::String& value) { m_approvalRuleTemplateId = value; }
46 
51  inline void SetApprovalRuleTemplateId(Aws::String&& value) { m_approvalRuleTemplateId = std::move(value); }
52 
57  inline void SetApprovalRuleTemplateId(const char* value) { m_approvalRuleTemplateId.assign(value); }
58 
63  inline DeleteApprovalRuleTemplateResult& WithApprovalRuleTemplateId(const Aws::String& value) { SetApprovalRuleTemplateId(value); return *this;}
64 
69  inline DeleteApprovalRuleTemplateResult& WithApprovalRuleTemplateId(Aws::String&& value) { SetApprovalRuleTemplateId(std::move(value)); return *this;}
70 
75  inline DeleteApprovalRuleTemplateResult& WithApprovalRuleTemplateId(const char* value) { SetApprovalRuleTemplateId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_approvalRuleTemplateId;
80  };
81 
82 } // namespace Model
83 } // namespace CodeCommit
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::DeleteApprovalRuleTemplateResult::GetApprovalRuleTemplateId
const Aws::String & GetApprovalRuleTemplateId() const
Definition: DeleteApprovalRuleTemplateResult.h:39
Aws::CodeCommit::Model::DeleteApprovalRuleTemplateResult::WithApprovalRuleTemplateId
DeleteApprovalRuleTemplateResult & WithApprovalRuleTemplateId(Aws::String &&value)
Definition: DeleteApprovalRuleTemplateResult.h:69
Aws::CodeCommit::Model::DeleteApprovalRuleTemplateResult::WithApprovalRuleTemplateId
DeleteApprovalRuleTemplateResult & WithApprovalRuleTemplateId(const char *value)
Definition: DeleteApprovalRuleTemplateResult.h:75
Aws::CodeCommit::Model::DeleteApprovalRuleTemplateResult::DeleteApprovalRuleTemplateResult
DeleteApprovalRuleTemplateResult()
Aws::CodeCommit::Model::DeleteApprovalRuleTemplateResult::DeleteApprovalRuleTemplateResult
DeleteApprovalRuleTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::DeleteApprovalRuleTemplateResult
Definition: DeleteApprovalRuleTemplateResult.h:28
Aws::CodeCommit::Model::DeleteApprovalRuleTemplateResult::operator=
DeleteApprovalRuleTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::DeleteApprovalRuleTemplateResult::SetApprovalRuleTemplateId
void SetApprovalRuleTemplateId(const Aws::String &value)
Definition: DeleteApprovalRuleTemplateResult.h:45
Aws::CodeCommit::Model::DeleteApprovalRuleTemplateResult::SetApprovalRuleTemplateId
void SetApprovalRuleTemplateId(Aws::String &&value)
Definition: DeleteApprovalRuleTemplateResult.h:51
AWSString.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::DeleteApprovalRuleTemplateResult::SetApprovalRuleTemplateId
void SetApprovalRuleTemplateId(const char *value)
Definition: DeleteApprovalRuleTemplateResult.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::DeleteApprovalRuleTemplateResult::WithApprovalRuleTemplateId
DeleteApprovalRuleTemplateResult & WithApprovalRuleTemplateId(const Aws::String &value)
Definition: DeleteApprovalRuleTemplateResult.h:63