AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
GetProjectResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/http/HttpResponse.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 GetProjectResult() = 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>
41 GetProjectResult& WithSpaceName(SpaceNameT&& value) {
42 SetSpaceName(std::forward<SpaceNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 template <typename NameT = Aws::String>
53 void SetName(NameT&& value) {
54 m_nameHasBeenSet = true;
55 m_name = std::forward<NameT>(value);
56 }
57 template <typename NameT = Aws::String>
58 GetProjectResult& WithName(NameT&& value) {
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::String& GetDisplayName() const { return m_displayName; }
70 template <typename DisplayNameT = Aws::String>
71 void SetDisplayName(DisplayNameT&& value) {
72 m_displayNameHasBeenSet = true;
73 m_displayName = std::forward<DisplayNameT>(value);
74 }
75 template <typename DisplayNameT = Aws::String>
76 GetProjectResult& WithDisplayName(DisplayNameT&& value) {
77 SetDisplayName(std::forward<DisplayNameT>(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>
93 GetProjectResult& WithDescription(DescriptionT&& value) {
94 SetDescription(std::forward<DescriptionT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
108 GetProjectResult& WithRequestId(RequestIdT&& value) {
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
114
115 private:
116 Aws::String m_spaceName;
117
118 Aws::String m_name;
119
120 Aws::String m_displayName;
121
122 Aws::String m_description;
123
124 Aws::String m_requestId;
125 Aws::Http::HttpResponseCode m_HttpResponseCode;
126 bool m_spaceNameHasBeenSet = false;
127 bool m_nameHasBeenSet = false;
128 bool m_displayNameHasBeenSet = false;
129 bool m_descriptionHasBeenSet = false;
130 bool m_requestIdHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace CodeCatalyst
135} // namespace Aws
const Aws::String & GetDescription() const
GetProjectResult & WithName(NameT &&value)
AWS_CODECATALYST_API GetProjectResult()=default
GetProjectResult & WithRequestId(RequestIdT &&value)
AWS_CODECATALYST_API GetProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetDisplayName() const
GetProjectResult & WithSpaceName(SpaceNameT &&value)
GetProjectResult & WithDescription(DescriptionT &&value)
GetProjectResult & WithDisplayName(DisplayNameT &&value)
AWS_CODECATALYST_API GetProjectResult(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