7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetApprovalRuleTemplateId(
const char* value) { m_approvalRuleTemplateIdHasBeenSet =
true; m_approvalRuleTemplateId.assign(value); }
63 inline void SetApprovalRuleTemplateName(
const char* value) { m_approvalRuleTemplateNameHasBeenSet =
true; m_approvalRuleTemplateName.assign(value); }
71 bool m_approvalRuleTemplateIdHasBeenSet =
false;
74 bool m_approvalRuleTemplateNameHasBeenSet =
false;
const Aws::String & GetApprovalRuleTemplateName() const
bool ApprovalRuleTemplateNameHasBeenSet() const
OriginApprovalRuleTemplate & WithApprovalRuleTemplateId(const char *value)
OriginApprovalRuleTemplate & WithApprovalRuleTemplateName(Aws::String &&value)
void SetApprovalRuleTemplateId(const char *value)
void SetApprovalRuleTemplateName(const char *value)
void SetApprovalRuleTemplateName(const Aws::String &value)
bool ApprovalRuleTemplateIdHasBeenSet() const
void SetApprovalRuleTemplateId(const Aws::String &value)
OriginApprovalRuleTemplate & WithApprovalRuleTemplateId(Aws::String &&value)
AWS_CODECOMMIT_API OriginApprovalRuleTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApprovalRuleTemplateId(Aws::String &&value)
OriginApprovalRuleTemplate & WithApprovalRuleTemplateName(const char *value)
AWS_CODECOMMIT_API OriginApprovalRuleTemplate()
void SetApprovalRuleTemplateName(Aws::String &&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
const Aws::String & GetApprovalRuleTemplateId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue