AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
GetEnvironmentActionResult.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 GetEnvironmentActionResult() = default;
30
32
36 inline const Aws::String& GetDomainId() const { return m_domainId; }
37 template <typename DomainIdT = Aws::String>
38 void SetDomainId(DomainIdT&& value) {
39 m_domainIdHasBeenSet = true;
40 m_domainId = std::forward<DomainIdT>(value);
41 }
42 template <typename DomainIdT = Aws::String>
44 SetDomainId(std::forward<DomainIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
54 template <typename EnvironmentIdT = Aws::String>
55 void SetEnvironmentId(EnvironmentIdT&& value) {
56 m_environmentIdHasBeenSet = true;
57 m_environmentId = std::forward<EnvironmentIdT>(value);
58 }
59 template <typename EnvironmentIdT = Aws::String>
61 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetId() const { return m_id; }
71 template <typename IdT = Aws::String>
72 void SetId(IdT&& value) {
73 m_idHasBeenSet = true;
74 m_id = std::forward<IdT>(value);
75 }
76 template <typename IdT = Aws::String>
78 SetId(std::forward<IdT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetName() const { return m_name; }
88 template <typename NameT = Aws::String>
89 void SetName(NameT&& value) {
90 m_nameHasBeenSet = true;
91 m_name = std::forward<NameT>(value);
92 }
93 template <typename NameT = Aws::String>
95 SetName(std::forward<NameT>(value));
96 return *this;
97 }
99
101
104 inline const ActionParameters& GetParameters() const { return m_parameters; }
105 template <typename ParametersT = ActionParameters>
106 void SetParameters(ParametersT&& value) {
107 m_parametersHasBeenSet = true;
108 m_parameters = std::forward<ParametersT>(value);
109 }
110 template <typename ParametersT = ActionParameters>
112 SetParameters(std::forward<ParametersT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetDescription() const { return m_description; }
122 template <typename DescriptionT = Aws::String>
123 void SetDescription(DescriptionT&& value) {
124 m_descriptionHasBeenSet = true;
125 m_description = std::forward<DescriptionT>(value);
126 }
127 template <typename DescriptionT = Aws::String>
129 SetDescription(std::forward<DescriptionT>(value));
130 return *this;
131 }
133
135
136 inline const Aws::String& GetRequestId() const { return m_requestId; }
137 template <typename RequestIdT = Aws::String>
138 void SetRequestId(RequestIdT&& value) {
139 m_requestIdHasBeenSet = true;
140 m_requestId = std::forward<RequestIdT>(value);
141 }
142 template <typename RequestIdT = Aws::String>
144 SetRequestId(std::forward<RequestIdT>(value));
145 return *this;
146 }
148 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
149
150 private:
151 Aws::String m_domainId;
152
153 Aws::String m_environmentId;
154
155 Aws::String m_id;
156
157 Aws::String m_name;
158
159 ActionParameters m_parameters;
160
161 Aws::String m_description;
162
163 Aws::String m_requestId;
164 Aws::Http::HttpResponseCode m_HttpResponseCode;
165 bool m_domainIdHasBeenSet = false;
166 bool m_environmentIdHasBeenSet = false;
167 bool m_idHasBeenSet = false;
168 bool m_nameHasBeenSet = false;
169 bool m_parametersHasBeenSet = false;
170 bool m_descriptionHasBeenSet = false;
171 bool m_requestIdHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace DataZone
176} // namespace Aws
GetEnvironmentActionResult & WithParameters(ParametersT &&value)
GetEnvironmentActionResult & WithRequestId(RequestIdT &&value)
GetEnvironmentActionResult & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API GetEnvironmentActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEnvironmentActionResult & WithDomainId(DomainIdT &&value)
GetEnvironmentActionResult & WithId(IdT &&value)
AWS_DATAZONE_API GetEnvironmentActionResult()=default
GetEnvironmentActionResult & WithEnvironmentId(EnvironmentIdT &&value)
GetEnvironmentActionResult & WithName(NameT &&value)
AWS_DATAZONE_API GetEnvironmentActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue