AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
DeleteServiceFunctionResourcesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace resiliencehubv2 {
24namespace Model {
26 public:
27 AWS_RESILIENCEHUBV2_API DeleteServiceFunctionResourcesResult() = default;
31
33
34 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
35 template <typename ServiceArnT = Aws::String>
36 void SetServiceArn(ServiceArnT&& value) {
37 m_serviceArnHasBeenSet = true;
38 m_serviceArn = std::forward<ServiceArnT>(value);
39 }
40 template <typename ServiceArnT = Aws::String>
42 SetServiceArn(std::forward<ServiceArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetServiceFunctionId() const { return m_serviceFunctionId; }
52 template <typename ServiceFunctionIdT = Aws::String>
53 void SetServiceFunctionId(ServiceFunctionIdT&& value) {
54 m_serviceFunctionIdHasBeenSet = true;
55 m_serviceFunctionId = std::forward<ServiceFunctionIdT>(value);
56 }
57 template <typename ServiceFunctionIdT = Aws::String>
59 SetServiceFunctionId(std::forward<ServiceFunctionIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Vector<Aws::String>& GetResources() const { return m_resources; }
69 template <typename ResourcesT = Aws::Vector<Aws::String>>
70 void SetResources(ResourcesT&& value) {
71 m_resourcesHasBeenSet = true;
72 m_resources = std::forward<ResourcesT>(value);
73 }
74 template <typename ResourcesT = Aws::Vector<Aws::String>>
76 SetResources(std::forward<ResourcesT>(value));
77 return *this;
78 }
79 template <typename ResourcesT = Aws::String>
81 m_resourcesHasBeenSet = true;
82 m_resources.emplace_back(std::forward<ResourcesT>(value));
83 return *this;
84 }
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template <typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) {
92 m_requestIdHasBeenSet = true;
93 m_requestId = std::forward<RequestIdT>(value);
94 }
95 template <typename RequestIdT = Aws::String>
97 SetRequestId(std::forward<RequestIdT>(value));
98 return *this;
99 }
101 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
102
103 private:
104 Aws::String m_serviceArn;
105
106 Aws::String m_serviceFunctionId;
107
108 Aws::Vector<Aws::String> m_resources;
109
110 Aws::String m_requestId;
111 Aws::Http::HttpResponseCode m_HttpResponseCode;
112 bool m_serviceArnHasBeenSet = false;
113 bool m_serviceFunctionIdHasBeenSet = false;
114 bool m_resourcesHasBeenSet = false;
115 bool m_requestIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace resiliencehubv2
120} // namespace Aws
DeleteServiceFunctionResourcesResult & WithResources(ResourcesT &&value)
DeleteServiceFunctionResourcesResult & AddResources(ResourcesT &&value)
DeleteServiceFunctionResourcesResult & WithRequestId(RequestIdT &&value)
AWS_RESILIENCEHUBV2_API DeleteServiceFunctionResourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RESILIENCEHUBV2_API DeleteServiceFunctionResourcesResult()=default
DeleteServiceFunctionResourcesResult & WithServiceArn(ServiceArnT &&value)
DeleteServiceFunctionResourcesResult & WithServiceFunctionId(ServiceFunctionIdT &&value)
AWS_RESILIENCEHUBV2_API DeleteServiceFunctionResourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue