AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CreateProjectRequest.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalystRequest.h>
8#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CodeCatalyst {
15namespace Model {
16
20 public:
21 AWS_CODECATALYST_API CreateProjectRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateProject"; }
28
29 AWS_CODECATALYST_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
36 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
37 template <typename SpaceNameT = Aws::String>
38 void SetSpaceName(SpaceNameT&& value) {
39 m_spaceNameHasBeenSet = true;
40 m_spaceName = std::forward<SpaceNameT>(value);
41 }
42 template <typename SpaceNameT = Aws::String>
43 CreateProjectRequest& WithSpaceName(SpaceNameT&& value) {
44 SetSpaceName(std::forward<SpaceNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDisplayName() const { return m_displayName; }
54 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
55 template <typename DisplayNameT = Aws::String>
56 void SetDisplayName(DisplayNameT&& value) {
57 m_displayNameHasBeenSet = true;
58 m_displayName = std::forward<DisplayNameT>(value);
59 }
60 template <typename DisplayNameT = Aws::String>
61 CreateProjectRequest& WithDisplayName(DisplayNameT&& value) {
62 SetDisplayName(std::forward<DisplayNameT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
81 CreateProjectRequest& WithDescription(DescriptionT&& value) {
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_spaceName;
88 bool m_spaceNameHasBeenSet = false;
89
90 Aws::String m_displayName;
91 bool m_displayNameHasBeenSet = false;
92
93 Aws::String m_description;
94 bool m_descriptionHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace CodeCatalyst
99} // namespace Aws
CreateProjectRequest & WithDisplayName(DisplayNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CODECATALYST_API Aws::String SerializePayload() const override
AWS_CODECATALYST_API CreateProjectRequest()=default
CreateProjectRequest & WithDescription(DescriptionT &&value)
CreateProjectRequest & WithSpaceName(SpaceNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String