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"; }
44 template<
typename ApprovalRuleTemplateNameT = Aws::String>
45 void SetApprovalRuleTemplateName(ApprovalRuleTemplateNameT&& value) { m_approvalRuleTemplateNameHasBeenSet =
true; m_approvalRuleTemplateName = std::forward<ApprovalRuleTemplateNameT>(value); }
46 template<
typename ApprovalRuleTemplateNameT = Aws::String>
57 template<
typename NewRuleContentT = Aws::String>
58 void SetNewRuleContent(NewRuleContentT&& value) { m_newRuleContentHasBeenSet =
true; m_newRuleContent = std::forward<NewRuleContentT>(value); }
59 template<
typename NewRuleContentT = Aws::String>
70 template<
typename ExistingRuleContentSha256T = Aws::String>
71 void SetExistingRuleContentSha256(ExistingRuleContentSha256T&& value) { m_existingRuleContentSha256HasBeenSet =
true; m_existingRuleContentSha256 = std::forward<ExistingRuleContentSha256T>(value); }
72 template<
typename ExistingRuleContentSha256T = Aws::String>
78 bool m_approvalRuleTemplateNameHasBeenSet =
false;
81 bool m_newRuleContentHasBeenSet =
false;
84 bool m_existingRuleContentSha256HasBeenSet =
false;
AWS_CODECOMMIT_API UpdateApprovalRuleTemplateContentRequest()=default
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
UpdateApprovalRuleTemplateContentRequest & WithApprovalRuleTemplateName(ApprovalRuleTemplateNameT &&value)
bool NewRuleContentHasBeenSet() const
const Aws::String & GetNewRuleContent() const
virtual const char * GetServiceRequestName() const override
void SetNewRuleContent(NewRuleContentT &&value)
const Aws::String & GetApprovalRuleTemplateName() const
UpdateApprovalRuleTemplateContentRequest & WithNewRuleContent(NewRuleContentT &&value)
bool ApprovalRuleTemplateNameHasBeenSet() const
const Aws::String & GetExistingRuleContentSha256() const
UpdateApprovalRuleTemplateContentRequest & WithExistingRuleContentSha256(ExistingRuleContentSha256T &&value)
void SetApprovalRuleTemplateName(ApprovalRuleTemplateNameT &&value)
bool ExistingRuleContentSha256HasBeenSet() const
void SetExistingRuleContentSha256(ExistingRuleContentSha256T &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String