AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
UpdateEnvironmentActionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/ActionParameters.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DataZone {
24namespace Model {
26 public:
27 AWS_DATAZONE_API UpdateEnvironmentActionResult() = default;
30
32
35 inline const Aws::String& GetDomainId() const { return m_domainId; }
36 template <typename DomainIdT = Aws::String>
37 void SetDomainId(DomainIdT&& value) {
38 m_domainIdHasBeenSet = true;
39 m_domainId = std::forward<DomainIdT>(value);
40 }
41 template <typename DomainIdT = Aws::String>
43 SetDomainId(std::forward<DomainIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
53 template <typename EnvironmentIdT = Aws::String>
54 void SetEnvironmentId(EnvironmentIdT&& value) {
55 m_environmentIdHasBeenSet = true;
56 m_environmentId = std::forward<EnvironmentIdT>(value);
57 }
58 template <typename EnvironmentIdT = Aws::String>
60 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetId() const { return m_id; }
70 template <typename IdT = Aws::String>
71 void SetId(IdT&& value) {
72 m_idHasBeenSet = true;
73 m_id = std::forward<IdT>(value);
74 }
75 template <typename IdT = Aws::String>
77 SetId(std::forward<IdT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetName() const { return m_name; }
87 template <typename NameT = Aws::String>
88 void SetName(NameT&& value) {
89 m_nameHasBeenSet = true;
90 m_name = std::forward<NameT>(value);
91 }
92 template <typename NameT = Aws::String>
94 SetName(std::forward<NameT>(value));
95 return *this;
96 }
98
100
103 inline const ActionParameters& GetParameters() const { return m_parameters; }
104 template <typename ParametersT = ActionParameters>
105 void SetParameters(ParametersT&& value) {
106 m_parametersHasBeenSet = true;
107 m_parameters = std::forward<ParametersT>(value);
108 }
109 template <typename ParametersT = ActionParameters>
111 SetParameters(std::forward<ParametersT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetDescription() const { return m_description; }
121 template <typename DescriptionT = Aws::String>
122 void SetDescription(DescriptionT&& value) {
123 m_descriptionHasBeenSet = true;
124 m_description = std::forward<DescriptionT>(value);
125 }
126 template <typename DescriptionT = Aws::String>
128 SetDescription(std::forward<DescriptionT>(value));
129 return *this;
130 }
132
134
135 inline const Aws::String& GetRequestId() const { return m_requestId; }
136 template <typename RequestIdT = Aws::String>
137 void SetRequestId(RequestIdT&& value) {
138 m_requestIdHasBeenSet = true;
139 m_requestId = std::forward<RequestIdT>(value);
140 }
141 template <typename RequestIdT = Aws::String>
143 SetRequestId(std::forward<RequestIdT>(value));
144 return *this;
145 }
147 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
148
149 private:
150 Aws::String m_domainId;
151
152 Aws::String m_environmentId;
153
154 Aws::String m_id;
155
156 Aws::String m_name;
157
158 ActionParameters m_parameters;
159
160 Aws::String m_description;
161
162 Aws::String m_requestId;
163 Aws::Http::HttpResponseCode m_HttpResponseCode;
164 bool m_domainIdHasBeenSet = false;
165 bool m_environmentIdHasBeenSet = false;
166 bool m_idHasBeenSet = false;
167 bool m_nameHasBeenSet = false;
168 bool m_parametersHasBeenSet = false;
169 bool m_descriptionHasBeenSet = false;
170 bool m_requestIdHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace DataZone
175} // namespace Aws
AWS_DATAZONE_API UpdateEnvironmentActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEnvironmentActionResult & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API UpdateEnvironmentActionResult()=default
UpdateEnvironmentActionResult & WithId(IdT &&value)
UpdateEnvironmentActionResult & WithRequestId(RequestIdT &&value)
UpdateEnvironmentActionResult & WithEnvironmentId(EnvironmentIdT &&value)
UpdateEnvironmentActionResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API UpdateEnvironmentActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEnvironmentActionResult & WithParameters(ParametersT &&value)
UpdateEnvironmentActionResult & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue