7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace ResilienceHub
56 template<
typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
57 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet =
true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
58 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; m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value));
return *
this;
72 template<
typename IdT = Aws::String>
73 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
74 template<
typename IdT = Aws::String>
84 template<
typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
86 template<
typename NameT = Aws::String>
96 template<
typename TypeT = Aws::String>
97 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
98 template<
typename TypeT = Aws::String>
104 bool m_additionalInfoHasBeenSet =
false;
107 bool m_idHasBeenSet =
false;
110 bool m_nameHasBeenSet =
false;
113 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