AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ApplicationSignals
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_APPLICATIONSIGNALS_API DependencyConfig() = default;
43 AWS_APPLICATIONSIGNALS_API DependencyConfig(Aws::Utils::Json::JsonView jsonValue);
44 AWS_APPLICATIONSIGNALS_API DependencyConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
64 inline const Aws::Map<Aws::String, Aws::String>& GetDependencyKeyAttributes() const { return m_dependencyKeyAttributes; }
65 inline bool DependencyKeyAttributesHasBeenSet() const { return m_dependencyKeyAttributesHasBeenSet; }
66 template<typename DependencyKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
67 void SetDependencyKeyAttributes(DependencyKeyAttributesT&& value) { m_dependencyKeyAttributesHasBeenSet = true; m_dependencyKeyAttributes = std::forward<DependencyKeyAttributesT>(value); }
68 template<typename DependencyKeyAttributesT = Aws::Map<Aws::String, Aws::String>>
69 DependencyConfig& WithDependencyKeyAttributes(DependencyKeyAttributesT&& value) { SetDependencyKeyAttributes(std::forward<DependencyKeyAttributesT>(value)); return *this;}
70 template<typename DependencyKeyAttributesKeyT = Aws::String, typename DependencyKeyAttributesValueT = Aws::String>
71 DependencyConfig& AddDependencyKeyAttributes(DependencyKeyAttributesKeyT&& key, DependencyKeyAttributesValueT&& value) {
72 m_dependencyKeyAttributesHasBeenSet = true; m_dependencyKeyAttributes.emplace(std::forward<DependencyKeyAttributesKeyT>(key), std::forward<DependencyKeyAttributesValueT>(value)); return *this;
73 }
75
77
80 inline const Aws::String& GetDependencyOperationName() const { return m_dependencyOperationName; }
81 inline bool DependencyOperationNameHasBeenSet() const { return m_dependencyOperationNameHasBeenSet; }
82 template<typename DependencyOperationNameT = Aws::String>
83 void SetDependencyOperationName(DependencyOperationNameT&& value) { m_dependencyOperationNameHasBeenSet = true; m_dependencyOperationName = std::forward<DependencyOperationNameT>(value); }
84 template<typename DependencyOperationNameT = Aws::String>
85 DependencyConfig& WithDependencyOperationName(DependencyOperationNameT&& value) { SetDependencyOperationName(std::forward<DependencyOperationNameT>(value)); return *this;}
87 private:
88
89 Aws::Map<Aws::String, Aws::String> m_dependencyKeyAttributes;
90 bool m_dependencyKeyAttributesHasBeenSet = false;
91
92 Aws::String m_dependencyOperationName;
93 bool m_dependencyOperationNameHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ApplicationSignals
98} // 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