AWS SDK for C++  1.8.152
AWS SDK for C++
ConflictMetadata.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 
38  {
39  public:
44 
45 
49  inline const Aws::String& GetFilePath() const{ return m_filePath; }
50 
54  inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
55 
59  inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
60 
64  inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
65 
69  inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
70 
74  inline ConflictMetadata& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
75 
79  inline ConflictMetadata& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
80 
84  inline ConflictMetadata& WithFilePath(const char* value) { SetFilePath(value); return *this;}
85 
86 
91  inline const FileSizes& GetFileSizes() const{ return m_fileSizes; }
92 
97  inline bool FileSizesHasBeenSet() const { return m_fileSizesHasBeenSet; }
98 
103  inline void SetFileSizes(const FileSizes& value) { m_fileSizesHasBeenSet = true; m_fileSizes = value; }
104 
109  inline void SetFileSizes(FileSizes&& value) { m_fileSizesHasBeenSet = true; m_fileSizes = std::move(value); }
110 
115  inline ConflictMetadata& WithFileSizes(const FileSizes& value) { SetFileSizes(value); return *this;}
116 
121  inline ConflictMetadata& WithFileSizes(FileSizes&& value) { SetFileSizes(std::move(value)); return *this;}
122 
123 
128  inline const FileModes& GetFileModes() const{ return m_fileModes; }
129 
134  inline bool FileModesHasBeenSet() const { return m_fileModesHasBeenSet; }
135 
140  inline void SetFileModes(const FileModes& value) { m_fileModesHasBeenSet = true; m_fileModes = value; }
141 
146  inline void SetFileModes(FileModes&& value) { m_fileModesHasBeenSet = true; m_fileModes = std::move(value); }
147 
152  inline ConflictMetadata& WithFileModes(const FileModes& value) { SetFileModes(value); return *this;}
153 
158  inline ConflictMetadata& WithFileModes(FileModes&& value) { SetFileModes(std::move(value)); return *this;}
159 
160 
164  inline const ObjectTypes& GetObjectTypes() const{ return m_objectTypes; }
165 
169  inline bool ObjectTypesHasBeenSet() const { return m_objectTypesHasBeenSet; }
170 
174  inline void SetObjectTypes(const ObjectTypes& value) { m_objectTypesHasBeenSet = true; m_objectTypes = value; }
175 
179  inline void SetObjectTypes(ObjectTypes&& value) { m_objectTypesHasBeenSet = true; m_objectTypes = std::move(value); }
180 
184  inline ConflictMetadata& WithObjectTypes(const ObjectTypes& value) { SetObjectTypes(value); return *this;}
185 
189  inline ConflictMetadata& WithObjectTypes(ObjectTypes&& value) { SetObjectTypes(std::move(value)); return *this;}
190 
191 
196  inline int GetNumberOfConflicts() const{ return m_numberOfConflicts; }
197 
202  inline bool NumberOfConflictsHasBeenSet() const { return m_numberOfConflictsHasBeenSet; }
203 
208  inline void SetNumberOfConflicts(int value) { m_numberOfConflictsHasBeenSet = true; m_numberOfConflicts = value; }
209 
214  inline ConflictMetadata& WithNumberOfConflicts(int value) { SetNumberOfConflicts(value); return *this;}
215 
216 
221  inline const IsBinaryFile& GetIsBinaryFile() const{ return m_isBinaryFile; }
222 
227  inline bool IsBinaryFileHasBeenSet() const { return m_isBinaryFileHasBeenSet; }
228 
233  inline void SetIsBinaryFile(const IsBinaryFile& value) { m_isBinaryFileHasBeenSet = true; m_isBinaryFile = value; }
234 
239  inline void SetIsBinaryFile(IsBinaryFile&& value) { m_isBinaryFileHasBeenSet = true; m_isBinaryFile = std::move(value); }
240 
245  inline ConflictMetadata& WithIsBinaryFile(const IsBinaryFile& value) { SetIsBinaryFile(value); return *this;}
246 
251  inline ConflictMetadata& WithIsBinaryFile(IsBinaryFile&& value) { SetIsBinaryFile(std::move(value)); return *this;}
252 
253 
258  inline bool GetContentConflict() const{ return m_contentConflict; }
259 
264  inline bool ContentConflictHasBeenSet() const { return m_contentConflictHasBeenSet; }
265 
270  inline void SetContentConflict(bool value) { m_contentConflictHasBeenSet = true; m_contentConflict = value; }
271 
276  inline ConflictMetadata& WithContentConflict(bool value) { SetContentConflict(value); return *this;}
277 
278 
283  inline bool GetFileModeConflict() const{ return m_fileModeConflict; }
284 
289  inline bool FileModeConflictHasBeenSet() const { return m_fileModeConflictHasBeenSet; }
290 
295  inline void SetFileModeConflict(bool value) { m_fileModeConflictHasBeenSet = true; m_fileModeConflict = value; }
296 
301  inline ConflictMetadata& WithFileModeConflict(bool value) { SetFileModeConflict(value); return *this;}
302 
303 
308  inline bool GetObjectTypeConflict() const{ return m_objectTypeConflict; }
309 
314  inline bool ObjectTypeConflictHasBeenSet() const { return m_objectTypeConflictHasBeenSet; }
315 
320  inline void SetObjectTypeConflict(bool value) { m_objectTypeConflictHasBeenSet = true; m_objectTypeConflict = value; }
321 
326  inline ConflictMetadata& WithObjectTypeConflict(bool value) { SetObjectTypeConflict(value); return *this;}
327 
328 
333  inline const MergeOperations& GetMergeOperations() const{ return m_mergeOperations; }
334 
339  inline bool MergeOperationsHasBeenSet() const { return m_mergeOperationsHasBeenSet; }
340 
345  inline void SetMergeOperations(const MergeOperations& value) { m_mergeOperationsHasBeenSet = true; m_mergeOperations = value; }
346 
351  inline void SetMergeOperations(MergeOperations&& value) { m_mergeOperationsHasBeenSet = true; m_mergeOperations = std::move(value); }
352 
357  inline ConflictMetadata& WithMergeOperations(const MergeOperations& value) { SetMergeOperations(value); return *this;}
358 
363  inline ConflictMetadata& WithMergeOperations(MergeOperations&& value) { SetMergeOperations(std::move(value)); return *this;}
364 
365  private:
366 
367  Aws::String m_filePath;
368  bool m_filePathHasBeenSet;
369 
370  FileSizes m_fileSizes;
371  bool m_fileSizesHasBeenSet;
372 
373  FileModes m_fileModes;
374  bool m_fileModesHasBeenSet;
375 
376  ObjectTypes m_objectTypes;
377  bool m_objectTypesHasBeenSet;
378 
379  int m_numberOfConflicts;
380  bool m_numberOfConflictsHasBeenSet;
381 
382  IsBinaryFile m_isBinaryFile;
383  bool m_isBinaryFileHasBeenSet;
384 
385  bool m_contentConflict;
386  bool m_contentConflictHasBeenSet;
387 
388  bool m_fileModeConflict;
389  bool m_fileModeConflictHasBeenSet;
390 
391  bool m_objectTypeConflict;
392  bool m_objectTypeConflictHasBeenSet;
393 
394  MergeOperations m_mergeOperations;
395  bool m_mergeOperationsHasBeenSet;
396  };
397 
398 } // namespace Model
399 } // namespace CodeCommit
400 } // namespace Aws
Aws::CodeCommit::Model::ConflictMetadata::FileModeConflictHasBeenSet
bool FileModeConflictHasBeenSet() const
Definition: ConflictMetadata.h:289
Aws::CodeCommit::Model::ConflictMetadata::GetMergeOperations
const MergeOperations & GetMergeOperations() const
Definition: ConflictMetadata.h:333
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::ConflictMetadata::GetFileModes
const FileModes & GetFileModes() const
Definition: ConflictMetadata.h:128
Aws::CodeCommit::Model::ConflictMetadata::GetFilePath
const Aws::String & GetFilePath() const
Definition: ConflictMetadata.h:49
Aws::CodeCommit::Model::ConflictMetadata::WithFilePath
ConflictMetadata & WithFilePath(const Aws::String &value)
Definition: ConflictMetadata.h:74
Aws::CodeCommit::Model::FileSizes
Definition: FileSizes.h:31
Aws::CodeCommit::Model::ConflictMetadata::SetContentConflict
void SetContentConflict(bool value)
Definition: ConflictMetadata.h:270
Aws::CodeCommit::Model::ConflictMetadata::ObjectTypeConflictHasBeenSet
bool ObjectTypeConflictHasBeenSet() const
Definition: ConflictMetadata.h:314
Aws::CodeCommit::Model::ConflictMetadata::GetNumberOfConflicts
int GetNumberOfConflicts() const
Definition: ConflictMetadata.h:196
Aws::CodeCommit::Model::ConflictMetadata::WithMergeOperations
ConflictMetadata & WithMergeOperations(const MergeOperations &value)
Definition: ConflictMetadata.h:357
Aws::CodeCommit::Model::ConflictMetadata::GetIsBinaryFile
const IsBinaryFile & GetIsBinaryFile() const
Definition: ConflictMetadata.h:221
Aws::CodeCommit::Model::ConflictMetadata::SetFileModes
void SetFileModes(FileModes &&value)
Definition: ConflictMetadata.h:146
ObjectTypes.h
MergeOperations.h
Aws::CodeCommit::Model::ConflictMetadata::SetIsBinaryFile
void SetIsBinaryFile(IsBinaryFile &&value)
Definition: ConflictMetadata.h:239
Aws::CodeCommit::Model::ConflictMetadata::SetObjectTypes
void SetObjectTypes(ObjectTypes &&value)
Definition: ConflictMetadata.h:179
FileSizes.h
Aws::CodeCommit::Model::FileModes
Definition: FileModes.h:33
Aws::CodeCommit::Model::ConflictMetadata::WithIsBinaryFile
ConflictMetadata & WithIsBinaryFile(IsBinaryFile &&value)
Definition: ConflictMetadata.h:251
Aws::CodeCommit::Model::ConflictMetadata::WithContentConflict
ConflictMetadata & WithContentConflict(bool value)
Definition: ConflictMetadata.h:276
Aws::CodeCommit::Model::ObjectTypes
Definition: ObjectTypes.h:33
Aws::CodeCommit::Model::ConflictMetadata::SetFilePath
void SetFilePath(Aws::String &&value)
Definition: ConflictMetadata.h:64
Aws::CodeCommit::Model::ConflictMetadata::GetContentConflict
bool GetContentConflict() const
Definition: ConflictMetadata.h:258
Aws::CodeCommit::Model::ConflictMetadata::MergeOperationsHasBeenSet
bool MergeOperationsHasBeenSet() const
Definition: ConflictMetadata.h:339
Aws::CodeCommit::Model::ConflictMetadata::WithMergeOperations
ConflictMetadata & WithMergeOperations(MergeOperations &&value)
Definition: ConflictMetadata.h:363
Aws::CodeCommit::Model::ConflictMetadata::WithNumberOfConflicts
ConflictMetadata & WithNumberOfConflicts(int value)
Definition: ConflictMetadata.h:214
Aws::CodeCommit::Model::ConflictMetadata::SetFilePath
void SetFilePath(const char *value)
Definition: ConflictMetadata.h:69
Aws::CodeCommit::Model::ConflictMetadata::SetIsBinaryFile
void SetIsBinaryFile(const IsBinaryFile &value)
Definition: ConflictMetadata.h:233
Aws::CodeCommit::Model::ConflictMetadata::SetMergeOperations
void SetMergeOperations(const MergeOperations &value)
Definition: ConflictMetadata.h:345
Aws::CodeCommit::Model::ConflictMetadata::ConflictMetadata
ConflictMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::ConflictMetadata::WithFileSizes
ConflictMetadata & WithFileSizes(FileSizes &&value)
Definition: ConflictMetadata.h:121
Aws::CodeCommit::Model::IsBinaryFile
Definition: IsBinaryFile.h:31
Aws::CodeCommit::Model::ConflictMetadata::SetFileModes
void SetFileModes(const FileModes &value)
Definition: ConflictMetadata.h:140
Aws::CodeCommit::Model::ConflictMetadata::GetObjectTypes
const ObjectTypes & GetObjectTypes() const
Definition: ConflictMetadata.h:164
Aws::CodeCommit::Model::ConflictMetadata::WithIsBinaryFile
ConflictMetadata & WithIsBinaryFile(const IsBinaryFile &value)
Definition: ConflictMetadata.h:245
Aws::CodeCommit::Model::ConflictMetadata::IsBinaryFileHasBeenSet
bool IsBinaryFileHasBeenSet() const
Definition: ConflictMetadata.h:227
Aws::CodeCommit::Model::ConflictMetadata::NumberOfConflictsHasBeenSet
bool NumberOfConflictsHasBeenSet() const
Definition: ConflictMetadata.h:202
Aws::CodeCommit::Model::ConflictMetadata::WithObjectTypeConflict
ConflictMetadata & WithObjectTypeConflict(bool value)
Definition: ConflictMetadata.h:326
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::CodeCommit::Model::ConflictMetadata::FileModesHasBeenSet
bool FileModesHasBeenSet() const
Definition: ConflictMetadata.h:134
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::CodeCommit::Model::ConflictMetadata::SetObjectTypes
void SetObjectTypes(const ObjectTypes &value)
Definition: ConflictMetadata.h:174
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
FileModes.h
Aws::CodeCommit::Model::ConflictMetadata::GetFileModeConflict
bool GetFileModeConflict() const
Definition: ConflictMetadata.h:283
Aws::CodeCommit::Model::ConflictMetadata::WithObjectTypes
ConflictMetadata & WithObjectTypes(const ObjectTypes &value)
Definition: ConflictMetadata.h:184
Aws::CodeCommit::Model::ConflictMetadata::WithFileModes
ConflictMetadata & WithFileModes(const FileModes &value)
Definition: ConflictMetadata.h:152
Aws::CodeCommit::Model::ConflictMetadata::GetObjectTypeConflict
bool GetObjectTypeConflict() const
Definition: ConflictMetadata.h:308
Aws::CodeCommit::Model::ConflictMetadata
Definition: ConflictMetadata.h:38
Aws::CodeCommit::Model::ConflictMetadata::FilePathHasBeenSet
bool FilePathHasBeenSet() const
Definition: ConflictMetadata.h:54
Aws::CodeCommit::Model::ConflictMetadata::SetObjectTypeConflict
void SetObjectTypeConflict(bool value)
Definition: ConflictMetadata.h:320
Aws::CodeCommit::Model::ConflictMetadata::WithFileModeConflict
ConflictMetadata & WithFileModeConflict(bool value)
Definition: ConflictMetadata.h:301
Aws::CodeCommit::Model::ConflictMetadata::ConflictMetadata
ConflictMetadata()
Aws::CodeCommit::Model::ConflictMetadata::WithFilePath
ConflictMetadata & WithFilePath(const char *value)
Definition: ConflictMetadata.h:84
Aws::CodeCommit::Model::ConflictMetadata::SetNumberOfConflicts
void SetNumberOfConflicts(int value)
Definition: ConflictMetadata.h:208
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::ConflictMetadata::SetFileSizes
void SetFileSizes(const FileSizes &value)
Definition: ConflictMetadata.h:103
Aws::CodeCommit::Model::MergeOperations
Definition: MergeOperations.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::ConflictMetadata::GetFileSizes
const FileSizes & GetFileSizes() const
Definition: ConflictMetadata.h:91
Aws::CodeCommit::Model::ConflictMetadata::SetMergeOperations
void SetMergeOperations(MergeOperations &&value)
Definition: ConflictMetadata.h:351
Aws::CodeCommit::Model::ConflictMetadata::operator=
ConflictMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::ConflictMetadata::ObjectTypesHasBeenSet
bool ObjectTypesHasBeenSet() const
Definition: ConflictMetadata.h:169
Aws::CodeCommit::Model::ConflictMetadata::WithObjectTypes
ConflictMetadata & WithObjectTypes(ObjectTypes &&value)
Definition: ConflictMetadata.h:189
Aws::CodeCommit::Model::ConflictMetadata::SetFileSizes
void SetFileSizes(FileSizes &&value)
Definition: ConflictMetadata.h:109
Aws::CodeCommit::Model::ConflictMetadata::FileSizesHasBeenSet
bool FileSizesHasBeenSet() const
Definition: ConflictMetadata.h:97
Aws::CodeCommit::Model::ConflictMetadata::WithFileSizes
ConflictMetadata & WithFileSizes(const FileSizes &value)
Definition: ConflictMetadata.h:115
Aws::CodeCommit::Model::ConflictMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeCommit::Model::ConflictMetadata::WithFileModes
ConflictMetadata & WithFileModes(FileModes &&value)
Definition: ConflictMetadata.h:158
IsBinaryFile.h
Aws::CodeCommit::Model::ConflictMetadata::SetFileModeConflict
void SetFileModeConflict(bool value)
Definition: ConflictMetadata.h:295
Aws::CodeCommit::Model::ConflictMetadata::WithFilePath
ConflictMetadata & WithFilePath(Aws::String &&value)
Definition: ConflictMetadata.h:79
Aws::CodeCommit::Model::ConflictMetadata::ContentConflictHasBeenSet
bool ContentConflictHasBeenSet() const
Definition: ConflictMetadata.h:264
Aws::CodeCommit::Model::ConflictMetadata::SetFilePath
void SetFilePath(const Aws::String &value)
Definition: ConflictMetadata.h:59