AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
ServiceFunctionResourcesAddedMetadata.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 ServiceFunctionResourcesAddedMetadata() = 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>& GetResourcesAdded() const { return m_resourcesAdded; }
77 inline bool ResourcesAddedHasBeenSet() const { return m_resourcesAddedHasBeenSet; }
78 template <typename ResourcesAddedT = Aws::Vector<Aws::String>>
79 void SetResourcesAdded(ResourcesAddedT&& value) {
80 m_resourcesAddedHasBeenSet = true;
81 m_resourcesAdded = std::forward<ResourcesAddedT>(value);
82 }
83 template <typename ResourcesAddedT = Aws::Vector<Aws::String>>
85 SetResourcesAdded(std::forward<ResourcesAddedT>(value));
86 return *this;
87 }
88 template <typename ResourcesAddedT = Aws::String>
90 m_resourcesAddedHasBeenSet = true;
91 m_resourcesAdded.emplace_back(std::forward<ResourcesAddedT>(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_resourcesAdded;
101 bool m_serviceFunctionIdHasBeenSet = false;
102 bool m_serviceFunctionNameHasBeenSet = false;
103 bool m_resourcesAddedHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace resiliencehubv2
108} // namespace Aws
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceFunctionResourcesAddedMetadata & AddResourcesAdded(ResourcesAddedT &&value)
AWS_RESILIENCEHUBV2_API ServiceFunctionResourcesAddedMetadata(Aws::Utils::Json::JsonView jsonValue)
ServiceFunctionResourcesAddedMetadata & WithServiceFunctionName(ServiceFunctionNameT &&value)
ServiceFunctionResourcesAddedMetadata & WithResourcesAdded(ResourcesAddedT &&value)
AWS_RESILIENCEHUBV2_API ServiceFunctionResourcesAddedMetadata()=default
ServiceFunctionResourcesAddedMetadata & WithServiceFunctionId(ServiceFunctionIdT &&value)
AWS_RESILIENCEHUBV2_API ServiceFunctionResourcesAddedMetadata & operator=(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