7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
50 inline void SetApprovalRuleTemplateId(
const char* value) { m_approvalRuleTemplateIdHasBeenSet =
true; m_approvalRuleTemplateId.assign(value); }
64 inline void SetApprovalRuleTemplateName(
const char* value) { m_approvalRuleTemplateNameHasBeenSet =
true; m_approvalRuleTemplateName.assign(value); }
92 inline void SetApprovalRuleTemplateContent(
const char* value) { m_approvalRuleTemplateContentHasBeenSet =
true; m_approvalRuleTemplateContent.assign(value); }
106 inline void SetRuleContentSha256(
const char* value) { m_ruleContentSha256HasBeenSet =
true; m_ruleContentSha256.assign(value); }
146 inline void SetLastModifiedUser(
const char* value) { m_lastModifiedUserHasBeenSet =
true; m_lastModifiedUser.assign(value); }
154 bool m_approvalRuleTemplateIdHasBeenSet =
false;
157 bool m_approvalRuleTemplateNameHasBeenSet =
false;
160 bool m_approvalRuleTemplateDescriptionHasBeenSet =
false;
163 bool m_approvalRuleTemplateContentHasBeenSet =
false;
166 bool m_ruleContentSha256HasBeenSet =
false;
169 bool m_lastModifiedDateHasBeenSet =
false;
172 bool m_creationDateHasBeenSet =
false;
175 bool m_lastModifiedUserHasBeenSet =
false;
ApprovalRuleTemplate & WithApprovalRuleTemplateDescription(Aws::String &&value)
ApprovalRuleTemplate & WithLastModifiedDate(Aws::Utils::DateTime &&value)
ApprovalRuleTemplate & WithApprovalRuleTemplateName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::String & GetRuleContentSha256() const
ApprovalRuleTemplate & WithLastModifiedUser(const char *value)
void SetApprovalRuleTemplateName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
ApprovalRuleTemplate & WithApprovalRuleTemplateDescription(const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
ApprovalRuleTemplate & WithLastModifiedUser(Aws::String &&value)
ApprovalRuleTemplate & WithRuleContentSha256(const char *value)
const Aws::String & GetApprovalRuleTemplateName() const
ApprovalRuleTemplate & WithLastModifiedDate(const Aws::Utils::DateTime &value)
void SetApprovalRuleTemplateName(const char *value)
const Aws::String & GetApprovalRuleTemplateDescription() const
ApprovalRuleTemplate & WithLastModifiedUser(const Aws::String &value)
ApprovalRuleTemplate & WithCreationDate(Aws::Utils::DateTime &&value)
ApprovalRuleTemplate & WithRuleContentSha256(const Aws::String &value)
void SetApprovalRuleTemplateContent(const Aws::String &value)
ApprovalRuleTemplate & WithApprovalRuleTemplateDescription(const char *value)
void SetRuleContentSha256(const char *value)
ApprovalRuleTemplate & WithCreationDate(const Aws::Utils::DateTime &value)
ApprovalRuleTemplate & WithApprovalRuleTemplateName(const Aws::String &value)
bool RuleContentSha256HasBeenSet() const
AWS_CODECOMMIT_API ApprovalRuleTemplate()
ApprovalRuleTemplate & WithApprovalRuleTemplateContent(const Aws::String &value)
void SetLastModifiedUser(Aws::String &&value)
void SetApprovalRuleTemplateName(Aws::String &&value)
bool ApprovalRuleTemplateIdHasBeenSet() const
void SetApprovalRuleTemplateContent(Aws::String &&value)
const Aws::String & GetApprovalRuleTemplateId() const
const Aws::String & GetApprovalRuleTemplateContent() const
bool ApprovalRuleTemplateContentHasBeenSet() const
void SetApprovalRuleTemplateId(const char *value)
void SetApprovalRuleTemplateContent(const char *value)
bool ApprovalRuleTemplateDescriptionHasBeenSet() const
void SetApprovalRuleTemplateDescription(const char *value)
ApprovalRuleTemplate & WithApprovalRuleTemplateContent(Aws::String &&value)
const Aws::String & GetLastModifiedUser() const
ApprovalRuleTemplate & WithApprovalRuleTemplateContent(const char *value)
ApprovalRuleTemplate & WithApprovalRuleTemplateId(Aws::String &&value)
void SetApprovalRuleTemplateId(Aws::String &&value)
void SetLastModifiedUser(const char *value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
ApprovalRuleTemplate & WithApprovalRuleTemplateId(const Aws::String &value)
void SetRuleContentSha256(Aws::String &&value)
AWS_CODECOMMIT_API ApprovalRuleTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
ApprovalRuleTemplate & WithApprovalRuleTemplateId(const char *value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
void SetApprovalRuleTemplateDescription(const Aws::String &value)
bool CreationDateHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
void SetCreationDate(Aws::Utils::DateTime &&value)
ApprovalRuleTemplate & WithRuleContentSha256(Aws::String &&value)
bool LastModifiedUserHasBeenSet() const
void SetApprovalRuleTemplateId(const Aws::String &value)
AWS_CODECOMMIT_API ApprovalRuleTemplate(Aws::Utils::Json::JsonView jsonValue)
void SetRuleContentSha256(const Aws::String &value)
void SetLastModifiedUser(const Aws::String &value)
void SetApprovalRuleTemplateDescription(Aws::String &&value)
bool ApprovalRuleTemplateNameHasBeenSet() const
ApprovalRuleTemplate & WithApprovalRuleTemplateName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue