AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateProjectProfileRequest.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 <aws/datazone/model/Status.h>
12#include <aws/datazone/model/EnvironmentConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace DataZone
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DATAZONE_API CreateProjectProfileRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateProjectProfile"; }
34
35 AWS_DATAZONE_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetDescription() const { return m_description; }
43 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
44 template<typename DescriptionT = Aws::String>
45 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
46 template<typename DescriptionT = Aws::String>
47 CreateProjectProfileRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
55 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
56 template<typename DomainIdentifierT = Aws::String>
57 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
58 template<typename DomainIdentifierT = Aws::String>
59 CreateProjectProfileRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDomainUnitIdentifier() const { return m_domainUnitIdentifier; }
67 inline bool DomainUnitIdentifierHasBeenSet() const { return m_domainUnitIdentifierHasBeenSet; }
68 template<typename DomainUnitIdentifierT = Aws::String>
69 void SetDomainUnitIdentifier(DomainUnitIdentifierT&& value) { m_domainUnitIdentifierHasBeenSet = true; m_domainUnitIdentifier = std::forward<DomainUnitIdentifierT>(value); }
70 template<typename DomainUnitIdentifierT = Aws::String>
71 CreateProjectProfileRequest& WithDomainUnitIdentifier(DomainUnitIdentifierT&& value) { SetDomainUnitIdentifier(std::forward<DomainUnitIdentifierT>(value)); return *this;}
73
75
78 inline const Aws::Vector<EnvironmentConfiguration>& GetEnvironmentConfigurations() const { return m_environmentConfigurations; }
79 inline bool EnvironmentConfigurationsHasBeenSet() const { return m_environmentConfigurationsHasBeenSet; }
80 template<typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
81 void SetEnvironmentConfigurations(EnvironmentConfigurationsT&& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations = std::forward<EnvironmentConfigurationsT>(value); }
82 template<typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
83 CreateProjectProfileRequest& WithEnvironmentConfigurations(EnvironmentConfigurationsT&& value) { SetEnvironmentConfigurations(std::forward<EnvironmentConfigurationsT>(value)); return *this;}
84 template<typename EnvironmentConfigurationsT = EnvironmentConfiguration>
85 CreateProjectProfileRequest& AddEnvironmentConfigurations(EnvironmentConfigurationsT&& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations.emplace_back(std::forward<EnvironmentConfigurationsT>(value)); return *this; }
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template<typename NameT = Aws::String>
95 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
96 template<typename NameT = Aws::String>
97 CreateProjectProfileRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
99
101
104 inline Status GetStatus() const { return m_status; }
105 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
106 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
107 inline CreateProjectProfileRequest& WithStatus(Status value) { SetStatus(value); return *this;}
109 private:
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113
114 Aws::String m_domainIdentifier;
115 bool m_domainIdentifierHasBeenSet = false;
116
117 Aws::String m_domainUnitIdentifier;
118 bool m_domainUnitIdentifierHasBeenSet = false;
119
120 Aws::Vector<EnvironmentConfiguration> m_environmentConfigurations;
121 bool m_environmentConfigurationsHasBeenSet = false;
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125
126 Status m_status{Status::NOT_SET};
127 bool m_statusHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace DataZone
132} // namespace Aws
CreateProjectProfileRequest & WithDomainUnitIdentifier(DomainUnitIdentifierT &&value)
AWS_DATAZONE_API CreateProjectProfileRequest()=default
CreateProjectProfileRequest & AddEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
CreateProjectProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
void SetEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
CreateProjectProfileRequest & WithStatus(Status value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
const Aws::Vector< EnvironmentConfiguration > & GetEnvironmentConfigurations() const
virtual const char * GetServiceRequestName() const override
CreateProjectProfileRequest & WithEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
CreateProjectProfileRequest & WithName(NameT &&value)
CreateProjectProfileRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector