AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetFolderRequest.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/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CodeCommit
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CODECOMMIT_API GetFolderRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetFolder"; }
31
32 AWS_CODECOMMIT_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
42 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
43 template<typename RepositoryNameT = Aws::String>
44 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::forward<RepositoryNameT>(value); }
45 template<typename RepositoryNameT = Aws::String>
46 GetFolderRequest& WithRepositoryName(RepositoryNameT&& value) { SetRepositoryName(std::forward<RepositoryNameT>(value)); return *this;}
48
50
56 inline const Aws::String& GetCommitSpecifier() const { return m_commitSpecifier; }
57 inline bool CommitSpecifierHasBeenSet() const { return m_commitSpecifierHasBeenSet; }
58 template<typename CommitSpecifierT = Aws::String>
59 void SetCommitSpecifier(CommitSpecifierT&& value) { m_commitSpecifierHasBeenSet = true; m_commitSpecifier = std::forward<CommitSpecifierT>(value); }
60 template<typename CommitSpecifierT = Aws::String>
61 GetFolderRequest& WithCommitSpecifier(CommitSpecifierT&& value) { SetCommitSpecifier(std::forward<CommitSpecifierT>(value)); return *this;}
63
65
71 inline const Aws::String& GetFolderPath() const { return m_folderPath; }
72 inline bool FolderPathHasBeenSet() const { return m_folderPathHasBeenSet; }
73 template<typename FolderPathT = Aws::String>
74 void SetFolderPath(FolderPathT&& value) { m_folderPathHasBeenSet = true; m_folderPath = std::forward<FolderPathT>(value); }
75 template<typename FolderPathT = Aws::String>
76 GetFolderRequest& WithFolderPath(FolderPathT&& value) { SetFolderPath(std::forward<FolderPathT>(value)); return *this;}
78 private:
79
80 Aws::String m_repositoryName;
81 bool m_repositoryNameHasBeenSet = false;
82
83 Aws::String m_commitSpecifier;
84 bool m_commitSpecifierHasBeenSet = false;
85
86 Aws::String m_folderPath;
87 bool m_folderPathHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CodeCommit
92} // namespace Aws
GetFolderRequest & WithRepositoryName(RepositoryNameT &&value)
GetFolderRequest & WithCommitSpecifier(CommitSpecifierT &&value)
const Aws::String & GetFolderPath() const
virtual const char * GetServiceRequestName() const override
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetCommitSpecifier() const
void SetCommitSpecifier(CommitSpecifierT &&value)
AWS_CODECOMMIT_API GetFolderRequest()=default
void SetRepositoryName(RepositoryNameT &&value)
const Aws::String & GetRepositoryName() const
GetFolderRequest & WithFolderPath(FolderPathT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String