AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRepositoryRequest.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/proton/model/RepositoryProvider.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Proton
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PROTON_API GetRepositoryRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetRepository"; }
32
33 AWS_PROTON_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline GetRepositoryRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline GetRepositoryRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline GetRepositoryRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const RepositoryProvider& GetProvider() const{ return m_provider; }
57 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
58 inline void SetProvider(const RepositoryProvider& value) { m_providerHasBeenSet = true; m_provider = value; }
59 inline void SetProvider(RepositoryProvider&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
60 inline GetRepositoryRequest& WithProvider(const RepositoryProvider& value) { SetProvider(value); return *this;}
61 inline GetRepositoryRequest& WithProvider(RepositoryProvider&& value) { SetProvider(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_name;
66 bool m_nameHasBeenSet = false;
67
68 RepositoryProvider m_provider;
69 bool m_providerHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Proton
74} // namespace Aws
void SetProvider(const RepositoryProvider &value)
GetRepositoryRequest & WithName(const char *value)
GetRepositoryRequest & WithProvider(const RepositoryProvider &value)
AWS_PROTON_API Aws::String SerializePayload() const override
GetRepositoryRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetRepositoryRequest & WithName(const Aws::String &value)
GetRepositoryRequest & WithProvider(RepositoryProvider &&value)
const RepositoryProvider & GetProvider() const
void SetProvider(RepositoryProvider &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String