AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DeleteServiceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpaces_EXPORTS.h>
11#include <aws/migration-hub-refactor-spaces/model/ServiceState.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace MigrationHubRefactorSpaces {
25namespace Model {
27 public:
28 AWS_MIGRATIONHUBREFACTORSPACES_API DeleteServiceResult() = default;
29 AWS_MIGRATIONHUBREFACTORSPACES_API DeleteServiceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
31
33
36 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
37 template <typename ApplicationIdT = Aws::String>
38 void SetApplicationId(ApplicationIdT&& value) {
39 m_applicationIdHasBeenSet = true;
40 m_applicationId = std::forward<ApplicationIdT>(value);
41 }
42 template <typename ApplicationIdT = Aws::String>
43 DeleteServiceResult& WithApplicationId(ApplicationIdT&& value) {
44 SetApplicationId(std::forward<ApplicationIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template <typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) {
56 m_arnHasBeenSet = true;
57 m_arn = std::forward<ArnT>(value);
58 }
59 template <typename ArnT = Aws::String>
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
71 template <typename EnvironmentIdT = Aws::String>
72 void SetEnvironmentId(EnvironmentIdT&& value) {
73 m_environmentIdHasBeenSet = true;
74 m_environmentId = std::forward<EnvironmentIdT>(value);
75 }
76 template <typename EnvironmentIdT = Aws::String>
77 DeleteServiceResult& WithEnvironmentId(EnvironmentIdT&& value) {
78 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
88 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
89 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
90 m_lastUpdatedTimeHasBeenSet = true;
91 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
92 }
93 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
94 DeleteServiceResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
95 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetName() const { return m_name; }
105 template <typename NameT = Aws::String>
106 void SetName(NameT&& value) {
107 m_nameHasBeenSet = true;
108 m_name = std::forward<NameT>(value);
109 }
110 template <typename NameT = Aws::String>
112 SetName(std::forward<NameT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetServiceId() const { return m_serviceId; }
122 template <typename ServiceIdT = Aws::String>
123 void SetServiceId(ServiceIdT&& value) {
124 m_serviceIdHasBeenSet = true;
125 m_serviceId = std::forward<ServiceIdT>(value);
126 }
127 template <typename ServiceIdT = Aws::String>
128 DeleteServiceResult& WithServiceId(ServiceIdT&& value) {
129 SetServiceId(std::forward<ServiceIdT>(value));
130 return *this;
131 }
133
135
138 inline ServiceState GetState() const { return m_state; }
139 inline void SetState(ServiceState value) {
140 m_stateHasBeenSet = true;
141 m_state = value;
142 }
144 SetState(value);
145 return *this;
146 }
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template <typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) {
154 m_requestIdHasBeenSet = true;
155 m_requestId = std::forward<RequestIdT>(value);
156 }
157 template <typename RequestIdT = Aws::String>
158 DeleteServiceResult& WithRequestId(RequestIdT&& value) {
159 SetRequestId(std::forward<RequestIdT>(value));
160 return *this;
161 }
163 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
164
165 private:
166 Aws::String m_applicationId;
167
168 Aws::String m_arn;
169
170 Aws::String m_environmentId;
171
172 Aws::Utils::DateTime m_lastUpdatedTime{};
173
174 Aws::String m_name;
175
176 Aws::String m_serviceId;
177
179
180 Aws::String m_requestId;
181 Aws::Http::HttpResponseCode m_HttpResponseCode;
182 bool m_applicationIdHasBeenSet = false;
183 bool m_arnHasBeenSet = false;
184 bool m_environmentIdHasBeenSet = false;
185 bool m_lastUpdatedTimeHasBeenSet = false;
186 bool m_nameHasBeenSet = false;
187 bool m_serviceIdHasBeenSet = false;
188 bool m_stateHasBeenSet = false;
189 bool m_requestIdHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace MigrationHubRefactorSpaces
194} // namespace Aws
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteServiceResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteServiceResult & WithRequestId(RequestIdT &&value)
DeleteServiceResult & WithEnvironmentId(EnvironmentIdT &&value)
DeleteServiceResult & WithApplicationId(ApplicationIdT &&value)
DeleteServiceResult & WithServiceId(ServiceIdT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteServiceResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue