7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/codecommit/model/OriginApprovalRuleTemplate.h>
50 inline void SetApprovalRuleId(
const char* value) { m_approvalRuleIdHasBeenSet =
true; m_approvalRuleId.assign(value); }
64 inline void SetApprovalRuleName(
const char* value) { m_approvalRuleNameHasBeenSet =
true; m_approvalRuleName.assign(value); }
78 inline void SetApprovalRuleContent(
const char* value) { m_approvalRuleContentHasBeenSet =
true; m_approvalRuleContent.assign(value); }
92 inline void SetRuleContentSha256(
const char* value) { m_ruleContentSha256HasBeenSet =
true; m_ruleContentSha256.assign(value); }
132 inline void SetLastModifiedUser(
const char* value) { m_lastModifiedUserHasBeenSet =
true; m_lastModifiedUser.assign(value); }
152 bool m_approvalRuleIdHasBeenSet =
false;
155 bool m_approvalRuleNameHasBeenSet =
false;
158 bool m_approvalRuleContentHasBeenSet =
false;
161 bool m_ruleContentSha256HasBeenSet =
false;
164 bool m_lastModifiedDateHasBeenSet =
false;
167 bool m_creationDateHasBeenSet =
false;
170 bool m_lastModifiedUserHasBeenSet =
false;
173 bool m_originApprovalRuleTemplateHasBeenSet =
false;
ApprovalRule & WithCreationDate(const Aws::Utils::DateTime &value)
void SetLastModifiedUser(const Aws::String &value)
void SetRuleContentSha256(const char *value)
void SetApprovalRuleId(const Aws::String &value)
AWS_CODECOMMIT_API ApprovalRule(Aws::Utils::Json::JsonView jsonValue)
bool RuleContentSha256HasBeenSet() const
void SetApprovalRuleId(Aws::String &&value)
void SetApprovalRuleContent(const char *value)
const Aws::Utils::DateTime & GetCreationDate() const
bool OriginApprovalRuleTemplateHasBeenSet() const
ApprovalRule & WithLastModifiedUser(const char *value)
void SetApprovalRuleName(const Aws::String &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetApprovalRuleName(const char *value)
ApprovalRule & WithCreationDate(Aws::Utils::DateTime &&value)
ApprovalRule & WithApprovalRuleContent(const Aws::String &value)
void SetRuleContentSha256(Aws::String &&value)
ApprovalRule & WithApprovalRuleName(const char *value)
ApprovalRule & WithRuleContentSha256(Aws::String &&value)
void SetApprovalRuleContent(Aws::String &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetRuleContentSha256() const
ApprovalRule & WithLastModifiedDate(Aws::Utils::DateTime &&value)
ApprovalRule & WithApprovalRuleName(const Aws::String &value)
void SetApprovalRuleContent(const Aws::String &value)
ApprovalRule & WithLastModifiedDate(const Aws::Utils::DateTime &value)
void SetRuleContentSha256(const Aws::String &value)
void SetOriginApprovalRuleTemplate(const OriginApprovalRuleTemplate &value)
ApprovalRule & WithApprovalRuleContent(const char *value)
ApprovalRule & WithApprovalRuleId(Aws::String &&value)
ApprovalRule & WithRuleContentSha256(const char *value)
const Aws::String & GetLastModifiedUser() const
ApprovalRule & WithOriginApprovalRuleTemplate(OriginApprovalRuleTemplate &&value)
void SetApprovalRuleName(Aws::String &&value)
void SetLastModifiedUser(const char *value)
AWS_CODECOMMIT_API ApprovalRule()
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedUser(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
ApprovalRule & WithApprovalRuleId(const Aws::String &value)
const Aws::String & GetApprovalRuleName() const
bool CreationDateHasBeenSet() const
void SetOriginApprovalRuleTemplate(OriginApprovalRuleTemplate &&value)
ApprovalRule & WithApprovalRuleId(const char *value)
void SetApprovalRuleId(const char *value)
ApprovalRule & WithLastModifiedUser(const Aws::String &value)
AWS_CODECOMMIT_API ApprovalRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
bool ApprovalRuleNameHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
ApprovalRule & WithApprovalRuleContent(Aws::String &&value)
const OriginApprovalRuleTemplate & GetOriginApprovalRuleTemplate() const
const Aws::String & GetApprovalRuleContent() const
ApprovalRule & WithRuleContentSha256(const Aws::String &value)
bool ApprovalRuleContentHasBeenSet() const
void SetCreationDate(const Aws::Utils::DateTime &value)
ApprovalRule & WithOriginApprovalRuleTemplate(const OriginApprovalRuleTemplate &value)
const Aws::String & GetApprovalRuleId() const
bool LastModifiedUserHasBeenSet() const
ApprovalRule & WithApprovalRuleName(Aws::String &&value)
bool ApprovalRuleIdHasBeenSet() const
ApprovalRule & WithLastModifiedUser(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue