AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DependencyConfig.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ApplicationSignals {
21namespace Model {
22
36 public:
37 AWS_APPLICATIONSIGNALS_API DependencyConfig() = default;
38 AWS_APPLICATIONSIGNALS_API DependencyConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPLICATIONSIGNALS_API DependencyConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
58 inline const Aws::Map<Aws::String, Aws::String>& GetDependencyKeyAttributes() const { return m_dependencyKeyAttributes; }
59 inline bool DependencyKeyAttributesHasBeenSet() const { return m_dependencyKeyAttributesHasBeenSet; }
60 template <typename DependencyKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
61 void SetDependencyKeyAttributes(DependencyKeyAttributesT&& value) {
62 m_dependencyKeyAttributesHasBeenSet = true;
63 m_dependencyKeyAttributes = std::forward<DependencyKeyAttributesT>(value);
64 }
65 template <typename DependencyKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
66 DependencyConfig& WithDependencyKeyAttributes(DependencyKeyAttributesT&& value) {
67 SetDependencyKeyAttributes(std::forward<DependencyKeyAttributesT>(value));
68 return *this;
69 }
70 template <typename DependencyKeyAttributesKeyT = Aws::String, typename DependencyKeyAttributesValueT = Aws::String>
71 DependencyConfig& AddDependencyKeyAttributes(DependencyKeyAttributesKeyT&& key, DependencyKeyAttributesValueT&& value) {
72 m_dependencyKeyAttributesHasBeenSet = true;
73 m_dependencyKeyAttributes.emplace(std::forward<DependencyKeyAttributesKeyT>(key), std::forward<DependencyKeyAttributesValueT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetDependencyOperationName() const { return m_dependencyOperationName; }
83 inline bool DependencyOperationNameHasBeenSet() const { return m_dependencyOperationNameHasBeenSet; }
84 template <typename DependencyOperationNameT = Aws::String>
85 void SetDependencyOperationName(DependencyOperationNameT&& value) {
86 m_dependencyOperationNameHasBeenSet = true;
87 m_dependencyOperationName = std::forward<DependencyOperationNameT>(value);
88 }
89 template <typename DependencyOperationNameT = Aws::String>
90 DependencyConfig& WithDependencyOperationName(DependencyOperationNameT&& value) {
91 SetDependencyOperationName(std::forward<DependencyOperationNameT>(value));
92 return *this;
93 }
95 private:
96 Aws::Map<Aws::String, Aws::String> m_dependencyKeyAttributes;
97
98 Aws::String m_dependencyOperationName;
99 bool m_dependencyKeyAttributesHasBeenSet = false;
100 bool m_dependencyOperationNameHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace ApplicationSignals
105} // namespace Aws
AWS_APPLICATIONSIGNALS_API DependencyConfig(Aws::Utils::Json::JsonView jsonValue)
DependencyConfig & WithDependencyOperationName(DependencyOperationNameT &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
DependencyConfig & AddDependencyKeyAttributes(DependencyKeyAttributesKeyT &&key, DependencyKeyAttributesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDependencyKeyAttributes() const
const Aws::String & GetDependencyOperationName() const
AWS_APPLICATIONSIGNALS_API DependencyConfig()=default
void SetDependencyOperationName(DependencyOperationNameT &&value)
AWS_APPLICATIONSIGNALS_API DependencyConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DependencyConfig & WithDependencyKeyAttributes(DependencyKeyAttributesT &&value)
void SetDependencyKeyAttributes(DependencyKeyAttributesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue