7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/model/OriginApprovalRuleTemplate.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
42 template <
typename ApprovalRuleIdT = Aws::String>
44 m_approvalRuleIdHasBeenSet =
true;
45 m_approvalRuleId = std::forward<ApprovalRuleIdT>(value);
47 template <
typename ApprovalRuleIdT = Aws::String>
60 template <
typename ApprovalRuleNameT = Aws::String>
62 m_approvalRuleNameHasBeenSet =
true;
63 m_approvalRuleName = std::forward<ApprovalRuleNameT>(value);
65 template <
typename ApprovalRuleNameT = Aws::String>
78 template <
typename ApprovalRuleContentT = Aws::String>
80 m_approvalRuleContentHasBeenSet =
true;
81 m_approvalRuleContent = std::forward<ApprovalRuleContentT>(value);
83 template <
typename ApprovalRuleContentT = Aws::String>
96 template <
typename RuleContentSha256T = Aws::String>
98 m_ruleContentSha256HasBeenSet =
true;
99 m_ruleContentSha256 = std::forward<RuleContentSha256T>(value);
101 template <
typename RuleContentSha256T = Aws::String>
115 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
117 m_lastModifiedDateHasBeenSet =
true;
118 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
120 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
133 template <
typename CreationDateT = Aws::Utils::DateTime>
135 m_creationDateHasBeenSet =
true;
136 m_creationDate = std::forward<CreationDateT>(value);
138 template <
typename CreationDateT = Aws::Utils::DateTime>
152 template <
typename LastModifiedUserT = Aws::String>
154 m_lastModifiedUserHasBeenSet =
true;
155 m_lastModifiedUser = std::forward<LastModifiedUserT>(value);
157 template <
typename LastModifiedUserT = Aws::String>
170 template <
typename OriginApprovalRuleTemplateT = OriginApprovalRuleTemplate>
172 m_originApprovalRuleTemplateHasBeenSet =
true;
173 m_originApprovalRuleTemplate = std::forward<OriginApprovalRuleTemplateT>(value);
175 template <
typename OriginApprovalRuleTemplateT = OriginApprovalRuleTemplate>
196 OriginApprovalRuleTemplate m_originApprovalRuleTemplate;
197 bool m_approvalRuleIdHasBeenSet =
false;
198 bool m_approvalRuleNameHasBeenSet =
false;
199 bool m_approvalRuleContentHasBeenSet =
false;
200 bool m_ruleContentSha256HasBeenSet =
false;
201 bool m_lastModifiedDateHasBeenSet =
false;
202 bool m_creationDateHasBeenSet =
false;
203 bool m_lastModifiedUserHasBeenSet =
false;
204 bool m_originApprovalRuleTemplateHasBeenSet =
false;
AWS_CODECOMMIT_API ApprovalRule()=default
void SetRuleContentSha256(RuleContentSha256T &&value)
ApprovalRule & WithApprovalRuleContent(ApprovalRuleContentT &&value)
AWS_CODECOMMIT_API ApprovalRule(Aws::Utils::Json::JsonView jsonValue)
bool RuleContentSha256HasBeenSet() const
void SetApprovalRuleId(ApprovalRuleIdT &&value)
void SetOriginApprovalRuleTemplate(OriginApprovalRuleTemplateT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
bool OriginApprovalRuleTemplateHasBeenSet() const
ApprovalRule & WithCreationDate(CreationDateT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::String & GetRuleContentSha256() const
const Aws::String & GetLastModifiedUser() const
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
const Aws::String & GetApprovalRuleName() const
void SetLastModifiedDate(LastModifiedDateT &&value)
bool CreationDateHasBeenSet() const
ApprovalRule & WithApprovalRuleId(ApprovalRuleIdT &&value)
AWS_CODECOMMIT_API ApprovalRule & operator=(Aws::Utils::Json::JsonView jsonValue)
ApprovalRule & WithLastModifiedDate(LastModifiedDateT &&value)
bool ApprovalRuleNameHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
const OriginApprovalRuleTemplate & GetOriginApprovalRuleTemplate() const
const Aws::String & GetApprovalRuleContent() const
void SetApprovalRuleContent(ApprovalRuleContentT &&value)
bool ApprovalRuleContentHasBeenSet() const
void SetApprovalRuleName(ApprovalRuleNameT &&value)
ApprovalRule & WithRuleContentSha256(RuleContentSha256T &&value)
ApprovalRule & WithLastModifiedUser(LastModifiedUserT &&value)
const Aws::String & GetApprovalRuleId() const
ApprovalRule & WithOriginApprovalRuleTemplate(OriginApprovalRuleTemplateT &&value)
void SetLastModifiedUser(LastModifiedUserT &&value)
bool LastModifiedUserHasBeenSet() const
bool ApprovalRuleIdHasBeenSet() const
ApprovalRule & WithApprovalRuleName(ApprovalRuleNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue