AWS SDK for C++  1.8.152
AWS SDK for C++
ListRepositoriesForApprovalRuleTemplateResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace CodeCommit
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<Aws::String>& GetRepositoryNames() const{ return m_repositoryNames; }
41 
46  inline void SetRepositoryNames(const Aws::Vector<Aws::String>& value) { m_repositoryNames = value; }
47 
52  inline void SetRepositoryNames(Aws::Vector<Aws::String>&& value) { m_repositoryNames = std::move(value); }
53 
58  inline ListRepositoriesForApprovalRuleTemplateResult& WithRepositoryNames(const Aws::Vector<Aws::String>& value) { SetRepositoryNames(value); return *this;}
59 
64  inline ListRepositoriesForApprovalRuleTemplateResult& WithRepositoryNames(Aws::Vector<Aws::String>&& value) { SetRepositoryNames(std::move(value)); return *this;}
65 
70  inline ListRepositoriesForApprovalRuleTemplateResult& AddRepositoryNames(const Aws::String& value) { m_repositoryNames.push_back(value); return *this; }
71 
76  inline ListRepositoriesForApprovalRuleTemplateResult& AddRepositoryNames(Aws::String&& value) { m_repositoryNames.push_back(std::move(value)); return *this; }
77 
82  inline ListRepositoriesForApprovalRuleTemplateResult& AddRepositoryNames(const char* value) { m_repositoryNames.push_back(value); return *this; }
83 
84 
89  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
90 
95  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
96 
101  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
102 
107  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
108 
113  inline ListRepositoriesForApprovalRuleTemplateResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 
119  inline ListRepositoriesForApprovalRuleTemplateResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
125  inline ListRepositoriesForApprovalRuleTemplateResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
126 
127  private:
128 
129  Aws::Vector<Aws::String> m_repositoryNames;
130 
131  Aws::String m_nextToken;
132  };
133 
134 } // namespace Model
135 } // namespace CodeCommit
136 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::ListRepositoriesForApprovalRuleTemplateResult
ListRepositoriesForApprovalRuleTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::AddRepositoryNames
ListRepositoriesForApprovalRuleTemplateResult & AddRepositoryNames(Aws::String &&value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:76
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::GetRepositoryNames
const Aws::Vector< Aws::String > & GetRepositoryNames() const
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:40
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:107
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:89
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:101
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::operator=
ListRepositoriesForApprovalRuleTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::WithRepositoryNames
ListRepositoriesForApprovalRuleTemplateResult & WithRepositoryNames(Aws::Vector< Aws::String > &&value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:64
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::SetRepositoryNames
void SetRepositoryNames(Aws::Vector< Aws::String > &&value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:52
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::AddRepositoryNames
ListRepositoriesForApprovalRuleTemplateResult & AddRepositoryNames(const Aws::String &value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:70
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::WithNextToken
ListRepositoriesForApprovalRuleTemplateResult & WithNextToken(const Aws::String &value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:113
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:29
AWSString.h
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:95
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::SetRepositoryNames
void SetRepositoryNames(const Aws::Vector< Aws::String > &value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:46
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::WithRepositoryNames
ListRepositoriesForApprovalRuleTemplateResult & WithRepositoryNames(const Aws::Vector< Aws::String > &value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:58
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::WithNextToken
ListRepositoriesForApprovalRuleTemplateResult & WithNextToken(const char *value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:125
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::WithNextToken
ListRepositoriesForApprovalRuleTemplateResult & WithNextToken(Aws::String &&value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:119
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::AddRepositoryNames
ListRepositoriesForApprovalRuleTemplateResult & AddRepositoryNames(const char *value)
Definition: ListRepositoriesForApprovalRuleTemplateResult.h:82
Aws::CodeCommit::Model::ListRepositoriesForApprovalRuleTemplateResult::ListRepositoriesForApprovalRuleTemplateResult
ListRepositoriesForApprovalRuleTemplateResult()