AWS SDK for C++
AWS SDK for C++ Version 1.11.440
Main Page
Related Pages
Namespaces
Classes
Modules
Search
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-codecommit
include
aws
codecommit
model
PullRequestStatusChangedEventMetadata.h
1
6
#pragma once
7
#include <aws/codecommit/CodeCommit_EXPORTS.h>
8
#include <aws/codecommit/model/PullRequestStatusEnum.h>
9
#include <utility>
10
11
namespace
Aws
12
{
13
namespace
Utils
14
{
15
namespace
Json
16
{
17
class
JsonValue
;
18
class
JsonView;
19
}
// namespace Json
20
}
// namespace Utils
21
namespace
CodeCommit
22
{
23
namespace
Model
24
{
25
32
class
PullRequestStatusChangedEventMetadata
33
{
34
public
:
35
AWS_CODECOMMIT_API
PullRequestStatusChangedEventMetadata
();
36
AWS_CODECOMMIT_API
PullRequestStatusChangedEventMetadata
(
Aws::Utils::Json::JsonView
jsonValue);
37
AWS_CODECOMMIT_API
PullRequestStatusChangedEventMetadata
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
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); }
49
inline
PullRequestStatusChangedEventMetadata
&
WithPullRequestStatus
(
const
PullRequestStatusEnum
& value) {
SetPullRequestStatus
(value);
return
*
this
;}
50
inline
PullRequestStatusChangedEventMetadata
&
WithPullRequestStatus
(
PullRequestStatusEnum
&& value) {
SetPullRequestStatus
(std::move(value));
return
*
this
;}
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::Model::PullRequestStatusChangedEventMetadata
Definition
PullRequestStatusChangedEventMetadata.h:33
Aws::CodeCommit::Model::PullRequestStatusChangedEventMetadata::Jsonize
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeCommit::Model::PullRequestStatusChangedEventMetadata::WithPullRequestStatus
PullRequestStatusChangedEventMetadata & WithPullRequestStatus(const PullRequestStatusEnum &value)
Definition
PullRequestStatusChangedEventMetadata.h:49
Aws::CodeCommit::Model::PullRequestStatusChangedEventMetadata::PullRequestStatusChangedEventMetadata
AWS_CODECOMMIT_API PullRequestStatusChangedEventMetadata()
Aws::CodeCommit::Model::PullRequestStatusChangedEventMetadata::GetPullRequestStatus
const PullRequestStatusEnum & GetPullRequestStatus() const
Definition
PullRequestStatusChangedEventMetadata.h:45
Aws::CodeCommit::Model::PullRequestStatusChangedEventMetadata::PullRequestStatusHasBeenSet
bool PullRequestStatusHasBeenSet() const
Definition
PullRequestStatusChangedEventMetadata.h:46
Aws::CodeCommit::Model::PullRequestStatusChangedEventMetadata::SetPullRequestStatus
void SetPullRequestStatus(const PullRequestStatusEnum &value)
Definition
PullRequestStatusChangedEventMetadata.h:47
Aws::CodeCommit::Model::PullRequestStatusChangedEventMetadata::PullRequestStatusChangedEventMetadata
AWS_CODECOMMIT_API PullRequestStatusChangedEventMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::PullRequestStatusChangedEventMetadata::operator=
AWS_CODECOMMIT_API PullRequestStatusChangedEventMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::PullRequestStatusChangedEventMetadata::WithPullRequestStatus
PullRequestStatusChangedEventMetadata & WithPullRequestStatus(PullRequestStatusEnum &&value)
Definition
PullRequestStatusChangedEventMetadata.h:50
Aws::CodeCommit::Model::PullRequestStatusChangedEventMetadata::SetPullRequestStatus
void SetPullRequestStatus(PullRequestStatusEnum &&value)
Definition
PullRequestStatusChangedEventMetadata.h:48
Aws::Utils::Json::JsonValue
Aws::Utils::Json::JsonView
Aws::CodeCommit::Model::PullRequestStatusEnum
PullRequestStatusEnum
Definition
PullRequestStatusEnum.h:17
Aws
smithy::client::JsonValue
Aws::Utils::Json::JsonValue JsonValue
Generated by
1.9.8
Privacy |
Site terms |
Cookie preferences