7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetApprovalRuleTemplateName(
const char* value) { m_approvalRuleTemplateNameHasBeenSet =
true; m_approvalRuleTemplateName.assign(value); }
85 inline void SetApprovalRuleTemplateContent(
const char* value) { m_approvalRuleTemplateContentHasBeenSet =
true; m_approvalRuleTemplateContent.assign(value); }
109 bool m_approvalRuleTemplateNameHasBeenSet =
false;
112 bool m_approvalRuleTemplateContentHasBeenSet =
false;
115 bool m_approvalRuleTemplateDescriptionHasBeenSet =
false;
CreateApprovalRuleTemplateRequest & WithApprovalRuleTemplateDescription(const char *value)
CreateApprovalRuleTemplateRequest & WithApprovalRuleTemplateContent(const char *value)
void SetApprovalRuleTemplateContent(const Aws::String &value)
CreateApprovalRuleTemplateRequest & WithApprovalRuleTemplateName(const char *value)
CreateApprovalRuleTemplateRequest & WithApprovalRuleTemplateContent(Aws::String &&value)
void SetApprovalRuleTemplateDescription(const Aws::String &value)
void SetApprovalRuleTemplateDescription(const char *value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
const Aws::String & GetApprovalRuleTemplateDescription() const
bool ApprovalRuleTemplateDescriptionHasBeenSet() const
CreateApprovalRuleTemplateRequest & WithApprovalRuleTemplateDescription(Aws::String &&value)
const Aws::String & GetApprovalRuleTemplateContent() const
void SetApprovalRuleTemplateName(const Aws::String &value)
CreateApprovalRuleTemplateRequest & WithApprovalRuleTemplateContent(const Aws::String &value)
void SetApprovalRuleTemplateContent(const char *value)
void SetApprovalRuleTemplateName(Aws::String &&value)
CreateApprovalRuleTemplateRequest & WithApprovalRuleTemplateDescription(const Aws::String &value)
const Aws::String & GetApprovalRuleTemplateName() const
bool ApprovalRuleTemplateNameHasBeenSet() const
void SetApprovalRuleTemplateDescription(Aws::String &&value)
void SetApprovalRuleTemplateContent(Aws::String &&value)
CreateApprovalRuleTemplateRequest & WithApprovalRuleTemplateName(const Aws::String &value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_CODECOMMIT_API CreateApprovalRuleTemplateRequest()
void SetApprovalRuleTemplateName(const char *value)
CreateApprovalRuleTemplateRequest & WithApprovalRuleTemplateName(Aws::String &&value)
bool ApprovalRuleTemplateContentHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String