AWS SDK for C++  1.8.184
AWS SDK for C++
PullRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace CodeCommit
27 {
28 namespace Model
29 {
30 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetPullRequestId() const{ return m_pullRequestId; }
49 
53  inline bool PullRequestIdHasBeenSet() const { return m_pullRequestIdHasBeenSet; }
54 
58  inline void SetPullRequestId(const Aws::String& value) { m_pullRequestIdHasBeenSet = true; m_pullRequestId = value; }
59 
63  inline void SetPullRequestId(Aws::String&& value) { m_pullRequestIdHasBeenSet = true; m_pullRequestId = std::move(value); }
64 
68  inline void SetPullRequestId(const char* value) { m_pullRequestIdHasBeenSet = true; m_pullRequestId.assign(value); }
69 
73  inline PullRequest& WithPullRequestId(const Aws::String& value) { SetPullRequestId(value); return *this;}
74 
78  inline PullRequest& WithPullRequestId(Aws::String&& value) { SetPullRequestId(std::move(value)); return *this;}
79 
83  inline PullRequest& WithPullRequestId(const char* value) { SetPullRequestId(value); return *this;}
84 
85 
90  inline const Aws::String& GetTitle() const{ return m_title; }
91 
96  inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
97 
102  inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
103 
108  inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
109 
114  inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
115 
120  inline PullRequest& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
121 
126  inline PullRequest& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
127 
132  inline PullRequest& WithTitle(const char* value) { SetTitle(value); return *this;}
133 
134 
139  inline const Aws::String& GetDescription() const{ return m_description; }
140 
145  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
146 
151  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
152 
157  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
158 
163  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
164 
169  inline PullRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
170 
175  inline PullRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
176 
181  inline PullRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
182 
183 
188  inline const Aws::Utils::DateTime& GetLastActivityDate() const{ return m_lastActivityDate; }
189 
194  inline bool LastActivityDateHasBeenSet() const { return m_lastActivityDateHasBeenSet; }
195 
200  inline void SetLastActivityDate(const Aws::Utils::DateTime& value) { m_lastActivityDateHasBeenSet = true; m_lastActivityDate = value; }
201 
206  inline void SetLastActivityDate(Aws::Utils::DateTime&& value) { m_lastActivityDateHasBeenSet = true; m_lastActivityDate = std::move(value); }
207 
212  inline PullRequest& WithLastActivityDate(const Aws::Utils::DateTime& value) { SetLastActivityDate(value); return *this;}
213 
218  inline PullRequest& WithLastActivityDate(Aws::Utils::DateTime&& value) { SetLastActivityDate(std::move(value)); return *this;}
219 
220 
225  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
226 
231  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
232 
237  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
238 
243  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
244 
249  inline PullRequest& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
250 
255  inline PullRequest& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
256 
257 
262  inline const PullRequestStatusEnum& GetPullRequestStatus() const{ return m_pullRequestStatus; }
263 
268  inline bool PullRequestStatusHasBeenSet() const { return m_pullRequestStatusHasBeenSet; }
269 
274  inline void SetPullRequestStatus(const PullRequestStatusEnum& value) { m_pullRequestStatusHasBeenSet = true; m_pullRequestStatus = value; }
275 
280  inline void SetPullRequestStatus(PullRequestStatusEnum&& value) { m_pullRequestStatusHasBeenSet = true; m_pullRequestStatus = std::move(value); }
281 
286  inline PullRequest& WithPullRequestStatus(const PullRequestStatusEnum& value) { SetPullRequestStatus(value); return *this;}
287 
292  inline PullRequest& WithPullRequestStatus(PullRequestStatusEnum&& value) { SetPullRequestStatus(std::move(value)); return *this;}
293 
294 
298  inline const Aws::String& GetAuthorArn() const{ return m_authorArn; }
299 
303  inline bool AuthorArnHasBeenSet() const { return m_authorArnHasBeenSet; }
304 
308  inline void SetAuthorArn(const Aws::String& value) { m_authorArnHasBeenSet = true; m_authorArn = value; }
309 
313  inline void SetAuthorArn(Aws::String&& value) { m_authorArnHasBeenSet = true; m_authorArn = std::move(value); }
314 
318  inline void SetAuthorArn(const char* value) { m_authorArnHasBeenSet = true; m_authorArn.assign(value); }
319 
323  inline PullRequest& WithAuthorArn(const Aws::String& value) { SetAuthorArn(value); return *this;}
324 
328  inline PullRequest& WithAuthorArn(Aws::String&& value) { SetAuthorArn(std::move(value)); return *this;}
329 
333  inline PullRequest& WithAuthorArn(const char* value) { SetAuthorArn(value); return *this;}
334 
335 
340  inline const Aws::Vector<PullRequestTarget>& GetPullRequestTargets() const{ return m_pullRequestTargets; }
341 
346  inline bool PullRequestTargetsHasBeenSet() const { return m_pullRequestTargetsHasBeenSet; }
347 
352  inline void SetPullRequestTargets(const Aws::Vector<PullRequestTarget>& value) { m_pullRequestTargetsHasBeenSet = true; m_pullRequestTargets = value; }
353 
358  inline void SetPullRequestTargets(Aws::Vector<PullRequestTarget>&& value) { m_pullRequestTargetsHasBeenSet = true; m_pullRequestTargets = std::move(value); }
359 
364  inline PullRequest& WithPullRequestTargets(const Aws::Vector<PullRequestTarget>& value) { SetPullRequestTargets(value); return *this;}
365 
370  inline PullRequest& WithPullRequestTargets(Aws::Vector<PullRequestTarget>&& value) { SetPullRequestTargets(std::move(value)); return *this;}
371 
376  inline PullRequest& AddPullRequestTargets(const PullRequestTarget& value) { m_pullRequestTargetsHasBeenSet = true; m_pullRequestTargets.push_back(value); return *this; }
377 
382  inline PullRequest& AddPullRequestTargets(PullRequestTarget&& value) { m_pullRequestTargetsHasBeenSet = true; m_pullRequestTargets.push_back(std::move(value)); return *this; }
383 
384 
391  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
392 
399  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
400 
407  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
408 
415  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
416 
423  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
424 
431  inline PullRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
432 
439  inline PullRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
440 
447  inline PullRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
448 
449 
453  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
454 
458  inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
459 
463  inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
464 
468  inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
469 
473  inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
474 
478  inline PullRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
479 
483  inline PullRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
484 
488  inline PullRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
489 
490 
494  inline const Aws::Vector<ApprovalRule>& GetApprovalRules() const{ return m_approvalRules; }
495 
499  inline bool ApprovalRulesHasBeenSet() const { return m_approvalRulesHasBeenSet; }
500 
504  inline void SetApprovalRules(const Aws::Vector<ApprovalRule>& value) { m_approvalRulesHasBeenSet = true; m_approvalRules = value; }
505 
509  inline void SetApprovalRules(Aws::Vector<ApprovalRule>&& value) { m_approvalRulesHasBeenSet = true; m_approvalRules = std::move(value); }
510 
514  inline PullRequest& WithApprovalRules(const Aws::Vector<ApprovalRule>& value) { SetApprovalRules(value); return *this;}
515 
519  inline PullRequest& WithApprovalRules(Aws::Vector<ApprovalRule>&& value) { SetApprovalRules(std::move(value)); return *this;}
520 
524  inline PullRequest& AddApprovalRules(const ApprovalRule& value) { m_approvalRulesHasBeenSet = true; m_approvalRules.push_back(value); return *this; }
525 
529  inline PullRequest& AddApprovalRules(ApprovalRule&& value) { m_approvalRulesHasBeenSet = true; m_approvalRules.push_back(std::move(value)); return *this; }
530 
531  private:
532 
533  Aws::String m_pullRequestId;
534  bool m_pullRequestIdHasBeenSet;
535 
536  Aws::String m_title;
537  bool m_titleHasBeenSet;
538 
539  Aws::String m_description;
540  bool m_descriptionHasBeenSet;
541 
542  Aws::Utils::DateTime m_lastActivityDate;
543  bool m_lastActivityDateHasBeenSet;
544 
545  Aws::Utils::DateTime m_creationDate;
546  bool m_creationDateHasBeenSet;
547 
548  PullRequestStatusEnum m_pullRequestStatus;
549  bool m_pullRequestStatusHasBeenSet;
550 
551  Aws::String m_authorArn;
552  bool m_authorArnHasBeenSet;
553 
554  Aws::Vector<PullRequestTarget> m_pullRequestTargets;
555  bool m_pullRequestTargetsHasBeenSet;
556 
557  Aws::String m_clientRequestToken;
558  bool m_clientRequestTokenHasBeenSet;
559 
560  Aws::String m_revisionId;
561  bool m_revisionIdHasBeenSet;
562 
563  Aws::Vector<ApprovalRule> m_approvalRules;
564  bool m_approvalRulesHasBeenSet;
565  };
566 
567 } // namespace Model
568 } // namespace CodeCommit
569 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CodeCommit::Model::PullRequest::SetPullRequestTargets
void SetPullRequestTargets(const Aws::Vector< PullRequestTarget > &value)
Definition: PullRequest.h:352
Aws::CodeCommit::Model::PullRequest::WithDescription
PullRequest & WithDescription(Aws::String &&value)
Definition: PullRequest.h:175
Aws::CodeCommit::Model::PullRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: PullRequest.h:157
Aws::CodeCommit::Model::PullRequest::PullRequest
PullRequest()
Aws::CodeCommit::Model::PullRequest::WithClientRequestToken
PullRequest & WithClientRequestToken(Aws::String &&value)
Definition: PullRequest.h:439
Aws::CodeCommit::Model::PullRequest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeCommit::Model::PullRequest::SetLastActivityDate
void SetLastActivityDate(Aws::Utils::DateTime &&value)
Definition: PullRequest.h:206
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::PullRequest::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: PullRequest.h:463
Aws::CodeCommit::Model::PullRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: PullRequest.h:423
Aws::CodeCommit::Model::PullRequest::SetAuthorArn
void SetAuthorArn(Aws::String &&value)
Definition: PullRequest.h:313
Aws::CodeCommit::Model::PullRequest::SetPullRequestTargets
void SetPullRequestTargets(Aws::Vector< PullRequestTarget > &&value)
Definition: PullRequest.h:358
Aws::CodeCommit::Model::PullRequest::GetTitle
const Aws::String & GetTitle() const
Definition: PullRequest.h:90
Aws::CodeCommit::Model::PullRequest::WithLastActivityDate
PullRequest & WithLastActivityDate(const Aws::Utils::DateTime &value)
Definition: PullRequest.h:212
Aws::CodeCommit::Model::PullRequest::WithTitle
PullRequest & WithTitle(const Aws::String &value)
Definition: PullRequest.h:120
Aws::CodeCommit::Model::PullRequest::ApprovalRulesHasBeenSet
bool ApprovalRulesHasBeenSet() const
Definition: PullRequest.h:499
Aws::CodeCommit::Model::PullRequest::GetDescription
const Aws::String & GetDescription() const
Definition: PullRequest.h:139
Aws::CodeCommit::Model::PullRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: PullRequest.h:407
Aws::CodeCommit::Model::PullRequest::SetPullRequestId
void SetPullRequestId(const char *value)
Definition: PullRequest.h:68
Aws::CodeCommit::Model::PullRequest::AddApprovalRules
PullRequest & AddApprovalRules(ApprovalRule &&value)
Definition: PullRequest.h:529
Aws::CodeCommit::Model::PullRequest::WithPullRequestId
PullRequest & WithPullRequestId(const Aws::String &value)
Definition: PullRequest.h:73
Aws::CodeCommit::Model::PullRequest::SetPullRequestId
void SetPullRequestId(const Aws::String &value)
Definition: PullRequest.h:58
DateTime.h
Aws::CodeCommit::Model::PullRequest::WithPullRequestStatus
PullRequest & WithPullRequestStatus(const PullRequestStatusEnum &value)
Definition: PullRequest.h:286
Aws::CodeCommit::Model::PullRequest::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: PullRequest.h:237
PullRequestStatusEnum.h
Aws::CodeCommit::Model::PullRequest::WithCreationDate
PullRequest & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: PullRequest.h:255
Aws::CodeCommit::Model::PullRequest::SetTitle
void SetTitle(const char *value)
Definition: PullRequest.h:114
Aws::CodeCommit::Model::PullRequest::WithRevisionId
PullRequest & WithRevisionId(Aws::String &&value)
Definition: PullRequest.h:483
Aws::CodeCommit::Model::PullRequest::PullRequest
PullRequest(Aws::Utils::Json::JsonView jsonValue)
ApprovalRule.h
Aws::CodeCommit::Model::PullRequest::WithPullRequestId
PullRequest & WithPullRequestId(Aws::String &&value)
Definition: PullRequest.h:78
Aws::CodeCommit::Model::PullRequest
Definition: PullRequest.h:37
Aws::CodeCommit::Model::PullRequest::GetAuthorArn
const Aws::String & GetAuthorArn() const
Definition: PullRequest.h:298
Aws::CodeCommit::Model::PullRequest::GetApprovalRules
const Aws::Vector< ApprovalRule > & GetApprovalRules() const
Definition: PullRequest.h:494
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodeCommit::Model::PullRequest::WithClientRequestToken
PullRequest & WithClientRequestToken(const char *value)
Definition: PullRequest.h:447
Aws::CodeCommit::Model::PullRequest::LastActivityDateHasBeenSet
bool LastActivityDateHasBeenSet() const
Definition: PullRequest.h:194
Aws::CodeCommit::Model::PullRequest::SetTitle
void SetTitle(const Aws::String &value)
Definition: PullRequest.h:102
Aws::CodeCommit::Model::PullRequest::SetLastActivityDate
void SetLastActivityDate(const Aws::Utils::DateTime &value)
Definition: PullRequest.h:200
AWSVector.h
Aws::CodeCommit::Model::PullRequest::WithDescription
PullRequest & WithDescription(const Aws::String &value)
Definition: PullRequest.h:169
Aws::CodeCommit::Model::PullRequest::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: PullRequest.h:453
Aws::CodeCommit::Model::PullRequest::WithDescription
PullRequest & WithDescription(const char *value)
Definition: PullRequest.h:181
Aws::CodeCommit::Model::PullRequest::GetPullRequestStatus
const PullRequestStatusEnum & GetPullRequestStatus() const
Definition: PullRequest.h:262
Aws::CodeCommit::Model::PullRequest::GetPullRequestId
const Aws::String & GetPullRequestId() const
Definition: PullRequest.h:48
Aws::CodeCommit::Model::PullRequest::WithCreationDate
PullRequest & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: PullRequest.h:249
Aws::CodeCommit::Model::PullRequest::WithClientRequestToken
PullRequest & WithClientRequestToken(const Aws::String &value)
Definition: PullRequest.h:431
Aws::CodeCommit::Model::PullRequestStatusEnum
PullRequestStatusEnum
Definition: PullRequestStatusEnum.h:17
Aws::CodeCommit::Model::PullRequest::WithPullRequestId
PullRequest & WithPullRequestId(const char *value)
Definition: PullRequest.h:83
Aws::CodeCommit::Model::ApprovalRule
Definition: ApprovalRule.h:34
Aws::CodeCommit::Model::PullRequest::SetTitle
void SetTitle(Aws::String &&value)
Definition: PullRequest.h:108
Aws::CodeCommit::Model::PullRequest::PullRequestTargetsHasBeenSet
bool PullRequestTargetsHasBeenSet() const
Definition: PullRequest.h:346
Aws::CodeCommit::Model::PullRequest::WithRevisionId
PullRequest & WithRevisionId(const char *value)
Definition: PullRequest.h:488
Aws::CodeCommit::Model::PullRequest::SetApprovalRules
void SetApprovalRules(const Aws::Vector< ApprovalRule > &value)
Definition: PullRequest.h:504
Aws::CodeCommit::Model::PullRequest::WithAuthorArn
PullRequest & WithAuthorArn(const char *value)
Definition: PullRequest.h:333
Aws::CodeCommit::Model::PullRequest::WithPullRequestTargets
PullRequest & WithPullRequestTargets(Aws::Vector< PullRequestTarget > &&value)
Definition: PullRequest.h:370
Aws::CodeCommit::Model::PullRequest::PullRequestIdHasBeenSet
bool PullRequestIdHasBeenSet() const
Definition: PullRequest.h:53
Aws::CodeCommit::Model::PullRequest::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: PullRequest.h:243
Aws::CodeCommit::Model::PullRequest::WithTitle
PullRequest & WithTitle(const char *value)
Definition: PullRequest.h:132
Aws::CodeCommit::Model::PullRequest::TitleHasBeenSet
bool TitleHasBeenSet() const
Definition: PullRequest.h:96
Aws::CodeCommit::Model::PullRequest::WithAuthorArn
PullRequest & WithAuthorArn(Aws::String &&value)
Definition: PullRequest.h:328
Aws::CodeCommit::Model::PullRequest::SetPullRequestStatus
void SetPullRequestStatus(const PullRequestStatusEnum &value)
Definition: PullRequest.h:274
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::CodeCommit::Model::PullRequest::WithApprovalRules
PullRequest & WithApprovalRules(Aws::Vector< ApprovalRule > &&value)
Definition: PullRequest.h:519
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::CodeCommit::Model::PullRequest::SetPullRequestId
void SetPullRequestId(Aws::String &&value)
Definition: PullRequest.h:63
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::PullRequest::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: PullRequest.h:231
Aws::CodeCommit::Model::PullRequest::WithAuthorArn
PullRequest & WithAuthorArn(const Aws::String &value)
Definition: PullRequest.h:323
Aws::CodeCommit::Model::PullRequest::PullRequestStatusHasBeenSet
bool PullRequestStatusHasBeenSet() const
Definition: PullRequest.h:268
Aws::CodeCommit::Model::PullRequest::AuthorArnHasBeenSet
bool AuthorArnHasBeenSet() const
Definition: PullRequest.h:303
Aws::CodeCommit::Model::PullRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: PullRequest.h:391
Aws::CodeCommit::Model::PullRequest::WithLastActivityDate
PullRequest & WithLastActivityDate(Aws::Utils::DateTime &&value)
Definition: PullRequest.h:218
Aws::CodeCommit::Model::PullRequest::WithApprovalRules
PullRequest & WithApprovalRules(const Aws::Vector< ApprovalRule > &value)
Definition: PullRequest.h:514
Aws::CodeCommit::Model::PullRequest::AddPullRequestTargets
PullRequest & AddPullRequestTargets(PullRequestTarget &&value)
Definition: PullRequest.h:382
Aws::CodeCommit::Model::PullRequest::WithPullRequestStatus
PullRequest & WithPullRequestStatus(PullRequestStatusEnum &&value)
Definition: PullRequest.h:292
Aws::CodeCommit::Model::PullRequest::SetPullRequestStatus
void SetPullRequestStatus(PullRequestStatusEnum &&value)
Definition: PullRequest.h:280
Aws::CodeCommit::Model::PullRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: PullRequest.h:399
Aws::CodeCommit::Model::PullRequest::WithTitle
PullRequest & WithTitle(Aws::String &&value)
Definition: PullRequest.h:126
Aws::CodeCommit::Model::PullRequest::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: PullRequest.h:225
Aws::CodeCommit::Model::PullRequest::SetAuthorArn
void SetAuthorArn(const Aws::String &value)
Definition: PullRequest.h:308
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::PullRequestTarget
Definition: PullRequestTarget.h:34
Aws::CodeCommit::Model::PullRequest::AddApprovalRules
PullRequest & AddApprovalRules(const ApprovalRule &value)
Definition: PullRequest.h:524
Aws::CodeCommit::Model::PullRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: PullRequest.h:145
PullRequestTarget.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::PullRequest::GetLastActivityDate
const Aws::Utils::DateTime & GetLastActivityDate() const
Definition: PullRequest.h:188
Aws::CodeCommit::Model::PullRequest::SetDescription
void SetDescription(const char *value)
Definition: PullRequest.h:163
Aws::CodeCommit::Model::PullRequest::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: PullRequest.h:468
Aws::CodeCommit::Model::PullRequest::WithRevisionId
PullRequest & WithRevisionId(const Aws::String &value)
Definition: PullRequest.h:478
Aws::CodeCommit::Model::PullRequest::SetApprovalRules
void SetApprovalRules(Aws::Vector< ApprovalRule > &&value)
Definition: PullRequest.h:509
Aws::CodeCommit::Model::PullRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: PullRequest.h:151
Aws::CodeCommit::Model::PullRequest::SetAuthorArn
void SetAuthorArn(const char *value)
Definition: PullRequest.h:318
Aws::CodeCommit::Model::PullRequest::GetPullRequestTargets
const Aws::Vector< PullRequestTarget > & GetPullRequestTargets() const
Definition: PullRequest.h:340
Aws::CodeCommit::Model::PullRequest::operator=
PullRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::PullRequest::RevisionIdHasBeenSet
bool RevisionIdHasBeenSet() const
Definition: PullRequest.h:458
Aws::CodeCommit::Model::PullRequest::WithPullRequestTargets
PullRequest & WithPullRequestTargets(const Aws::Vector< PullRequestTarget > &value)
Definition: PullRequest.h:364
Aws::CodeCommit::Model::PullRequest::SetRevisionId
void SetRevisionId(const char *value)
Definition: PullRequest.h:473
Aws::CodeCommit::Model::PullRequest::AddPullRequestTargets
PullRequest & AddPullRequestTargets(const PullRequestTarget &value)
Definition: PullRequest.h:376
Aws::CodeCommit::Model::PullRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: PullRequest.h:415