AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
UpdateSpaceResult.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 UpdateSpaceResult() = default;
29
31
34 inline const Aws::String& GetName() const { return m_name; }
35 template <typename NameT = Aws::String>
36 void SetName(NameT&& value) {
37 m_nameHasBeenSet = true;
38 m_name = std::forward<NameT>(value);
39 }
40 template <typename NameT = Aws::String>
41 UpdateSpaceResult& WithName(NameT&& value) {
42 SetName(std::forward<NameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetDisplayName() const { return m_displayName; }
52 template <typename DisplayNameT = Aws::String>
53 void SetDisplayName(DisplayNameT&& value) {
54 m_displayNameHasBeenSet = true;
55 m_displayName = std::forward<DisplayNameT>(value);
56 }
57 template <typename DisplayNameT = Aws::String>
58 UpdateSpaceResult& WithDisplayName(DisplayNameT&& value) {
59 SetDisplayName(std::forward<DisplayNameT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 template <typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) {
71 m_descriptionHasBeenSet = true;
72 m_description = std::forward<DescriptionT>(value);
73 }
74 template <typename DescriptionT = Aws::String>
75 UpdateSpaceResult& WithDescription(DescriptionT&& value) {
76 SetDescription(std::forward<DescriptionT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
90 UpdateSpaceResult& WithRequestId(RequestIdT&& value) {
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 Aws::String m_name;
99
100 Aws::String m_displayName;
101
102 Aws::String m_description;
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_nameHasBeenSet = false;
107 bool m_displayNameHasBeenSet = false;
108 bool m_descriptionHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace CodeCatalyst
114} // namespace Aws
UpdateSpaceResult & WithDescription(DescriptionT &&value)
UpdateSpaceResult & WithName(NameT &&value)
UpdateSpaceResult & WithDisplayName(DisplayNameT &&value)
AWS_CODECATALYST_API UpdateSpaceResult()=default
AWS_CODECATALYST_API UpdateSpaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSpaceResult & WithRequestId(RequestIdT &&value)
AWS_CODECATALYST_API UpdateSpaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue