AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
44 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
45 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
46 inline GetFolderRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
47 inline GetFolderRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
48 inline GetFolderRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
50
52
58 inline const Aws::String& GetCommitSpecifier() const{ return m_commitSpecifier; }
59 inline bool CommitSpecifierHasBeenSet() const { return m_commitSpecifierHasBeenSet; }
60 inline void SetCommitSpecifier(const Aws::String& value) { m_commitSpecifierHasBeenSet = true; m_commitSpecifier = value; }
61 inline void SetCommitSpecifier(Aws::String&& value) { m_commitSpecifierHasBeenSet = true; m_commitSpecifier = std::move(value); }
62 inline void SetCommitSpecifier(const char* value) { m_commitSpecifierHasBeenSet = true; m_commitSpecifier.assign(value); }
63 inline GetFolderRequest& WithCommitSpecifier(const Aws::String& value) { SetCommitSpecifier(value); return *this;}
64 inline GetFolderRequest& WithCommitSpecifier(Aws::String&& value) { SetCommitSpecifier(std::move(value)); return *this;}
65 inline GetFolderRequest& WithCommitSpecifier(const char* value) { SetCommitSpecifier(value); return *this;}
67
69
75 inline const Aws::String& GetFolderPath() const{ return m_folderPath; }
76 inline bool FolderPathHasBeenSet() const { return m_folderPathHasBeenSet; }
77 inline void SetFolderPath(const Aws::String& value) { m_folderPathHasBeenSet = true; m_folderPath = value; }
78 inline void SetFolderPath(Aws::String&& value) { m_folderPathHasBeenSet = true; m_folderPath = std::move(value); }
79 inline void SetFolderPath(const char* value) { m_folderPathHasBeenSet = true; m_folderPath.assign(value); }
80 inline GetFolderRequest& WithFolderPath(const Aws::String& value) { SetFolderPath(value); return *this;}
81 inline GetFolderRequest& WithFolderPath(Aws::String&& value) { SetFolderPath(std::move(value)); return *this;}
82 inline GetFolderRequest& WithFolderPath(const char* value) { SetFolderPath(value); return *this;}
84 private:
85
86 Aws::String m_repositoryName;
87 bool m_repositoryNameHasBeenSet = false;
88
89 Aws::String m_commitSpecifier;
90 bool m_commitSpecifierHasBeenSet = false;
91
92 Aws::String m_folderPath;
93 bool m_folderPathHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CodeCommit
98} // namespace Aws
GetFolderRequest & WithFolderPath(const Aws::String &value)
GetFolderRequest & WithFolderPath(Aws::String &&value)
GetFolderRequest & WithRepositoryName(const char *value)
GetFolderRequest & WithCommitSpecifier(const char *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
void SetRepositoryName(Aws::String &&value)
void SetCommitSpecifier(Aws::String &&value)
GetFolderRequest & WithFolderPath(const char *value)
const Aws::String & GetCommitSpecifier() const
void SetFolderPath(const Aws::String &value)
void SetRepositoryName(const Aws::String &value)
void SetCommitSpecifier(const Aws::String &value)
GetFolderRequest & WithRepositoryName(Aws::String &&value)
const Aws::String & GetRepositoryName() const
GetFolderRequest & WithRepositoryName(const Aws::String &value)
GetFolderRequest & WithCommitSpecifier(Aws::String &&value)
GetFolderRequest & WithCommitSpecifier(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String