AWS SDK for C++  1.9.19
AWS SDK for C++
BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace CodeCommit
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<Aws::String>& GetAssociatedRepositoryNames() const{ return m_associatedRepositoryNames; }
42 
47  inline void SetAssociatedRepositoryNames(const Aws::Vector<Aws::String>& value) { m_associatedRepositoryNames = value; }
48 
53  inline void SetAssociatedRepositoryNames(Aws::Vector<Aws::String>&& value) { m_associatedRepositoryNames = std::move(value); }
54 
59  inline BatchAssociateApprovalRuleTemplateWithRepositoriesResult& WithAssociatedRepositoryNames(const Aws::Vector<Aws::String>& value) { SetAssociatedRepositoryNames(value); return *this;}
60 
65  inline BatchAssociateApprovalRuleTemplateWithRepositoriesResult& WithAssociatedRepositoryNames(Aws::Vector<Aws::String>&& value) { SetAssociatedRepositoryNames(std::move(value)); return *this;}
66 
71  inline BatchAssociateApprovalRuleTemplateWithRepositoriesResult& AddAssociatedRepositoryNames(const Aws::String& value) { m_associatedRepositoryNames.push_back(value); return *this; }
72 
77  inline BatchAssociateApprovalRuleTemplateWithRepositoriesResult& AddAssociatedRepositoryNames(Aws::String&& value) { m_associatedRepositoryNames.push_back(std::move(value)); return *this; }
78 
83  inline BatchAssociateApprovalRuleTemplateWithRepositoriesResult& AddAssociatedRepositoryNames(const char* value) { m_associatedRepositoryNames.push_back(value); return *this; }
84 
85 
91 
97 
102  inline void SetErrors(Aws::Vector<BatchAssociateApprovalRuleTemplateWithRepositoriesError>&& value) { m_errors = std::move(value); }
103 
109 
115 
121 
127 
128  private:
129 
130  Aws::Vector<Aws::String> m_associatedRepositoryNames;
131 
133  };
134 
135 } // namespace Model
136 } // namespace CodeCommit
137 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::AddAssociatedRepositoryNames
BatchAssociateApprovalRuleTemplateWithRepositoriesResult & AddAssociatedRepositoryNames(Aws::String &&value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:77
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::WithErrors
BatchAssociateApprovalRuleTemplateWithRepositoriesResult & WithErrors(const Aws::Vector< BatchAssociateApprovalRuleTemplateWithRepositoriesError > &value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:108
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::GetAssociatedRepositoryNames
const Aws::Vector< Aws::String > & GetAssociatedRepositoryNames() const
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:41
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::WithErrors
BatchAssociateApprovalRuleTemplateWithRepositoriesResult & WithErrors(Aws::Vector< BatchAssociateApprovalRuleTemplateWithRepositoriesError > &&value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:114
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::SetErrors
void SetErrors(const Aws::Vector< BatchAssociateApprovalRuleTemplateWithRepositoriesError > &value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:96
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::GetErrors
const Aws::Vector< BatchAssociateApprovalRuleTemplateWithRepositoriesError > & GetErrors() const
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:90
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::operator=
BatchAssociateApprovalRuleTemplateWithRepositoriesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::AddErrors
BatchAssociateApprovalRuleTemplateWithRepositoriesResult & AddErrors(BatchAssociateApprovalRuleTemplateWithRepositoriesError &&value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:126
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::SetErrors
void SetErrors(Aws::Vector< BatchAssociateApprovalRuleTemplateWithRepositoriesError > &&value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:102
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::BatchAssociateApprovalRuleTemplateWithRepositoriesResult
BatchAssociateApprovalRuleTemplateWithRepositoriesResult()
AWSVector.h
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::WithAssociatedRepositoryNames
BatchAssociateApprovalRuleTemplateWithRepositoriesResult & WithAssociatedRepositoryNames(const Aws::Vector< Aws::String > &value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:59
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::BatchAssociateApprovalRuleTemplateWithRepositoriesResult
BatchAssociateApprovalRuleTemplateWithRepositoriesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::AddErrors
BatchAssociateApprovalRuleTemplateWithRepositoriesResult & AddErrors(const BatchAssociateApprovalRuleTemplateWithRepositoriesError &value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:120
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::AddAssociatedRepositoryNames
BatchAssociateApprovalRuleTemplateWithRepositoriesResult & AddAssociatedRepositoryNames(const Aws::String &value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:71
AWSString.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::WithAssociatedRepositoryNames
BatchAssociateApprovalRuleTemplateWithRepositoriesResult & WithAssociatedRepositoryNames(Aws::Vector< Aws::String > &&value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:65
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::SetAssociatedRepositoryNames
void SetAssociatedRepositoryNames(const Aws::Vector< Aws::String > &value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesError
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesError.h:34
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
BatchAssociateApprovalRuleTemplateWithRepositoriesError.h
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::AddAssociatedRepositoryNames
BatchAssociateApprovalRuleTemplateWithRepositoriesResult & AddAssociatedRepositoryNames(const char *value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:83
Aws::CodeCommit::Model::BatchAssociateApprovalRuleTemplateWithRepositoriesResult::SetAssociatedRepositoryNames
void SetAssociatedRepositoryNames(Aws::Vector< Aws::String > &&value)
Definition: BatchAssociateApprovalRuleTemplateWithRepositoriesResult.h:53