AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
41 inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; }
42 inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); }
43 inline void SetSpaceName(const char* value) { m_spaceName.assign(value); }
44 inline GetSourceRepositoryResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
45 inline GetSourceRepositoryResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
46 inline GetSourceRepositoryResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
48
50
53 inline const Aws::String& GetProjectName() const{ return m_projectName; }
54 inline void SetProjectName(const Aws::String& value) { m_projectName = value; }
55 inline void SetProjectName(Aws::String&& value) { m_projectName = std::move(value); }
56 inline void SetProjectName(const char* value) { m_projectName.assign(value); }
57 inline GetSourceRepositoryResult& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
58 inline GetSourceRepositoryResult& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
59 inline GetSourceRepositoryResult& WithProjectName(const char* value) { SetProjectName(value); return *this;}
61
63
66 inline const Aws::String& GetName() const{ return m_name; }
67 inline void SetName(const Aws::String& value) { m_name = value; }
68 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
69 inline void SetName(const char* value) { m_name.assign(value); }
70 inline GetSourceRepositoryResult& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline GetSourceRepositoryResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline GetSourceRepositoryResult& WithName(const char* value) { SetName(value); return *this;}
74
76
79 inline const Aws::String& GetDescription() const{ return m_description; }
80 inline void SetDescription(const Aws::String& value) { m_description = value; }
81 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
82 inline void SetDescription(const char* value) { m_description.assign(value); }
83 inline GetSourceRepositoryResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
84 inline GetSourceRepositoryResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
85 inline GetSourceRepositoryResult& WithDescription(const char* value) { SetDescription(value); return *this;}
87
89
94 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
95 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; }
96 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); }
98 inline GetSourceRepositoryResult& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
100
102
107 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
108 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
109 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
111 inline GetSourceRepositoryResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
113
115
116 inline const Aws::String& GetRequestId() const{ return m_requestId; }
117 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
118 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
119 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
120 inline GetSourceRepositoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
121 inline GetSourceRepositoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
122 inline GetSourceRepositoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
124 private:
125
126 Aws::String m_spaceName;
127
128 Aws::String m_projectName;
129
130 Aws::String m_name;
131
132 Aws::String m_description;
133
134 Aws::Utils::DateTime m_lastUpdatedTime;
135
136 Aws::Utils::DateTime m_createdTime;
137
138 Aws::String m_requestId;
139 };
140
141} // namespace Model
142} // namespace CodeCatalyst
143} // namespace Aws
GetSourceRepositoryResult & WithDescription(Aws::String &&value)
GetSourceRepositoryResult & WithSpaceName(const Aws::String &value)
GetSourceRepositoryResult & WithName(const Aws::String &value)
GetSourceRepositoryResult & WithRequestId(const Aws::String &value)
GetSourceRepositoryResult & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
AWS_CODECATALYST_API GetSourceRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSourceRepositoryResult & WithDescription(const Aws::String &value)
GetSourceRepositoryResult & WithSpaceName(const char *value)
GetSourceRepositoryResult & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
GetSourceRepositoryResult & WithSpaceName(Aws::String &&value)
GetSourceRepositoryResult & WithRequestId(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
GetSourceRepositoryResult & WithDescription(const char *value)
GetSourceRepositoryResult & WithCreatedTime(const Aws::Utils::DateTime &value)
GetSourceRepositoryResult & WithProjectName(const char *value)
GetSourceRepositoryResult & WithRequestId(Aws::String &&value)
AWS_CODECATALYST_API GetSourceRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSourceRepositoryResult & WithCreatedTime(Aws::Utils::DateTime &&value)
GetSourceRepositoryResult & WithName(Aws::String &&value)
GetSourceRepositoryResult & WithName(const char *value)
GetSourceRepositoryResult & WithProjectName(Aws::String &&value)
GetSourceRepositoryResult & WithProjectName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue