AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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