AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OriginApprovalRuleTemplate.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeCommit
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODECOMMIT_API OriginApprovalRuleTemplate();
38 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetApprovalRuleTemplateId() const{ return m_approvalRuleTemplateId; }
46 inline bool ApprovalRuleTemplateIdHasBeenSet() const { return m_approvalRuleTemplateIdHasBeenSet; }
47 inline void SetApprovalRuleTemplateId(const Aws::String& value) { m_approvalRuleTemplateIdHasBeenSet = true; m_approvalRuleTemplateId = value; }
48 inline void SetApprovalRuleTemplateId(Aws::String&& value) { m_approvalRuleTemplateIdHasBeenSet = true; m_approvalRuleTemplateId = std::move(value); }
49 inline void SetApprovalRuleTemplateId(const char* value) { m_approvalRuleTemplateIdHasBeenSet = true; m_approvalRuleTemplateId.assign(value); }
52 inline OriginApprovalRuleTemplate& WithApprovalRuleTemplateId(const char* value) { SetApprovalRuleTemplateId(value); return *this;}
54
56
59 inline const Aws::String& GetApprovalRuleTemplateName() const{ return m_approvalRuleTemplateName; }
60 inline bool ApprovalRuleTemplateNameHasBeenSet() const { return m_approvalRuleTemplateNameHasBeenSet; }
61 inline void SetApprovalRuleTemplateName(const Aws::String& value) { m_approvalRuleTemplateNameHasBeenSet = true; m_approvalRuleTemplateName = value; }
62 inline void SetApprovalRuleTemplateName(Aws::String&& value) { m_approvalRuleTemplateNameHasBeenSet = true; m_approvalRuleTemplateName = std::move(value); }
63 inline void SetApprovalRuleTemplateName(const char* value) { m_approvalRuleTemplateNameHasBeenSet = true; m_approvalRuleTemplateName.assign(value); }
68 private:
69
70 Aws::String m_approvalRuleTemplateId;
71 bool m_approvalRuleTemplateIdHasBeenSet = false;
72
73 Aws::String m_approvalRuleTemplateName;
74 bool m_approvalRuleTemplateNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CodeCommit
79} // namespace Aws
OriginApprovalRuleTemplate & WithApprovalRuleTemplateId(const char *value)
OriginApprovalRuleTemplate & WithApprovalRuleTemplateName(Aws::String &&value)
OriginApprovalRuleTemplate & WithApprovalRuleTemplateId(Aws::String &&value)
AWS_CODECOMMIT_API OriginApprovalRuleTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
OriginApprovalRuleTemplate & WithApprovalRuleTemplateName(const char *value)
AWS_CODECOMMIT_API OriginApprovalRuleTemplate(Aws::Utils::Json::JsonView jsonValue)
OriginApprovalRuleTemplate & WithApprovalRuleTemplateId(const Aws::String &value)
OriginApprovalRuleTemplate & WithApprovalRuleTemplateName(const Aws::String &value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue