AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateSourceRepositoryRequest.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalystRequest.h>
8#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CodeCatalyst {
15namespace Model {
16
20 public:
21 AWS_CODECATALYST_API CreateSourceRepositoryRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateSourceRepository"; }
28
29 AWS_CODECATALYST_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
36 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
37 template <typename SpaceNameT = Aws::String>
38 void SetSpaceName(SpaceNameT&& value) {
39 m_spaceNameHasBeenSet = true;
40 m_spaceName = std::forward<SpaceNameT>(value);
41 }
42 template <typename SpaceNameT = Aws::String>
44 SetSpaceName(std::forward<SpaceNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetProjectName() const { return m_projectName; }
54 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
55 template <typename ProjectNameT = Aws::String>
56 void SetProjectName(ProjectNameT&& value) {
57 m_projectNameHasBeenSet = true;
58 m_projectName = std::forward<ProjectNameT>(value);
59 }
60 template <typename ProjectNameT = Aws::String>
62 SetProjectName(std::forward<ProjectNameT>(value));
63 return *this;
64 }
66
68
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 template <typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) {
96 m_descriptionHasBeenSet = true;
97 m_description = std::forward<DescriptionT>(value);
98 }
99 template <typename DescriptionT = Aws::String>
101 SetDescription(std::forward<DescriptionT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_spaceName;
107
108 Aws::String m_projectName;
109
110 Aws::String m_name;
111
112 Aws::String m_description;
113 bool m_spaceNameHasBeenSet = false;
114 bool m_projectNameHasBeenSet = false;
115 bool m_nameHasBeenSet = false;
116 bool m_descriptionHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace CodeCatalyst
121} // namespace Aws
AWS_CODECATALYST_API CreateSourceRepositoryRequest()=default
AWS_CODECATALYST_API Aws::String SerializePayload() const override
CreateSourceRepositoryRequest & WithSpaceName(SpaceNameT &&value)
CreateSourceRepositoryRequest & WithProjectName(ProjectNameT &&value)
CreateSourceRepositoryRequest & WithName(NameT &&value)
CreateSourceRepositoryRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String