AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GetSourceRepositoryResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CodeCatalyst {
24namespace Model {
26 public:
27 AWS_CODECATALYST_API GetSourceRepositoryResult() = default;
30
32
35 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
36 template <typename SpaceNameT = Aws::String>
37 void SetSpaceName(SpaceNameT&& value) {
38 m_spaceNameHasBeenSet = true;
39 m_spaceName = std::forward<SpaceNameT>(value);
40 }
41 template <typename SpaceNameT = Aws::String>
43 SetSpaceName(std::forward<SpaceNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetProjectName() const { return m_projectName; }
53 template <typename ProjectNameT = Aws::String>
54 void SetProjectName(ProjectNameT&& value) {
55 m_projectNameHasBeenSet = true;
56 m_projectName = std::forward<ProjectNameT>(value);
57 }
58 template <typename ProjectNameT = Aws::String>
60 SetProjectName(std::forward<ProjectNameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 template <typename NameT = Aws::String>
71 void SetName(NameT&& value) {
72 m_nameHasBeenSet = true;
73 m_name = std::forward<NameT>(value);
74 }
75 template <typename NameT = Aws::String>
77 SetName(std::forward<NameT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 template <typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) {
89 m_descriptionHasBeenSet = true;
90 m_description = std::forward<DescriptionT>(value);
91 }
92 template <typename DescriptionT = Aws::String>
94 SetDescription(std::forward<DescriptionT>(value));
95 return *this;
96 }
98
100
105 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
106 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
107 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
108 m_lastUpdatedTimeHasBeenSet = true;
109 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
110 }
111 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
113 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
114 return *this;
115 }
117
119
124 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
125 template <typename CreatedTimeT = Aws::Utils::DateTime>
126 void SetCreatedTime(CreatedTimeT&& value) {
127 m_createdTimeHasBeenSet = true;
128 m_createdTime = std::forward<CreatedTimeT>(value);
129 }
130 template <typename CreatedTimeT = Aws::Utils::DateTime>
132 SetCreatedTime(std::forward<CreatedTimeT>(value));
133 return *this;
134 }
136
138
139 inline const Aws::String& GetRequestId() const { return m_requestId; }
140 template <typename RequestIdT = Aws::String>
141 void SetRequestId(RequestIdT&& value) {
142 m_requestIdHasBeenSet = true;
143 m_requestId = std::forward<RequestIdT>(value);
144 }
145 template <typename RequestIdT = Aws::String>
147 SetRequestId(std::forward<RequestIdT>(value));
148 return *this;
149 }
151 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
152
153 private:
154 Aws::String m_spaceName;
155
156 Aws::String m_projectName;
157
158 Aws::String m_name;
159
160 Aws::String m_description;
161
162 Aws::Utils::DateTime m_lastUpdatedTime{};
163
164 Aws::Utils::DateTime m_createdTime{};
165
166 Aws::String m_requestId;
167 Aws::Http::HttpResponseCode m_HttpResponseCode;
168 bool m_spaceNameHasBeenSet = false;
169 bool m_projectNameHasBeenSet = false;
170 bool m_nameHasBeenSet = false;
171 bool m_descriptionHasBeenSet = false;
172 bool m_lastUpdatedTimeHasBeenSet = false;
173 bool m_createdTimeHasBeenSet = false;
174 bool m_requestIdHasBeenSet = false;
175};
176
177} // namespace Model
178} // namespace CodeCatalyst
179} // namespace Aws
GetSourceRepositoryResult & WithCreatedTime(CreatedTimeT &&value)
GetSourceRepositoryResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
GetSourceRepositoryResult & WithRequestId(RequestIdT &&value)
AWS_CODECATALYST_API GetSourceRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSourceRepositoryResult & WithProjectName(ProjectNameT &&value)
GetSourceRepositoryResult & WithSpaceName(SpaceNameT &&value)
AWS_CODECATALYST_API GetSourceRepositoryResult()=default
GetSourceRepositoryResult & WithName(NameT &&value)
GetSourceRepositoryResult & WithDescription(DescriptionT &&value)
AWS_CODECATALYST_API GetSourceRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue