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/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataZone
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATAZONE_API CreateProjectRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateProject"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDescription() const{ return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
43 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
44 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
45 inline CreateProjectRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
46 inline CreateProjectRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
47 inline CreateProjectRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
49
51
54 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
55 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
56 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
57 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
58 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
59 inline CreateProjectRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
60 inline CreateProjectRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
61 inline CreateProjectRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
63
65
69 inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; }
70 inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; }
71 inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = value; }
72 inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = std::move(value); }
73 inline void SetDomainUnitId(const char* value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId.assign(value); }
74 inline CreateProjectRequest& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;}
75 inline CreateProjectRequest& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;}
76 inline CreateProjectRequest& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;}
78
80
83 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
84 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
85 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = value; }
86 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::move(value); }
88 inline CreateProjectRequest& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
89 inline CreateProjectRequest& AddGlossaryTerms(const Aws::String& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
90 inline CreateProjectRequest& AddGlossaryTerms(Aws::String&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
91 inline CreateProjectRequest& AddGlossaryTerms(const char* value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
93
95
98 inline const Aws::String& GetName() const{ return m_name; }
99 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
101 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
102 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
103 inline CreateProjectRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
104 inline CreateProjectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
105 inline CreateProjectRequest& WithName(const char* value) { SetName(value); return *this;}
107 private:
108
109 Aws::String m_description;
110 bool m_descriptionHasBeenSet = false;
111
112 Aws::String m_domainIdentifier;
113 bool m_domainIdentifierHasBeenSet = false;
114
115 Aws::String m_domainUnitId;
116 bool m_domainUnitIdHasBeenSet = false;
117
118 Aws::Vector<Aws::String> m_glossaryTerms;
119 bool m_glossaryTermsHasBeenSet = false;
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace DataZone
127} // namespace Aws
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateProjectRequest & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateProjectRequest & WithDomainIdentifier(Aws::String &&value)
CreateProjectRequest & WithName(const char *value)
void SetDomainIdentifier(const Aws::String &value)
CreateProjectRequest & WithDomainIdentifier(const char *value)
virtual const char * GetServiceRequestName() const override
CreateProjectRequest & AddGlossaryTerms(Aws::String &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateProjectRequest & WithDomainIdentifier(const Aws::String &value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateProjectRequest & WithDescription(const Aws::String &value)
CreateProjectRequest & WithDomainUnitId(const Aws::String &value)
CreateProjectRequest & AddGlossaryTerms(const char *value)
CreateProjectRequest & WithDescription(const char *value)
CreateProjectRequest & WithDescription(Aws::String &&value)
CreateProjectRequest & WithName(const Aws::String &value)
CreateProjectRequest & WithDomainUnitId(Aws::String &&value)
CreateProjectRequest & WithName(Aws::String &&value)
CreateProjectRequest & AddGlossaryTerms(const Aws::String &value)
CreateProjectRequest & WithDomainUnitId(const char *value)
CreateProjectRequest & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
void SetDescription(const Aws::String &value)
void SetDomainUnitId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector