AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetRepositoriesRequest.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeCommit
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_CODECOMMIT_API BatchGetRepositoriesRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "BatchGetRepositories"; }
36
37 AWS_CODECOMMIT_API Aws::String SerializePayload() const override;
38
40
41
43
48 inline const Aws::Vector<Aws::String>& GetRepositoryNames() const{ return m_repositoryNames; }
49 inline bool RepositoryNamesHasBeenSet() const { return m_repositoryNamesHasBeenSet; }
50 inline void SetRepositoryNames(const Aws::Vector<Aws::String>& value) { m_repositoryNamesHasBeenSet = true; m_repositoryNames = value; }
51 inline void SetRepositoryNames(Aws::Vector<Aws::String>&& value) { m_repositoryNamesHasBeenSet = true; m_repositoryNames = std::move(value); }
54 inline BatchGetRepositoriesRequest& AddRepositoryNames(const Aws::String& value) { m_repositoryNamesHasBeenSet = true; m_repositoryNames.push_back(value); return *this; }
55 inline BatchGetRepositoriesRequest& AddRepositoryNames(Aws::String&& value) { m_repositoryNamesHasBeenSet = true; m_repositoryNames.push_back(std::move(value)); return *this; }
56 inline BatchGetRepositoriesRequest& AddRepositoryNames(const char* value) { m_repositoryNamesHasBeenSet = true; m_repositoryNames.push_back(value); return *this; }
58 private:
59
60 Aws::Vector<Aws::String> m_repositoryNames;
61 bool m_repositoryNamesHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace CodeCommit
66} // namespace Aws
BatchGetRepositoriesRequest & WithRepositoryNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetRepositoryNames() const
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
void SetRepositoryNames(Aws::Vector< Aws::String > &&value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchGetRepositoriesRequest & AddRepositoryNames(const char *value)
BatchGetRepositoriesRequest & AddRepositoryNames(Aws::String &&value)
BatchGetRepositoriesRequest & AddRepositoryNames(const Aws::String &value)
BatchGetRepositoriesRequest & WithRepositoryNames(const Aws::Vector< Aws::String > &value)
void SetRepositoryNames(const Aws::Vector< Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector