AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
BatchGetRepositoriesRequest.h
1
6#pragma once
7#include <aws/codecommit/CodeCommitRequest.h>
8#include <aws/codecommit/CodeCommit_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CodeCommit {
16namespace Model {
17
25 public:
26 AWS_CODECOMMIT_API BatchGetRepositoriesRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchGetRepositories"; }
33
34 AWS_CODECOMMIT_API Aws::String SerializePayload() const override;
35
37
39
44 inline const Aws::Vector<Aws::String>& GetRepositoryNames() const { return m_repositoryNames; }
45 inline bool RepositoryNamesHasBeenSet() const { return m_repositoryNamesHasBeenSet; }
46 template <typename RepositoryNamesT = Aws::Vector<Aws::String>>
47 void SetRepositoryNames(RepositoryNamesT&& value) {
48 m_repositoryNamesHasBeenSet = true;
49 m_repositoryNames = std::forward<RepositoryNamesT>(value);
50 }
51 template <typename RepositoryNamesT = Aws::Vector<Aws::String>>
53 SetRepositoryNames(std::forward<RepositoryNamesT>(value));
54 return *this;
55 }
56 template <typename RepositoryNamesT = Aws::String>
58 m_repositoryNamesHasBeenSet = true;
59 m_repositoryNames.emplace_back(std::forward<RepositoryNamesT>(value));
60 return *this;
61 }
63 private:
64 Aws::Vector<Aws::String> m_repositoryNames;
65 bool m_repositoryNamesHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace CodeCommit
70} // namespace Aws
const Aws::Vector< Aws::String > & GetRepositoryNames() const
BatchGetRepositoriesRequest & WithRepositoryNames(RepositoryNamesT &&value)
AWS_CODECOMMIT_API BatchGetRepositoriesRequest()=default
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchGetRepositoriesRequest & AddRepositoryNames(RepositoryNamesT &&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