AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateEnvironmentActionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/ActionParameters.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataZone {
16namespace Model {
17
21 public:
22 AWS_DATAZONE_API UpdateEnvironmentActionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateEnvironmentAction"; }
29
30 AWS_DATAZONE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDescription() const { return m_description; }
37 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
38 template <typename DescriptionT = Aws::String>
39 void SetDescription(DescriptionT&& value) {
40 m_descriptionHasBeenSet = true;
41 m_description = std::forward<DescriptionT>(value);
42 }
43 template <typename DescriptionT = Aws::String>
45 SetDescription(std::forward<DescriptionT>(value));
46 return *this;
47 }
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) {
58 m_domainIdentifierHasBeenSet = true;
59 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
60 }
61 template <typename DomainIdentifierT = Aws::String>
63 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
73 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
74 template <typename EnvironmentIdentifierT = Aws::String>
75 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) {
76 m_environmentIdentifierHasBeenSet = true;
77 m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value);
78 }
79 template <typename EnvironmentIdentifierT = Aws::String>
81 SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetIdentifier() const { return m_identifier; }
91 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
92 template <typename IdentifierT = Aws::String>
93 void SetIdentifier(IdentifierT&& value) {
94 m_identifierHasBeenSet = true;
95 m_identifier = std::forward<IdentifierT>(value);
96 }
97 template <typename IdentifierT = Aws::String>
99 SetIdentifier(std::forward<IdentifierT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetName() const { return m_name; }
109 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
110 template <typename NameT = Aws::String>
111 void SetName(NameT&& value) {
112 m_nameHasBeenSet = true;
113 m_name = std::forward<NameT>(value);
114 }
115 template <typename NameT = Aws::String>
117 SetName(std::forward<NameT>(value));
118 return *this;
119 }
121
123
126 inline const ActionParameters& GetParameters() const { return m_parameters; }
127 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
128 template <typename ParametersT = ActionParameters>
129 void SetParameters(ParametersT&& value) {
130 m_parametersHasBeenSet = true;
131 m_parameters = std::forward<ParametersT>(value);
132 }
133 template <typename ParametersT = ActionParameters>
135 SetParameters(std::forward<ParametersT>(value));
136 return *this;
137 }
139 private:
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142
143 Aws::String m_domainIdentifier;
144 bool m_domainIdentifierHasBeenSet = false;
145
146 Aws::String m_environmentIdentifier;
147 bool m_environmentIdentifierHasBeenSet = false;
148
149 Aws::String m_identifier;
150 bool m_identifierHasBeenSet = false;
151
152 Aws::String m_name;
153 bool m_nameHasBeenSet = false;
154
155 ActionParameters m_parameters;
156 bool m_parametersHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace DataZone
161} // namespace Aws
UpdateEnvironmentActionRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
AWS_DATAZONE_API UpdateEnvironmentActionRequest()=default
UpdateEnvironmentActionRequest & WithDescription(DescriptionT &&value)
UpdateEnvironmentActionRequest & WithName(NameT &&value)
UpdateEnvironmentActionRequest & WithParameters(ParametersT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateEnvironmentActionRequest & WithIdentifier(IdentifierT &&value)
UpdateEnvironmentActionRequest & WithDomainIdentifier(DomainIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String