AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetBlobRequest.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
25 {
26 public:
27 AWS_CODECOMMIT_API GetBlobRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetBlob"; }
34
35 AWS_CODECOMMIT_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
45 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
46 template<typename RepositoryNameT = Aws::String>
47 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::forward<RepositoryNameT>(value); }
48 template<typename RepositoryNameT = Aws::String>
49 GetBlobRequest& WithRepositoryName(RepositoryNameT&& value) { SetRepositoryName(std::forward<RepositoryNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetBlobId() const { return m_blobId; }
57 inline bool BlobIdHasBeenSet() const { return m_blobIdHasBeenSet; }
58 template<typename BlobIdT = Aws::String>
59 void SetBlobId(BlobIdT&& value) { m_blobIdHasBeenSet = true; m_blobId = std::forward<BlobIdT>(value); }
60 template<typename BlobIdT = Aws::String>
61 GetBlobRequest& WithBlobId(BlobIdT&& value) { SetBlobId(std::forward<BlobIdT>(value)); return *this;}
63 private:
64
65 Aws::String m_repositoryName;
66 bool m_repositoryNameHasBeenSet = false;
67
68 Aws::String m_blobId;
69 bool m_blobIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CodeCommit
74} // namespace Aws
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetBlobId() const
const Aws::String & GetRepositoryName() const
GetBlobRequest & WithRepositoryName(RepositoryNameT &&value)
GetBlobRequest & WithBlobId(BlobIdT &&value)
AWS_CODECOMMIT_API GetBlobRequest()=default
virtual const char * GetServiceRequestName() const override
void SetRepositoryName(RepositoryNameT &&value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String