AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateSourceRepositoryResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace CodeCatalyst {
23namespace Model {
25 public:
26 AWS_CODECATALYST_API CreateSourceRepositoryResult() = default;
29
31
34 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
35 template <typename SpaceNameT = Aws::String>
36 void SetSpaceName(SpaceNameT&& value) {
37 m_spaceNameHasBeenSet = true;
38 m_spaceName = std::forward<SpaceNameT>(value);
39 }
40 template <typename SpaceNameT = Aws::String>
42 SetSpaceName(std::forward<SpaceNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetProjectName() const { return m_projectName; }
52 template <typename ProjectNameT = Aws::String>
53 void SetProjectName(ProjectNameT&& value) {
54 m_projectNameHasBeenSet = true;
55 m_projectName = std::forward<ProjectNameT>(value);
56 }
57 template <typename ProjectNameT = Aws::String>
59 SetProjectName(std::forward<ProjectNameT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetName() const { return m_name; }
69 template <typename NameT = Aws::String>
70 void SetName(NameT&& value) {
71 m_nameHasBeenSet = true;
72 m_name = std::forward<NameT>(value);
73 }
74 template <typename NameT = Aws::String>
76 SetName(std::forward<NameT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetDescription() const { return m_description; }
86 template <typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) {
88 m_descriptionHasBeenSet = true;
89 m_description = std::forward<DescriptionT>(value);
90 }
91 template <typename DescriptionT = Aws::String>
93 SetDescription(std::forward<DescriptionT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::String m_spaceName;
116
117 Aws::String m_projectName;
118
119 Aws::String m_name;
120
121 Aws::String m_description;
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_spaceNameHasBeenSet = false;
126 bool m_projectNameHasBeenSet = false;
127 bool m_nameHasBeenSet = false;
128 bool m_descriptionHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace CodeCatalyst
134} // namespace Aws
AWS_CODECATALYST_API CreateSourceRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODECATALYST_API CreateSourceRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSourceRepositoryResult & WithName(NameT &&value)
CreateSourceRepositoryResult & WithRequestId(RequestIdT &&value)
CreateSourceRepositoryResult & WithDescription(DescriptionT &&value)
AWS_CODECATALYST_API CreateSourceRepositoryResult()=default
CreateSourceRepositoryResult & WithProjectName(ProjectNameT &&value)
CreateSourceRepositoryResult & WithSpaceName(SpaceNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue