AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetEnvironmentActionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/ActionParameters.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace DataZone {
23namespace Model {
25 public:
26 AWS_DATAZONE_API GetEnvironmentActionResult() = default;
29
31
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 private:
148 Aws::String m_domainId;
149
150 Aws::String m_environmentId;
151
152 Aws::String m_id;
153
154 Aws::String m_name;
155
156 ActionParameters m_parameters;
157
158 Aws::String m_description;
159
160 Aws::String m_requestId;
161 bool m_domainIdHasBeenSet = false;
162 bool m_environmentIdHasBeenSet = false;
163 bool m_idHasBeenSet = false;
164 bool m_nameHasBeenSet = false;
165 bool m_parametersHasBeenSet = false;
166 bool m_descriptionHasBeenSet = false;
167 bool m_requestIdHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace DataZone
172} // 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