AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateProjectProfileRequest.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 UpdateProjectProfileRequest() = 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 "UpdateProjectProfile"; }
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 UpdateProjectProfileRequest& 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 UpdateProjectProfileRequest& 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 UpdateProjectProfileRequest& 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 UpdateProjectProfileRequest& WithEnvironmentConfigurations(EnvironmentConfigurationsT&& value) { SetEnvironmentConfigurations(std::forward<EnvironmentConfigurationsT>(value)); return *this;}
84 template<typename EnvironmentConfigurationsT = EnvironmentConfiguration>
85 UpdateProjectProfileRequest& AddEnvironmentConfigurations(EnvironmentConfigurationsT&& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations.emplace_back(std::forward<EnvironmentConfigurationsT>(value)); return *this; }
87
89
92 inline const Aws::String& GetIdentifier() const { return m_identifier; }
93 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
94 template<typename IdentifierT = Aws::String>
95 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
96 template<typename IdentifierT = Aws::String>
97 UpdateProjectProfileRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
99
101
104 inline const Aws::String& GetName() const { return m_name; }
105 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
106 template<typename NameT = Aws::String>
107 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
108 template<typename NameT = Aws::String>
109 UpdateProjectProfileRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
111
113
116 inline Status GetStatus() const { return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
119 inline UpdateProjectProfileRequest& WithStatus(Status value) { SetStatus(value); return *this;}
121 private:
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 Aws::String m_domainIdentifier;
127 bool m_domainIdentifierHasBeenSet = false;
128
129 Aws::String m_domainUnitIdentifier;
130 bool m_domainUnitIdentifierHasBeenSet = false;
131
132 Aws::Vector<EnvironmentConfiguration> m_environmentConfigurations;
133 bool m_environmentConfigurationsHasBeenSet = false;
134
135 Aws::String m_identifier;
136 bool m_identifierHasBeenSet = false;
137
138 Aws::String m_name;
139 bool m_nameHasBeenSet = false;
140
141 Status m_status{Status::NOT_SET};
142 bool m_statusHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace DataZone
147} // namespace Aws
UpdateProjectProfileRequest & WithEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
AWS_DATAZONE_API UpdateProjectProfileRequest()=default
const Aws::Vector< EnvironmentConfiguration > & GetEnvironmentConfigurations() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateProjectProfileRequest & WithIdentifier(IdentifierT &&value)
void SetEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
UpdateProjectProfileRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
UpdateProjectProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
UpdateProjectProfileRequest & WithName(NameT &&value)
UpdateProjectProfileRequest & WithStatus(Status value)
UpdateProjectProfileRequest & WithDomainUnitIdentifier(DomainUnitIdentifierT &&value)
UpdateProjectProfileRequest & AddEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector