AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateSourceRepositoryResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace CodeCatalyst {
22namespace Model {
24 public:
25 AWS_CODECATALYST_API CreateSourceRepositoryResult() = default;
28
30
33 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
34 template <typename SpaceNameT = Aws::String>
35 void SetSpaceName(SpaceNameT&& value) {
36 m_spaceNameHasBeenSet = true;
37 m_spaceName = std::forward<SpaceNameT>(value);
38 }
39 template <typename SpaceNameT = Aws::String>
41 SetSpaceName(std::forward<SpaceNameT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetProjectName() const { return m_projectName; }
51 template <typename ProjectNameT = Aws::String>
52 void SetProjectName(ProjectNameT&& value) {
53 m_projectNameHasBeenSet = true;
54 m_projectName = std::forward<ProjectNameT>(value);
55 }
56 template <typename ProjectNameT = Aws::String>
58 SetProjectName(std::forward<ProjectNameT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetName() const { return m_name; }
68 template <typename NameT = Aws::String>
69 void SetName(NameT&& value) {
70 m_nameHasBeenSet = true;
71 m_name = std::forward<NameT>(value);
72 }
73 template <typename NameT = Aws::String>
75 SetName(std::forward<NameT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetDescription() const { return m_description; }
85 template <typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) {
87 m_descriptionHasBeenSet = true;
88 m_description = std::forward<DescriptionT>(value);
89 }
90 template <typename DescriptionT = Aws::String>
92 SetDescription(std::forward<DescriptionT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_spaceName;
113
114 Aws::String m_projectName;
115
116 Aws::String m_name;
117
118 Aws::String m_description;
119
120 Aws::String m_requestId;
121 bool m_spaceNameHasBeenSet = false;
122 bool m_projectNameHasBeenSet = false;
123 bool m_nameHasBeenSet = false;
124 bool m_descriptionHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace CodeCatalyst
130} // 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