AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
DeleteProjectResult.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 DeleteProjectResult() = 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 DeleteProjectResult& 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 DeleteProjectResult& 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 DeleteProjectResult& WithDisplayName(DisplayNameT&& value) {
77 SetDisplayName(std::forward<DisplayNameT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
91 DeleteProjectResult& WithRequestId(RequestIdT&& value) {
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_spaceName;
100
101 Aws::String m_name;
102
103 Aws::String m_displayName;
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_spaceNameHasBeenSet = false;
108 bool m_nameHasBeenSet = false;
109 bool m_displayNameHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace CodeCatalyst
115} // namespace Aws
AWS_CODECATALYST_API DeleteProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteProjectResult & WithName(NameT &&value)
DeleteProjectResult & WithSpaceName(SpaceNameT &&value)
AWS_CODECATALYST_API DeleteProjectResult()=default
DeleteProjectResult & WithDisplayName(DisplayNameT &&value)
AWS_CODECATALYST_API DeleteProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteProjectResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue