AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
DeleteServiceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.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 resiliencehubv2 {
23namespace Model {
25 public:
26 AWS_RESILIENCEHUBV2_API DeleteServiceResult() = default;
29
31
32 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
33 template <typename ServiceArnT = Aws::String>
34 void SetServiceArn(ServiceArnT&& value) {
35 m_serviceArnHasBeenSet = true;
36 m_serviceArn = std::forward<ServiceArnT>(value);
37 }
38 template <typename ServiceArnT = Aws::String>
39 DeleteServiceResult& WithServiceArn(ServiceArnT&& value) {
40 SetServiceArn(std::forward<ServiceArnT>(value));
41 return *this;
42 }
44
46
47 inline const Aws::String& GetRequestId() const { return m_requestId; }
48 template <typename RequestIdT = Aws::String>
49 void SetRequestId(RequestIdT&& value) {
50 m_requestIdHasBeenSet = true;
51 m_requestId = std::forward<RequestIdT>(value);
52 }
53 template <typename RequestIdT = Aws::String>
54 DeleteServiceResult& WithRequestId(RequestIdT&& value) {
55 SetRequestId(std::forward<RequestIdT>(value));
56 return *this;
57 }
59 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
60
61 private:
62 Aws::String m_serviceArn;
63
64 Aws::String m_requestId;
65 Aws::Http::HttpResponseCode m_HttpResponseCode;
66 bool m_serviceArnHasBeenSet = false;
67 bool m_requestIdHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace resiliencehubv2
72} // namespace Aws
AWS_RESILIENCEHUBV2_API DeleteServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DeleteServiceResult & WithRequestId(RequestIdT &&value)
AWS_RESILIENCEHUBV2_API DeleteServiceResult()=default
DeleteServiceResult & WithServiceArn(ServiceArnT &&value)
AWS_RESILIENCEHUBV2_API DeleteServiceResult(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