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/PullRequestStatusEnum.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codecommit/model/PullRequestTarget.h>
13#include <aws/codecommit/model/ApprovalRule.h>
53 inline void SetPullRequestId(
const char* value) { m_pullRequestIdHasBeenSet =
true; m_pullRequestId.assign(value); }
68 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
83 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
136 inline void SetAuthorArn(
const char* value) { m_authorArnHasBeenSet =
true; m_authorArn.assign(value); }
168 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
182 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
204 bool m_pullRequestIdHasBeenSet =
false;
207 bool m_titleHasBeenSet =
false;
210 bool m_descriptionHasBeenSet =
false;
213 bool m_lastActivityDateHasBeenSet =
false;
216 bool m_creationDateHasBeenSet =
false;
219 bool m_pullRequestStatusHasBeenSet =
false;
222 bool m_authorArnHasBeenSet =
false;
225 bool m_pullRequestTargetsHasBeenSet =
false;
228 bool m_clientRequestTokenHasBeenSet =
false;
231 bool m_revisionIdHasBeenSet =
false;
234 bool m_approvalRulesHasBeenSet =
false;
bool PullRequestStatusHasBeenSet() const
PullRequest & WithLastActivityDate(Aws::Utils::DateTime &&value)
bool CreationDateHasBeenSet() const
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetDescription(Aws::String &&value)
void SetRevisionId(const Aws::String &value)
const Aws::Vector< PullRequestTarget > & GetPullRequestTargets() const
void SetClientRequestToken(Aws::String &&value)
void SetRevisionId(Aws::String &&value)
void SetTitle(Aws::String &&value)
PullRequest & AddApprovalRules(ApprovalRule &&value)
PullRequest & WithLastActivityDate(const Aws::Utils::DateTime &value)
PullRequest & AddPullRequestTargets(const PullRequestTarget &value)
const Aws::Vector< ApprovalRule > & GetApprovalRules() const
void SetApprovalRules(Aws::Vector< ApprovalRule > &&value)
PullRequest & WithAuthorArn(Aws::String &&value)
PullRequest & WithClientRequestToken(const char *value)
bool ClientRequestTokenHasBeenSet() const
bool LastActivityDateHasBeenSet() const
PullRequest & WithPullRequestTargets(Aws::Vector< PullRequestTarget > &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetRevisionId(const char *value)
PullRequest & WithPullRequestId(const char *value)
void SetPullRequestId(Aws::String &&value)
bool AuthorArnHasBeenSet() const
PullRequest & AddPullRequestTargets(PullRequestTarget &&value)
PullRequest & WithAuthorArn(const Aws::String &value)
PullRequest & WithCreationDate(Aws::Utils::DateTime &&value)
PullRequest & WithDescription(const char *value)
void SetClientRequestToken(const Aws::String &value)
const Aws::String & GetClientRequestToken() const
AWS_CODECOMMIT_API PullRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
PullRequest & WithApprovalRules(Aws::Vector< ApprovalRule > &&value)
bool RevisionIdHasBeenSet() const
const Aws::String & GetRevisionId() const
void SetPullRequestId(const Aws::String &value)
void SetTitle(const char *value)
void SetApprovalRules(const Aws::Vector< ApprovalRule > &value)
PullRequest & WithApprovalRules(const Aws::Vector< ApprovalRule > &value)
bool PullRequestTargetsHasBeenSet() const
PullRequest & AddApprovalRules(const ApprovalRule &value)
const Aws::String & GetDescription() const
PullRequest & WithCreationDate(const Aws::Utils::DateTime &value)
bool TitleHasBeenSet() const
void SetPullRequestId(const char *value)
PullRequest & WithRevisionId(const char *value)
PullRequest & WithRevisionId(const Aws::String &value)
const PullRequestStatusEnum & GetPullRequestStatus() const
PullRequest & WithTitle(Aws::String &&value)
bool ApprovalRulesHasBeenSet() const
const Aws::Utils::DateTime & GetLastActivityDate() const
PullRequest & WithDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
PullRequest & WithDescription(Aws::String &&value)
void SetClientRequestToken(const char *value)
void SetLastActivityDate(const Aws::Utils::DateTime &value)
PullRequest & WithClientRequestToken(const Aws::String &value)
const Aws::String & GetTitle() const
PullRequest & WithPullRequestId(Aws::String &&value)
PullRequest & WithTitle(const char *value)
const Aws::String & GetAuthorArn() const
PullRequest & WithTitle(const Aws::String &value)
void SetDescription(const char *value)
AWS_CODECOMMIT_API PullRequest()
void SetPullRequestStatus(PullRequestStatusEnum &&value)
void SetTitle(const Aws::String &value)
void SetLastActivityDate(Aws::Utils::DateTime &&value)
PullRequest & WithPullRequestStatus(PullRequestStatusEnum &&value)
PullRequest & WithAuthorArn(const char *value)
void SetAuthorArn(Aws::String &&value)
bool PullRequestIdHasBeenSet() const
void SetPullRequestStatus(const PullRequestStatusEnum &value)
void SetPullRequestTargets(const Aws::Vector< PullRequestTarget > &value)
void SetAuthorArn(const Aws::String &value)
PullRequest & WithPullRequestId(const Aws::String &value)
void SetAuthorArn(const char *value)
AWS_CODECOMMIT_API PullRequest(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
PullRequest & WithPullRequestTargets(const Aws::Vector< PullRequestTarget > &value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetPullRequestTargets(Aws::Vector< PullRequestTarget > &&value)
PullRequest & WithClientRequestToken(Aws::String &&value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
PullRequest & WithRevisionId(Aws::String &&value)
const Aws::String & GetPullRequestId() const
PullRequest & WithPullRequestStatus(const PullRequestStatusEnum &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue