7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
20namespace resiliencehubv2 {
43 template <
typename ResourceTypeT = Aws::String>
45 m_resourceTypeHasBeenSet =
true;
46 m_resourceType = std::forward<ResourceTypeT>(value);
48 template <
typename ResourceTypeT = Aws::String>
61 template <
typename TargetNameT = Aws::String>
63 m_targetNameHasBeenSet =
true;
64 m_targetName = std::forward<TargetNameT>(value);
66 template <
typename TargetNameT = Aws::String>
79 template <
typename TargetInformationT = Aws::Map<Aws::String, Aws::String>>
81 m_targetInformationHasBeenSet =
true;
82 m_targetInformation = std::forward<TargetInformationT>(value);
84 template <
typename TargetInformationT = Aws::Map<Aws::String, Aws::String>>
89 template <
typename TargetInformationKeyT = Aws::String,
typename TargetInformationValueT = Aws::String>
91 m_targetInformationHasBeenSet =
true;
92 m_targetInformation.emplace(std::forward<TargetInformationKeyT>(key), std::forward<TargetInformationValueT>(value));
102 bool m_resourceTypeHasBeenSet =
false;
103 bool m_targetNameHasBeenSet =
false;
104 bool m_targetInformationHasBeenSet =
false;
void SetTargetInformation(TargetInformationT &&value)
ResolvedTargetResource & WithResourceType(ResourceTypeT &&value)
AWS_RESILIENCEHUBV2_API ResolvedTargetResource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetTargetInformation() const
bool ResourceTypeHasBeenSet() const
ResolvedTargetResource & WithTargetName(TargetNameT &&value)
void SetResourceType(ResourceTypeT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
ResolvedTargetResource & AddTargetInformation(TargetInformationKeyT &&key, TargetInformationValueT &&value)
const Aws::String & GetTargetName() const
void SetTargetName(TargetNameT &&value)
AWS_RESILIENCEHUBV2_API ResolvedTargetResource()=default
ResolvedTargetResource & WithTargetInformation(TargetInformationT &&value)
AWS_RESILIENCEHUBV2_API ResolvedTargetResource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceType() const
bool TargetInformationHasBeenSet() const
bool TargetNameHasBeenSet() 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