AWS SDK for C++  1.8.152
AWS SDK for C++
BatchDisassociateApprovalRuleTemplateFromRepositoriesError.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 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
47 
52  inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
53 
58  inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
59 
64  inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
65 
70  inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
71 
76  inline BatchDisassociateApprovalRuleTemplateFromRepositoriesError& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
77 
82  inline BatchDisassociateApprovalRuleTemplateFromRepositoriesError& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
83 
88  inline BatchDisassociateApprovalRuleTemplateFromRepositoriesError& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
89 
90 
95  inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
96 
101  inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
102 
107  inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
108 
113  inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
114 
119  inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
120 
125  inline BatchDisassociateApprovalRuleTemplateFromRepositoriesError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
126 
131  inline BatchDisassociateApprovalRuleTemplateFromRepositoriesError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
132 
137  inline BatchDisassociateApprovalRuleTemplateFromRepositoriesError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
138 
139 
144  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
145 
150  inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
151 
156  inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
157 
162  inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
163 
168  inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
169 
174  inline BatchDisassociateApprovalRuleTemplateFromRepositoriesError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
175 
180  inline BatchDisassociateApprovalRuleTemplateFromRepositoriesError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
181 
186  inline BatchDisassociateApprovalRuleTemplateFromRepositoriesError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
187 
188  private:
189 
190  Aws::String m_repositoryName;
191  bool m_repositoryNameHasBeenSet;
192 
193  Aws::String m_errorCode;
194  bool m_errorCodeHasBeenSet;
195 
196  Aws::String m_errorMessage;
197  bool m_errorMessageHasBeenSet;
198  };
199 
200 } // namespace Model
201 } // namespace CodeCommit
202 } // namespace Aws
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::WithErrorMessage
BatchDisassociateApprovalRuleTemplateFromRepositoriesError & WithErrorMessage(Aws::String &&value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:180
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::RepositoryNameHasBeenSet
bool RepositoryNameHasBeenSet() const
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:52
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::operator=
BatchDisassociateApprovalRuleTemplateFromRepositoriesError & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:162
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::WithErrorMessage
BatchDisassociateApprovalRuleTemplateFromRepositoriesError & WithErrorMessage(const Aws::String &value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:174
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::WithRepositoryName
BatchDisassociateApprovalRuleTemplateFromRepositoriesError & WithRepositoryName(const Aws::String &value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:76
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::BatchDisassociateApprovalRuleTemplateFromRepositoriesError
BatchDisassociateApprovalRuleTemplateFromRepositoriesError(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:64
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:168
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::BatchDisassociateApprovalRuleTemplateFromRepositoriesError
BatchDisassociateApprovalRuleTemplateFromRepositoriesError()
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:34
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:144
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::WithErrorCode
BatchDisassociateApprovalRuleTemplateFromRepositoriesError & WithErrorCode(const Aws::String &value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:125
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::WithErrorMessage
BatchDisassociateApprovalRuleTemplateFromRepositoriesError & WithErrorMessage(const char *value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:186
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:156
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:70
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::GetErrorCode
const Aws::String & GetErrorCode() const
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:95
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::SetErrorCode
void SetErrorCode(const char *value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:119
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:150
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::WithErrorCode
BatchDisassociateApprovalRuleTemplateFromRepositoriesError & WithErrorCode(Aws::String &&value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:131
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::WithRepositoryName
BatchDisassociateApprovalRuleTemplateFromRepositoriesError & WithRepositoryName(const char *value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:88
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::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:46
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::WithErrorCode
BatchDisassociateApprovalRuleTemplateFromRepositoriesError & WithErrorCode(const char *value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:137
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::WithRepositoryName
BatchDisassociateApprovalRuleTemplateFromRepositoriesError & WithRepositoryName(Aws::String &&value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:82
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::SetErrorCode
void SetErrorCode(Aws::String &&value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:113
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:101
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::SetErrorCode
void SetErrorCode(const Aws::String &value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:107
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::BatchDisassociateApprovalRuleTemplateFromRepositoriesError::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: BatchDisassociateApprovalRuleTemplateFromRepositoriesError.h:58