7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
21namespace ResilienceHub {
50 template <
typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
52 m_additionalInfoHasBeenSet =
true;
53 m_additionalInfo = std::forward<AdditionalInfoT>(value);
55 template <
typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
60 template <
typename AdditionalInfoKeyT = Aws::String,
typename AdditionalInfoValueT = Aws::Vector<Aws::String>>
62 m_additionalInfoHasBeenSet =
true;
63 m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value));
74 template <
typename IdT = Aws::String>
76 m_idHasBeenSet =
true;
77 m_id = std::forward<IdT>(value);
79 template <
typename IdT = Aws::String>
81 SetId(std::forward<IdT>(value));
92 template <
typename NameT = Aws::String>
94 m_nameHasBeenSet =
true;
95 m_name = std::forward<NameT>(value);
97 template <
typename NameT = Aws::String>
99 SetName(std::forward<NameT>(value));
110 template <
typename TypeT = Aws::String>
112 m_typeHasBeenSet =
true;
113 m_type = std::forward<TypeT>(value);
115 template <
typename TypeT = Aws::String>
117 SetType(std::forward<TypeT>(value));
129 bool m_additionalInfoHasBeenSet =
false;
130 bool m_idHasBeenSet =
false;
131 bool m_nameHasBeenSet =
false;
132 bool m_typeHasBeenSet =
false;
AppComponent & WithAdditionalInfo(AdditionalInfoT &&value)
AppComponent & AddAdditionalInfo(AdditionalInfoKeyT &&key, AdditionalInfoValueT &&value)
void SetAdditionalInfo(AdditionalInfoT &&value)
AWS_RESILIENCEHUB_API AppComponent(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAdditionalInfo() const
AppComponent & WithId(IdT &&value)
void SetName(NameT &&value)
const Aws::String & GetName() const
AWS_RESILIENCEHUB_API AppComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(TypeT &&value)
AppComponent & WithName(NameT &&value)
bool IdHasBeenSet() const
AWS_RESILIENCEHUB_API AppComponent()=default
bool AdditionalInfoHasBeenSet() const
const Aws::String & GetId() const
AppComponent & WithType(TypeT &&value)
bool TypeHasBeenSet() const
const Aws::String & GetType() const
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