AWS SDK for C++
1.8.152
AWS SDK for C++
aws-cpp-sdk-codecommit
include
aws
codecommit
model
Conflict.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/codecommit/CodeCommit_EXPORTS.h
>
8
#include <
aws/codecommit/model/ConflictMetadata.h
>
9
#include <
aws/core/utils/memory/stl/AWSVector.h
>
10
#include <
aws/codecommit/model/MergeHunk.h
>
11
#include <utility>
12
13
namespace
Aws
14
{
15
namespace
Utils
16
{
17
namespace
Json
18
{
19
class
JsonValue;
20
class
JsonView;
21
}
// namespace Json
22
}
// namespace Utils
23
namespace
CodeCommit
24
{
25
namespace
Model
26
{
27
34
class
AWS_CODECOMMIT_API
Conflict
35
{
36
public
:
37
Conflict
();
38
Conflict
(
Aws::Utils::Json::JsonView
jsonValue);
39
Conflict
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
40
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
41
42
46
inline
const
ConflictMetadata
&
GetConflictMetadata
()
const
{
return
m_conflictMetadata; }
47
51
inline
bool
ConflictMetadataHasBeenSet
()
const
{
return
m_conflictMetadataHasBeenSet; }
52
56
inline
void
SetConflictMetadata
(
const
ConflictMetadata
& value) { m_conflictMetadataHasBeenSet =
true
; m_conflictMetadata = value; }
57
61
inline
void
SetConflictMetadata
(
ConflictMetadata
&& value) { m_conflictMetadataHasBeenSet =
true
; m_conflictMetadata = std::move(value); }
62
66
inline
Conflict
&
WithConflictMetadata
(
const
ConflictMetadata
& value) { SetConflictMetadata(value);
return
*
this
;}
67
71
inline
Conflict
&
WithConflictMetadata
(
ConflictMetadata
&& value) { SetConflictMetadata(std::move(value));
return
*
this
;}
72
73
78
inline
const
Aws::Vector<MergeHunk>
&
GetMergeHunks
()
const
{
return
m_mergeHunks; }
79
84
inline
bool
MergeHunksHasBeenSet
()
const
{
return
m_mergeHunksHasBeenSet; }
85
90
inline
void
SetMergeHunks
(
const
Aws::Vector<MergeHunk>
& value) { m_mergeHunksHasBeenSet =
true
; m_mergeHunks = value; }
91
96
inline
void
SetMergeHunks
(
Aws::Vector<MergeHunk>
&& value) { m_mergeHunksHasBeenSet =
true
; m_mergeHunks = std::move(value); }
97
102
inline
Conflict
&
WithMergeHunks
(
const
Aws::Vector<MergeHunk>
& value) { SetMergeHunks(value);
return
*
this
;}
103
108
inline
Conflict
&
WithMergeHunks
(
Aws::Vector<MergeHunk>
&& value) { SetMergeHunks(std::move(value));
return
*
this
;}
109
114
inline
Conflict
&
AddMergeHunks
(
const
MergeHunk
& value) { m_mergeHunksHasBeenSet =
true
; m_mergeHunks.push_back(value);
return
*
this
; }
115
120
inline
Conflict
&
AddMergeHunks
(
MergeHunk
&& value) { m_mergeHunksHasBeenSet =
true
; m_mergeHunks.push_back(std::move(value));
return
*
this
; }
121
122
private
:
123
124
ConflictMetadata
m_conflictMetadata;
125
bool
m_conflictMetadataHasBeenSet;
126
127
Aws::Vector<MergeHunk>
m_mergeHunks;
128
bool
m_mergeHunksHasBeenSet;
129
};
130
131
}
// namespace Model
132
}
// namespace CodeCommit
133
}
// namespace Aws
Aws::CodeCommit::Model::Conflict::WithConflictMetadata
Conflict & WithConflictMetadata(const ConflictMetadata &value)
Definition:
Conflict.h:66
CodeCommit_EXPORTS.h
ConflictMetadata.h
Aws::CodeCommit::Model::Conflict::operator=
Conflict & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::Conflict::WithMergeHunks
Conflict & WithMergeHunks(const Aws::Vector< MergeHunk > &value)
Definition:
Conflict.h:102
Aws::CodeCommit::Model::Conflict::GetConflictMetadata
const ConflictMetadata & GetConflictMetadata() const
Definition:
Conflict.h:46
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition:
AWSVector.h:17
AWSVector.h
Aws::CodeCommit::Model::Conflict::GetMergeHunks
const Aws::Vector< MergeHunk > & GetMergeHunks() const
Definition:
Conflict.h:78
Aws::CodeCommit::Model::Conflict::Conflict
Conflict()
Aws::CodeCommit::Model::Conflict::WithMergeHunks
Conflict & WithMergeHunks(Aws::Vector< MergeHunk > &&value)
Definition:
Conflict.h:108
Aws::CodeCommit::Model::Conflict::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition:
JsonSerializer.h:222
Aws::CodeCommit::Model::Conflict::SetConflictMetadata
void SetConflictMetadata(ConflictMetadata &&value)
Definition:
Conflict.h:61
Aws::CodeCommit::Model::Conflict::ConflictMetadataHasBeenSet
bool ConflictMetadataHasBeenSet() const
Definition:
Conflict.h:51
Aws::Utils::Json::JsonValue
Definition:
JsonSerializer.h:30
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition:
CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::Conflict::MergeHunksHasBeenSet
bool MergeHunksHasBeenSet() const
Definition:
Conflict.h:84
Aws::CodeCommit::Model::Conflict::AddMergeHunks
Conflict & AddMergeHunks(const MergeHunk &value)
Definition:
Conflict.h:114
Aws::CodeCommit::Model::Conflict
Definition:
Conflict.h:35
Aws::CodeCommit::Model::ConflictMetadata
Definition:
ConflictMetadata.h:38
Aws::CodeCommit::Model::Conflict::AddMergeHunks
Conflict & AddMergeHunks(MergeHunk &&value)
Definition:
Conflict.h:120
Aws::CodeCommit::Model::Conflict::WithConflictMetadata
Conflict & WithConflictMetadata(ConflictMetadata &&value)
Definition:
Conflict.h:71
Aws::CodeCommit::Model::MergeHunk
Definition:
MergeHunk.h:33
Aws::CodeCommit::Model::Conflict::SetMergeHunks
void SetMergeHunks(const Aws::Vector< MergeHunk > &value)
Definition:
Conflict.h:90
Aws
Definition:
AccessManagementClient.h:15
Aws::CodeCommit::Model::Conflict::Conflict
Conflict(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::Conflict::SetMergeHunks
void SetMergeHunks(Aws::Vector< MergeHunk > &&value)
Definition:
Conflict.h:96
MergeHunk.h
Aws::CodeCommit::Model::Conflict::SetConflictMetadata
void SetConflictMetadata(const ConflictMetadata &value)
Definition:
Conflict.h:56
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences