AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PullRequestStatusChangedEventMetadata.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/model/PullRequestStatusEnum.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeCommit
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const PullRequestStatusEnum& GetPullRequestStatus() const{ return m_pullRequestStatus; }
46 inline bool PullRequestStatusHasBeenSet() const { return m_pullRequestStatusHasBeenSet; }
47 inline void SetPullRequestStatus(const PullRequestStatusEnum& value) { m_pullRequestStatusHasBeenSet = true; m_pullRequestStatus = value; }
48 inline void SetPullRequestStatus(PullRequestStatusEnum&& value) { m_pullRequestStatusHasBeenSet = true; m_pullRequestStatus = std::move(value); }
52 private:
53
54 PullRequestStatusEnum m_pullRequestStatus;
55 bool m_pullRequestStatusHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace CodeCommit
60} // namespace Aws
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
PullRequestStatusChangedEventMetadata & WithPullRequestStatus(const PullRequestStatusEnum &value)
AWS_CODECOMMIT_API PullRequestStatusChangedEventMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API PullRequestStatusChangedEventMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
PullRequestStatusChangedEventMetadata & WithPullRequestStatus(PullRequestStatusEnum &&value)
Aws::Utils::Json::JsonValue JsonValue