AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CreateProjectResult.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 CreateProjectResult() = 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>
40 CreateProjectResult& WithSpaceName(SpaceNameT&& value) {
41 SetSpaceName(std::forward<SpaceNameT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetName() const { return m_name; }
51 template <typename NameT = Aws::String>
52 void SetName(NameT&& value) {
53 m_nameHasBeenSet = true;
54 m_name = std::forward<NameT>(value);
55 }
56 template <typename NameT = Aws::String>
57 CreateProjectResult& WithName(NameT&& value) {
58 SetName(std::forward<NameT>(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 CreateProjectResult& 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 CreateProjectResult& 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 CreateProjectResult& WithRequestId(RequestIdT&& value) {
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_spaceName;
113 bool m_spaceNameHasBeenSet = false;
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 Aws::String m_displayName;
119 bool m_displayNameHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 Aws::String m_requestId;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace CodeCatalyst
130} // namespace Aws
AWS_CODECATALYST_API CreateProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODECATALYST_API CreateProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODECATALYST_API CreateProjectResult()=default
CreateProjectResult & WithSpaceName(SpaceNameT &&value)
CreateProjectResult & WithDisplayName(DisplayNameT &&value)
CreateProjectResult & WithName(NameT &&value)
CreateProjectResult & WithDescription(DescriptionT &&value)
CreateProjectResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue