AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DeleteEnvironmentResult.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/EnvironmentState.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 DeleteEnvironmentResult() = default;
30 AWS_MIGRATIONHUBREFACTORSPACES_API DeleteEnvironmentResult& operator=(
32
34
37 inline const Aws::String& GetArn() const { return m_arn; }
38 template <typename ArnT = Aws::String>
39 void SetArn(ArnT&& value) {
40 m_arnHasBeenSet = true;
41 m_arn = std::forward<ArnT>(value);
42 }
43 template <typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
55 template <typename EnvironmentIdT = Aws::String>
56 void SetEnvironmentId(EnvironmentIdT&& value) {
57 m_environmentIdHasBeenSet = true;
58 m_environmentId = std::forward<EnvironmentIdT>(value);
59 }
60 template <typename EnvironmentIdT = Aws::String>
61 DeleteEnvironmentResult& WithEnvironmentId(EnvironmentIdT&& value) {
62 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
72 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
73 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
74 m_lastUpdatedTimeHasBeenSet = true;
75 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
76 }
77 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
78 DeleteEnvironmentResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
79 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetName() const { return m_name; }
89 template <typename NameT = Aws::String>
90 void SetName(NameT&& value) {
91 m_nameHasBeenSet = true;
92 m_name = std::forward<NameT>(value);
93 }
94 template <typename NameT = Aws::String>
96 SetName(std::forward<NameT>(value));
97 return *this;
98 }
100
102
105 inline EnvironmentState GetState() const { return m_state; }
106 inline void SetState(EnvironmentState value) {
107 m_stateHasBeenSet = true;
108 m_state = value;
109 }
111 SetState(value);
112 return *this;
113 }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template <typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) {
121 m_requestIdHasBeenSet = true;
122 m_requestId = std::forward<RequestIdT>(value);
123 }
124 template <typename RequestIdT = Aws::String>
126 SetRequestId(std::forward<RequestIdT>(value));
127 return *this;
128 }
130 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
131
132 private:
133 Aws::String m_arn;
134
135 Aws::String m_environmentId;
136
137 Aws::Utils::DateTime m_lastUpdatedTime{};
138
139 Aws::String m_name;
140
142
143 Aws::String m_requestId;
144 Aws::Http::HttpResponseCode m_HttpResponseCode;
145 bool m_arnHasBeenSet = false;
146 bool m_environmentIdHasBeenSet = false;
147 bool m_lastUpdatedTimeHasBeenSet = false;
148 bool m_nameHasBeenSet = false;
149 bool m_stateHasBeenSet = false;
150 bool m_requestIdHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace MigrationHubRefactorSpaces
155} // namespace Aws
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteEnvironmentResult()=default
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteEnvironmentResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API DeleteEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteEnvironmentResult & WithState(EnvironmentState value)
DeleteEnvironmentResult & WithEnvironmentId(EnvironmentIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue