7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
30 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateApprovalRuleTemplateContent"; }
46 inline void SetApprovalRuleTemplateName(
const char* value) { m_approvalRuleTemplateNameHasBeenSet =
true; m_approvalRuleTemplateName.assign(value); }
61 inline void SetNewRuleContent(
const char* value) { m_newRuleContentHasBeenSet =
true; m_newRuleContent.assign(value); }
76 inline void SetExistingRuleContentSha256(
const char* value) { m_existingRuleContentSha256HasBeenSet =
true; m_existingRuleContentSha256.assign(value); }
84 bool m_approvalRuleTemplateNameHasBeenSet =
false;
87 bool m_newRuleContentHasBeenSet =
false;
90 bool m_existingRuleContentSha256HasBeenSet =
false;
UpdateApprovalRuleTemplateContentRequest & WithExistingRuleContentSha256(const Aws::String &value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateApprovalRuleTemplateContentRequest & WithExistingRuleContentSha256(Aws::String &&value)
UpdateApprovalRuleTemplateContentRequest & WithExistingRuleContentSha256(const char *value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
void SetExistingRuleContentSha256(const char *value)
bool NewRuleContentHasBeenSet() const
const Aws::String & GetNewRuleContent() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetApprovalRuleTemplateName() const
void SetNewRuleContent(const char *value)
void SetNewRuleContent(Aws::String &&value)
void SetExistingRuleContentSha256(const Aws::String &value)
void SetExistingRuleContentSha256(Aws::String &&value)
void SetNewRuleContent(const Aws::String &value)
bool ApprovalRuleTemplateNameHasBeenSet() const
const Aws::String & GetExistingRuleContentSha256() const
UpdateApprovalRuleTemplateContentRequest & WithApprovalRuleTemplateName(const Aws::String &value)
UpdateApprovalRuleTemplateContentRequest & WithApprovalRuleTemplateName(const char *value)
bool ExistingRuleContentSha256HasBeenSet() const
void SetApprovalRuleTemplateName(const char *value)
UpdateApprovalRuleTemplateContentRequest & WithNewRuleContent(Aws::String &&value)
UpdateApprovalRuleTemplateContentRequest & WithNewRuleContent(const char *value)
UpdateApprovalRuleTemplateContentRequest & WithApprovalRuleTemplateName(Aws::String &&value)
void SetApprovalRuleTemplateName(Aws::String &&value)
AWS_CODECOMMIT_API UpdateApprovalRuleTemplateContentRequest()
UpdateApprovalRuleTemplateContentRequest & WithNewRuleContent(const Aws::String &value)
void SetApprovalRuleTemplateName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String