AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DeleteRouteResult.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/RouteState.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 DeleteRouteResult() = default;
29 AWS_MIGRATIONHUBREFACTORSPACES_API DeleteRouteResult(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 DeleteRouteResult& 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>
60 DeleteRouteResult& WithArn(ArnT&& value) {
61 SetArn(std::forward<ArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
71 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
72 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
73 m_lastUpdatedTimeHasBeenSet = true;
74 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
75 }
76 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
77 DeleteRouteResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
78 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetRouteId() const { return m_routeId; }
88 template <typename RouteIdT = Aws::String>
89 void SetRouteId(RouteIdT&& value) {
90 m_routeIdHasBeenSet = true;
91 m_routeId = std::forward<RouteIdT>(value);
92 }
93 template <typename RouteIdT = Aws::String>
94 DeleteRouteResult& WithRouteId(RouteIdT&& value) {
95 SetRouteId(std::forward<RouteIdT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetServiceId() const { return m_serviceId; }
105 template <typename ServiceIdT = Aws::String>
106 void SetServiceId(ServiceIdT&& value) {
107 m_serviceIdHasBeenSet = true;
108 m_serviceId = std::forward<ServiceIdT>(value);
109 }
110 template <typename ServiceIdT = Aws::String>
111 DeleteRouteResult& WithServiceId(ServiceIdT&& value) {
112 SetServiceId(std::forward<ServiceIdT>(value));
113 return *this;
114 }
116
118
121 inline RouteState GetState() const { return m_state; }
122 inline void SetState(RouteState value) {
123 m_stateHasBeenSet = true;
124 m_state = value;
125 }
127 SetState(value);
128 return *this;
129 }
131
133
134 inline const Aws::String& GetRequestId() const { return m_requestId; }
135 template <typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) {
137 m_requestIdHasBeenSet = true;
138 m_requestId = std::forward<RequestIdT>(value);
139 }
140 template <typename RequestIdT = Aws::String>
141 DeleteRouteResult& WithRequestId(RequestIdT&& value) {
142 SetRequestId(std::forward<RequestIdT>(value));
143 return *this;
144 }
146 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
147
148 private:
149 Aws::String m_applicationId;
150
151 Aws::String m_arn;
152
153 Aws::Utils::DateTime m_lastUpdatedTime{};
154
155 Aws::String m_routeId;
156
157 Aws::String m_serviceId;
158
160
161 Aws::String m_requestId;
162 Aws::Http::HttpResponseCode m_HttpResponseCode;
163 bool m_applicationIdHasBeenSet = false;
164 bool m_arnHasBeenSet = false;
165 bool m_lastUpdatedTimeHasBeenSet = false;
166 bool m_routeIdHasBeenSet = false;
167 bool m_serviceIdHasBeenSet = false;
168 bool m_stateHasBeenSet = false;
169 bool m_requestIdHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace MigrationHubRefactorSpaces
174} // namespace Aws
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteRouteResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteRouteResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
DeleteRouteResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteRouteResult()=default
DeleteRouteResult & WithApplicationId(ApplicationIdT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteRouteResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteRouteResult & WithServiceId(ServiceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue