AWS SDK for C++  1.8.152
AWS SDK for C++
BatchDescribeMergeConflictsError.h
Go to the documentation of this file.
1 
6 #pragma once
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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetFilePath() const{ return m_filePath; }
45 
49  inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
50 
54  inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
55 
59  inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
60 
64  inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
65 
69  inline BatchDescribeMergeConflictsError& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
70 
74  inline BatchDescribeMergeConflictsError& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
75 
79  inline BatchDescribeMergeConflictsError& WithFilePath(const char* value) { SetFilePath(value); return *this;}
80 
81 
85  inline const Aws::String& GetExceptionName() const{ return m_exceptionName; }
86 
90  inline bool ExceptionNameHasBeenSet() const { return m_exceptionNameHasBeenSet; }
91 
95  inline void SetExceptionName(const Aws::String& value) { m_exceptionNameHasBeenSet = true; m_exceptionName = value; }
96 
100  inline void SetExceptionName(Aws::String&& value) { m_exceptionNameHasBeenSet = true; m_exceptionName = std::move(value); }
101 
105  inline void SetExceptionName(const char* value) { m_exceptionNameHasBeenSet = true; m_exceptionName.assign(value); }
106 
110  inline BatchDescribeMergeConflictsError& WithExceptionName(const Aws::String& value) { SetExceptionName(value); return *this;}
111 
115  inline BatchDescribeMergeConflictsError& WithExceptionName(Aws::String&& value) { SetExceptionName(std::move(value)); return *this;}
116 
120  inline BatchDescribeMergeConflictsError& WithExceptionName(const char* value) { SetExceptionName(value); return *this;}
121 
122 
126  inline const Aws::String& GetMessage() const{ return m_message; }
127 
131  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
132 
136  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
137 
141  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
142 
146  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
147 
151  inline BatchDescribeMergeConflictsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
152 
156  inline BatchDescribeMergeConflictsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
157 
161  inline BatchDescribeMergeConflictsError& WithMessage(const char* value) { SetMessage(value); return *this;}
162 
163  private:
164 
165  Aws::String m_filePath;
166  bool m_filePathHasBeenSet;
167 
168  Aws::String m_exceptionName;
169  bool m_exceptionNameHasBeenSet;
170 
171  Aws::String m_message;
172  bool m_messageHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace CodeCommit
177 } // namespace Aws
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::GetExceptionName
const Aws::String & GetExceptionName() const
Definition: BatchDescribeMergeConflictsError.h:85
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::WithMessage
BatchDescribeMergeConflictsError & WithMessage(const char *value)
Definition: BatchDescribeMergeConflictsError.h:161
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::WithMessage
BatchDescribeMergeConflictsError & WithMessage(const Aws::String &value)
Definition: BatchDescribeMergeConflictsError.h:151
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::BatchDescribeMergeConflictsError
BatchDescribeMergeConflictsError(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::BatchDescribeMergeConflictsError
BatchDescribeMergeConflictsError()
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::WithFilePath
BatchDescribeMergeConflictsError & WithFilePath(Aws::String &&value)
Definition: BatchDescribeMergeConflictsError.h:74
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::operator=
BatchDescribeMergeConflictsError & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::SetMessage
void SetMessage(const char *value)
Definition: BatchDescribeMergeConflictsError.h:146
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::SetMessage
void SetMessage(Aws::String &&value)
Definition: BatchDescribeMergeConflictsError.h:141
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::WithFilePath
BatchDescribeMergeConflictsError & WithFilePath(const Aws::String &value)
Definition: BatchDescribeMergeConflictsError.h:69
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::SetExceptionName
void SetExceptionName(const Aws::String &value)
Definition: BatchDescribeMergeConflictsError.h:95
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::WithFilePath
BatchDescribeMergeConflictsError & WithFilePath(const char *value)
Definition: BatchDescribeMergeConflictsError.h:79
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::SetFilePath
void SetFilePath(const Aws::String &value)
Definition: BatchDescribeMergeConflictsError.h:54
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError
Definition: BatchDescribeMergeConflictsError.h:33
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::FilePathHasBeenSet
bool FilePathHasBeenSet() const
Definition: BatchDescribeMergeConflictsError.h:49
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::WithExceptionName
BatchDescribeMergeConflictsError & WithExceptionName(Aws::String &&value)
Definition: BatchDescribeMergeConflictsError.h:115
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::WithExceptionName
BatchDescribeMergeConflictsError & WithExceptionName(const char *value)
Definition: BatchDescribeMergeConflictsError.h:120
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::SetMessage
void SetMessage(const Aws::String &value)
Definition: BatchDescribeMergeConflictsError.h:136
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: BatchDescribeMergeConflictsError.h:131
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::GetMessage
const Aws::String & GetMessage() const
Definition: BatchDescribeMergeConflictsError.h:126
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::WithMessage
BatchDescribeMergeConflictsError & WithMessage(Aws::String &&value)
Definition: BatchDescribeMergeConflictsError.h:156
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::WithExceptionName
BatchDescribeMergeConflictsError & WithExceptionName(const Aws::String &value)
Definition: BatchDescribeMergeConflictsError.h:110
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::SetExceptionName
void SetExceptionName(Aws::String &&value)
Definition: BatchDescribeMergeConflictsError.h:100
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::GetFilePath
const Aws::String & GetFilePath() const
Definition: BatchDescribeMergeConflictsError.h:44
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::SetFilePath
void SetFilePath(Aws::String &&value)
Definition: BatchDescribeMergeConflictsError.h:59
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::ExceptionNameHasBeenSet
bool ExceptionNameHasBeenSet() const
Definition: BatchDescribeMergeConflictsError.h:90
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::SetExceptionName
void SetExceptionName(const char *value)
Definition: BatchDescribeMergeConflictsError.h:105
Aws::CodeCommit::Model::BatchDescribeMergeConflictsError::SetFilePath
void SetFilePath(const char *value)
Definition: BatchDescribeMergeConflictsError.h:64