AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetSpaceResult.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 GetSpaceResult() = default;
28
30
33 inline const Aws::String& GetName() const { return m_name; }
34 template <typename NameT = Aws::String>
35 void SetName(NameT&& value) {
36 m_nameHasBeenSet = true;
37 m_name = std::forward<NameT>(value);
38 }
39 template <typename NameT = Aws::String>
40 GetSpaceResult& WithName(NameT&& value) {
41 SetName(std::forward<NameT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetRegionName() const { return m_regionName; }
51 template <typename RegionNameT = Aws::String>
52 void SetRegionName(RegionNameT&& value) {
53 m_regionNameHasBeenSet = true;
54 m_regionName = std::forward<RegionNameT>(value);
55 }
56 template <typename RegionNameT = Aws::String>
57 GetSpaceResult& WithRegionName(RegionNameT&& value) {
58 SetRegionName(std::forward<RegionNameT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetDisplayName() const { return m_displayName; }
68 template <typename DisplayNameT = Aws::String>
69 void SetDisplayName(DisplayNameT&& value) {
70 m_displayNameHasBeenSet = true;
71 m_displayName = std::forward<DisplayNameT>(value);
72 }
73 template <typename DisplayNameT = Aws::String>
74 GetSpaceResult& WithDisplayName(DisplayNameT&& value) {
75 SetDisplayName(std::forward<DisplayNameT>(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>
91 GetSpaceResult& WithDescription(DescriptionT&& value) {
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>
106 GetSpaceResult& WithRequestId(RequestIdT&& value) {
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_name;
113
114 Aws::String m_regionName;
115
116 Aws::String m_displayName;
117
118 Aws::String m_description;
119
120 Aws::String m_requestId;
121 bool m_nameHasBeenSet = false;
122 bool m_regionNameHasBeenSet = false;
123 bool m_displayNameHasBeenSet = false;
124 bool m_descriptionHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace CodeCatalyst
130} // namespace Aws
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetRequestId() const
void SetRegionName(RegionNameT &&value)
GetSpaceResult & WithDisplayName(DisplayNameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRegionName() const
GetSpaceResult & WithRequestId(RequestIdT &&value)
AWS_CODECATALYST_API GetSpaceResult()=default
AWS_CODECATALYST_API GetSpaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSpaceResult & WithName(NameT &&value)
const Aws::String & GetDisplayName() const
const Aws::String & GetDescription() const
GetSpaceResult & WithRegionName(RegionNameT &&value)
AWS_CODECATALYST_API GetSpaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
GetSpaceResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue