AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDescribeMergeConflictsError.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 Aws::String& GetFilePath() const{ return m_filePath; }
46 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
47 inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
48 inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
49 inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
50 inline BatchDescribeMergeConflictsError& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
51 inline BatchDescribeMergeConflictsError& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
52 inline BatchDescribeMergeConflictsError& WithFilePath(const char* value) { SetFilePath(value); return *this;}
54
56
59 inline const Aws::String& GetExceptionName() const{ return m_exceptionName; }
60 inline bool ExceptionNameHasBeenSet() const { return m_exceptionNameHasBeenSet; }
61 inline void SetExceptionName(const Aws::String& value) { m_exceptionNameHasBeenSet = true; m_exceptionName = value; }
62 inline void SetExceptionName(Aws::String&& value) { m_exceptionNameHasBeenSet = true; m_exceptionName = std::move(value); }
63 inline void SetExceptionName(const char* value) { m_exceptionNameHasBeenSet = true; m_exceptionName.assign(value); }
65 inline BatchDescribeMergeConflictsError& WithExceptionName(Aws::String&& value) { SetExceptionName(std::move(value)); return *this;}
66 inline BatchDescribeMergeConflictsError& WithExceptionName(const char* value) { SetExceptionName(value); return *this;}
68
70
73 inline const Aws::String& GetMessage() const{ return m_message; }
74 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
75 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
76 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
77 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
78 inline BatchDescribeMergeConflictsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
79 inline BatchDescribeMergeConflictsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
80 inline BatchDescribeMergeConflictsError& WithMessage(const char* value) { SetMessage(value); return *this;}
82 private:
83
84 Aws::String m_filePath;
85 bool m_filePathHasBeenSet = false;
86
87 Aws::String m_exceptionName;
88 bool m_exceptionNameHasBeenSet = false;
89
90 Aws::String m_message;
91 bool m_messageHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CodeCommit
96} // namespace Aws
BatchDescribeMergeConflictsError & WithMessage(Aws::String &&value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODECOMMIT_API BatchDescribeMergeConflictsError(Aws::Utils::Json::JsonView jsonValue)
BatchDescribeMergeConflictsError & WithFilePath(Aws::String &&value)
AWS_CODECOMMIT_API BatchDescribeMergeConflictsError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDescribeMergeConflictsError & WithMessage(const char *value)
BatchDescribeMergeConflictsError & WithExceptionName(const char *value)
BatchDescribeMergeConflictsError & WithExceptionName(Aws::String &&value)
BatchDescribeMergeConflictsError & WithFilePath(const char *value)
BatchDescribeMergeConflictsError & WithMessage(const Aws::String &value)
BatchDescribeMergeConflictsError & WithFilePath(const Aws::String &value)
BatchDescribeMergeConflictsError & WithExceptionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue