AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DeleteApplicationResult.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/ApplicationState.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 DeleteApplicationResult() = default;
30 AWS_MIGRATIONHUBREFACTORSPACES_API DeleteApplicationResult& operator=(
32
34
37 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
38 template <typename ApplicationIdT = Aws::String>
39 void SetApplicationId(ApplicationIdT&& value) {
40 m_applicationIdHasBeenSet = true;
41 m_applicationId = std::forward<ApplicationIdT>(value);
42 }
43 template <typename ApplicationIdT = Aws::String>
44 DeleteApplicationResult& WithApplicationId(ApplicationIdT&& value) {
45 SetApplicationId(std::forward<ApplicationIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetArn() const { return m_arn; }
55 template <typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) {
57 m_arnHasBeenSet = true;
58 m_arn = std::forward<ArnT>(value);
59 }
60 template <typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
72 template <typename EnvironmentIdT = Aws::String>
73 void SetEnvironmentId(EnvironmentIdT&& value) {
74 m_environmentIdHasBeenSet = true;
75 m_environmentId = std::forward<EnvironmentIdT>(value);
76 }
77 template <typename EnvironmentIdT = Aws::String>
78 DeleteApplicationResult& WithEnvironmentId(EnvironmentIdT&& value) {
79 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
89 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
90 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
91 m_lastUpdatedTimeHasBeenSet = true;
92 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
93 }
94 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
95 DeleteApplicationResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
96 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetName() const { return m_name; }
106 template <typename NameT = Aws::String>
107 void SetName(NameT&& value) {
108 m_nameHasBeenSet = true;
109 m_name = std::forward<NameT>(value);
110 }
111 template <typename NameT = Aws::String>
113 SetName(std::forward<NameT>(value));
114 return *this;
115 }
117
119
122 inline ApplicationState GetState() const { return m_state; }
123 inline void SetState(ApplicationState value) {
124 m_stateHasBeenSet = true;
125 m_state = value;
126 }
128 SetState(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_applicationId;
151
152 Aws::String m_arn;
153
154 Aws::String m_environmentId;
155
156 Aws::Utils::DateTime m_lastUpdatedTime{};
157
158 Aws::String m_name;
159
161
162 Aws::String m_requestId;
163 Aws::Http::HttpResponseCode m_HttpResponseCode;
164 bool m_applicationIdHasBeenSet = false;
165 bool m_arnHasBeenSet = false;
166 bool m_environmentIdHasBeenSet = false;
167 bool m_lastUpdatedTimeHasBeenSet = false;
168 bool m_nameHasBeenSet = false;
169 bool m_stateHasBeenSet = false;
170 bool m_requestIdHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace MigrationHubRefactorSpaces
175} // namespace Aws
DeleteApplicationResult & WithEnvironmentId(EnvironmentIdT &&value)
DeleteApplicationResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteApplicationResult()=default
DeleteApplicationResult & WithState(ApplicationState value)
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteApplicationResult & WithApplicationId(ApplicationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue