AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
GetSourceRepositoryResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/DateTime.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 GetSourceRepositoryResult() = 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
104 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
105 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
106 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
107 m_lastUpdatedTimeHasBeenSet = true;
108 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
109 }
110 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
112 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
113 return *this;
114 }
116
118
123 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
124 template <typename CreatedTimeT = Aws::Utils::DateTime>
125 void SetCreatedTime(CreatedTimeT&& value) {
126 m_createdTimeHasBeenSet = true;
127 m_createdTime = std::forward<CreatedTimeT>(value);
128 }
129 template <typename CreatedTimeT = Aws::Utils::DateTime>
131 SetCreatedTime(std::forward<CreatedTimeT>(value));
132 return *this;
133 }
135
137
138 inline const Aws::String& GetRequestId() const { return m_requestId; }
139 template <typename RequestIdT = Aws::String>
140 void SetRequestId(RequestIdT&& value) {
141 m_requestIdHasBeenSet = true;
142 m_requestId = std::forward<RequestIdT>(value);
143 }
144 template <typename RequestIdT = Aws::String>
146 SetRequestId(std::forward<RequestIdT>(value));
147 return *this;
148 }
150 private:
151 Aws::String m_spaceName;
152 bool m_spaceNameHasBeenSet = false;
153
154 Aws::String m_projectName;
155 bool m_projectNameHasBeenSet = false;
156
157 Aws::String m_name;
158 bool m_nameHasBeenSet = false;
159
160 Aws::String m_description;
161 bool m_descriptionHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastUpdatedTime{};
164 bool m_lastUpdatedTimeHasBeenSet = false;
165
166 Aws::Utils::DateTime m_createdTime{};
167 bool m_createdTimeHasBeenSet = false;
168
169 Aws::String m_requestId;
170 bool m_requestIdHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace CodeCatalyst
175} // 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