AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
ServiceFunctionResourcesRemovedMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace resiliencehubv2 {
21namespace Model {
22
30 public:
31 AWS_RESILIENCEHUBV2_API ServiceFunctionResourcesRemovedMetadata() = default;
34 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetServiceFunctionId() const { return m_serviceFunctionId; }
41 inline bool ServiceFunctionIdHasBeenSet() const { return m_serviceFunctionIdHasBeenSet; }
42 template <typename ServiceFunctionIdT = Aws::String>
43 void SetServiceFunctionId(ServiceFunctionIdT&& value) {
44 m_serviceFunctionIdHasBeenSet = true;
45 m_serviceFunctionId = std::forward<ServiceFunctionIdT>(value);
46 }
47 template <typename ServiceFunctionIdT = Aws::String>
49 SetServiceFunctionId(std::forward<ServiceFunctionIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetServiceFunctionName() const { return m_serviceFunctionName; }
59 inline bool ServiceFunctionNameHasBeenSet() const { return m_serviceFunctionNameHasBeenSet; }
60 template <typename ServiceFunctionNameT = Aws::String>
61 void SetServiceFunctionName(ServiceFunctionNameT&& value) {
62 m_serviceFunctionNameHasBeenSet = true;
63 m_serviceFunctionName = std::forward<ServiceFunctionNameT>(value);
64 }
65 template <typename ServiceFunctionNameT = Aws::String>
67 SetServiceFunctionName(std::forward<ServiceFunctionNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Vector<Aws::String>& GetResourcesRemoved() const { return m_resourcesRemoved; }
77 inline bool ResourcesRemovedHasBeenSet() const { return m_resourcesRemovedHasBeenSet; }
78 template <typename ResourcesRemovedT = Aws::Vector<Aws::String>>
79 void SetResourcesRemoved(ResourcesRemovedT&& value) {
80 m_resourcesRemovedHasBeenSet = true;
81 m_resourcesRemoved = std::forward<ResourcesRemovedT>(value);
82 }
83 template <typename ResourcesRemovedT = Aws::Vector<Aws::String>>
85 SetResourcesRemoved(std::forward<ResourcesRemovedT>(value));
86 return *this;
87 }
88 template <typename ResourcesRemovedT = Aws::String>
90 m_resourcesRemovedHasBeenSet = true;
91 m_resourcesRemoved.emplace_back(std::forward<ResourcesRemovedT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_serviceFunctionId;
97
98 Aws::String m_serviceFunctionName;
99
100 Aws::Vector<Aws::String> m_resourcesRemoved;
101 bool m_serviceFunctionIdHasBeenSet = false;
102 bool m_serviceFunctionNameHasBeenSet = false;
103 bool m_resourcesRemovedHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace resiliencehubv2
108} // namespace Aws
ServiceFunctionResourcesRemovedMetadata & WithResourcesRemoved(ResourcesRemovedT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceFunctionResourcesRemovedMetadata & WithServiceFunctionName(ServiceFunctionNameT &&value)
AWS_RESILIENCEHUBV2_API ServiceFunctionResourcesRemovedMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceFunctionResourcesRemovedMetadata & WithServiceFunctionId(ServiceFunctionIdT &&value)
AWS_RESILIENCEHUBV2_API ServiceFunctionResourcesRemovedMetadata()=default
ServiceFunctionResourcesRemovedMetadata & AddResourcesRemoved(ResourcesRemovedT &&value)
AWS_RESILIENCEHUBV2_API ServiceFunctionResourcesRemovedMetadata(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue