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/PullRequestEventType.h>
11#include <aws/codecommit/model/PullRequestCreatedEventMetadata.h>
12#include <aws/codecommit/model/PullRequestStatusChangedEventMetadata.h>
13#include <aws/codecommit/model/PullRequestSourceReferenceUpdatedEventMetadata.h>
14#include <aws/codecommit/model/PullRequestMergedStateChangedEventMetadata.h>
15#include <aws/codecommit/model/ApprovalRuleEventMetadata.h>
16#include <aws/codecommit/model/ApprovalStateChangedEventMetadata.h>
17#include <aws/codecommit/model/ApprovalRuleOverriddenEventMetadata.h>
57 inline void SetPullRequestId(
const char* value) { m_pullRequestIdHasBeenSet =
true; m_pullRequestId.assign(value); }
99 inline void SetActorArn(
const char* value) { m_actorArnHasBeenSet =
true; m_actorArn.assign(value); }
193 bool m_pullRequestIdHasBeenSet =
false;
196 bool m_eventDateHasBeenSet =
false;
199 bool m_pullRequestEventTypeHasBeenSet =
false;
202 bool m_actorArnHasBeenSet =
false;
205 bool m_pullRequestCreatedEventMetadataHasBeenSet =
false;
208 bool m_pullRequestStatusChangedEventMetadataHasBeenSet =
false;
211 bool m_pullRequestSourceReferenceUpdatedEventMetadataHasBeenSet =
false;
214 bool m_pullRequestMergedStateChangedEventMetadataHasBeenSet =
false;
217 bool m_approvalRuleEventMetadataHasBeenSet =
false;
220 bool m_approvalStateChangedEventMetadataHasBeenSet =
false;
223 bool m_approvalRuleOverriddenEventMetadataHasBeenSet =
false;
void SetPullRequestId(Aws::String &&value)
PullRequestEvent & WithApprovalStateChangedEventMetadata(const ApprovalStateChangedEventMetadata &value)
void SetPullRequestSourceReferenceUpdatedEventMetadata(PullRequestSourceReferenceUpdatedEventMetadata &&value)
PullRequestEvent & WithApprovalRuleOverriddenEventMetadata(ApprovalRuleOverriddenEventMetadata &&value)
const Aws::String & GetActorArn() const
PullRequestEvent & WithPullRequestMergedStateChangedEventMetadata(const PullRequestMergedStateChangedEventMetadata &value)
PullRequestEvent & WithPullRequestCreatedEventMetadata(const PullRequestCreatedEventMetadata &value)
void SetPullRequestCreatedEventMetadata(PullRequestCreatedEventMetadata &&value)
bool PullRequestSourceReferenceUpdatedEventMetadataHasBeenSet() const
void SetApprovalRuleEventMetadata(ApprovalRuleEventMetadata &&value)
PullRequestEvent & WithPullRequestMergedStateChangedEventMetadata(PullRequestMergedStateChangedEventMetadata &&value)
void SetApprovalRuleEventMetadata(const ApprovalRuleEventMetadata &value)
bool ApprovalRuleEventMetadataHasBeenSet() const
void SetPullRequestId(const Aws::String &value)
void SetActorArn(const Aws::String &value)
PullRequestEvent & WithApprovalStateChangedEventMetadata(ApprovalStateChangedEventMetadata &&value)
void SetPullRequestId(const char *value)
PullRequestEvent & WithPullRequestCreatedEventMetadata(PullRequestCreatedEventMetadata &&value)
const ApprovalRuleOverriddenEventMetadata & GetApprovalRuleOverriddenEventMetadata() const
bool PullRequestCreatedEventMetadataHasBeenSet() const
PullRequestEvent & WithEventDate(Aws::Utils::DateTime &&value)
PullRequestEvent & WithPullRequestSourceReferenceUpdatedEventMetadata(PullRequestSourceReferenceUpdatedEventMetadata &&value)
PullRequestEvent & WithPullRequestSourceReferenceUpdatedEventMetadata(const PullRequestSourceReferenceUpdatedEventMetadata &value)
PullRequestEvent & WithPullRequestEventType(const PullRequestEventType &value)
void SetActorArn(Aws::String &&value)
bool ApprovalRuleOverriddenEventMetadataHasBeenSet() const
bool ActorArnHasBeenSet() const
const PullRequestCreatedEventMetadata & GetPullRequestCreatedEventMetadata() const
PullRequestEvent & WithEventDate(const Aws::Utils::DateTime &value)
const PullRequestEventType & GetPullRequestEventType() const
PullRequestEvent & WithPullRequestEventType(PullRequestEventType &&value)
PullRequestEvent & WithPullRequestStatusChangedEventMetadata(const PullRequestStatusChangedEventMetadata &value)
bool ApprovalStateChangedEventMetadataHasBeenSet() const
PullRequestEvent & WithPullRequestId(const char *value)
AWS_CODECOMMIT_API PullRequestEvent()
PullRequestEvent & WithActorArn(const Aws::String &value)
PullRequestEvent & WithApprovalRuleEventMetadata(const ApprovalRuleEventMetadata &value)
void SetActorArn(const char *value)
bool EventDateHasBeenSet() const
const PullRequestMergedStateChangedEventMetadata & GetPullRequestMergedStateChangedEventMetadata() const
PullRequestEvent & WithPullRequestId(Aws::String &&value)
void SetApprovalStateChangedEventMetadata(const ApprovalStateChangedEventMetadata &value)
bool PullRequestIdHasBeenSet() const
const PullRequestStatusChangedEventMetadata & GetPullRequestStatusChangedEventMetadata() const
PullRequestEvent & WithActorArn(const char *value)
void SetApprovalRuleOverriddenEventMetadata(ApprovalRuleOverriddenEventMetadata &&value)
bool PullRequestStatusChangedEventMetadataHasBeenSet() const
PullRequestEvent & WithApprovalRuleOverriddenEventMetadata(const ApprovalRuleOverriddenEventMetadata &value)
void SetPullRequestMergedStateChangedEventMetadata(const PullRequestMergedStateChangedEventMetadata &value)
const Aws::Utils::DateTime & GetEventDate() const
AWS_CODECOMMIT_API PullRequestEvent(Aws::Utils::Json::JsonView jsonValue)
void SetPullRequestStatusChangedEventMetadata(PullRequestStatusChangedEventMetadata &&value)
void SetApprovalStateChangedEventMetadata(ApprovalStateChangedEventMetadata &&value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPullRequestEventType(PullRequestEventType &&value)
void SetPullRequestEventType(const PullRequestEventType &value)
PullRequestEvent & WithApprovalRuleEventMetadata(ApprovalRuleEventMetadata &&value)
void SetPullRequestMergedStateChangedEventMetadata(PullRequestMergedStateChangedEventMetadata &&value)
PullRequestEvent & WithPullRequestId(const Aws::String &value)
PullRequestEvent & WithPullRequestStatusChangedEventMetadata(PullRequestStatusChangedEventMetadata &&value)
PullRequestEvent & WithActorArn(Aws::String &&value)
const ApprovalRuleEventMetadata & GetApprovalRuleEventMetadata() const
void SetEventDate(const Aws::Utils::DateTime &value)
bool PullRequestMergedStateChangedEventMetadataHasBeenSet() const
const PullRequestSourceReferenceUpdatedEventMetadata & GetPullRequestSourceReferenceUpdatedEventMetadata() const
void SetEventDate(Aws::Utils::DateTime &&value)
const Aws::String & GetPullRequestId() const
const ApprovalStateChangedEventMetadata & GetApprovalStateChangedEventMetadata() const
void SetPullRequestCreatedEventMetadata(const PullRequestCreatedEventMetadata &value)
void SetApprovalRuleOverriddenEventMetadata(const ApprovalRuleOverriddenEventMetadata &value)
bool PullRequestEventTypeHasBeenSet() const
void SetPullRequestSourceReferenceUpdatedEventMetadata(const PullRequestSourceReferenceUpdatedEventMetadata &value)
AWS_CODECOMMIT_API PullRequestEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPullRequestStatusChangedEventMetadata(const PullRequestStatusChangedEventMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue