AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetSourceRepositoryResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeCatalyst
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CODECATALYST_API GetSourceRepositoryResult() = default;
34
35
37
40 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
41 template<typename SpaceNameT = Aws::String>
42 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
43 template<typename SpaceNameT = Aws::String>
44 GetSourceRepositoryResult& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetProjectName() const { return m_projectName; }
52 template<typename ProjectNameT = Aws::String>
53 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
54 template<typename ProjectNameT = Aws::String>
55 GetSourceRepositoryResult& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetName() const { return m_name; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 GetSourceRepositoryResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 GetSourceRepositoryResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
86 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
87 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
88 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
89 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
90 GetSourceRepositoryResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
92
94
99 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
100 template<typename CreatedTimeT = Aws::Utils::DateTime>
101 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
102 template<typename CreatedTimeT = Aws::Utils::DateTime>
103 GetSourceRepositoryResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template<typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
111 template<typename RequestIdT = Aws::String>
112 GetSourceRepositoryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
114 private:
115
116 Aws::String m_spaceName;
117 bool m_spaceNameHasBeenSet = false;
118
119 Aws::String m_projectName;
120 bool m_projectNameHasBeenSet = false;
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
128 Aws::Utils::DateTime m_lastUpdatedTime{};
129 bool m_lastUpdatedTimeHasBeenSet = false;
130
131 Aws::Utils::DateTime m_createdTime{};
132 bool m_createdTimeHasBeenSet = false;
133
134 Aws::String m_requestId;
135 bool m_requestIdHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace CodeCatalyst
140} // 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