7#include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicecatalog-appregistry/model/ResourceType.h>
10#include <aws/servicecatalog-appregistry/model/ResourceDetails.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/servicecatalog-appregistry/model/AssociationOption.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
63 template<
typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
65 template<
typename ArnT = Aws::String>
86 template<
typename ResourceDetailsT = ResourceDetails>
87 void SetResourceDetails(ResourceDetailsT&& value) { m_resourceDetailsHasBeenSet =
true; m_resourceDetails = std::forward<ResourceDetailsT>(value); }
88 template<
typename ResourceDetailsT = ResourceDetails>
98 template<
typename OptionsT = Aws::Vector<AssociationOption>>
99 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
100 template<
typename OptionsT = Aws::Vector<AssociationOption>>
107 bool m_nameHasBeenSet =
false;
110 bool m_arnHasBeenSet =
false;
113 bool m_resourceTypeHasBeenSet =
false;
115 ResourceDetails m_resourceDetails;
116 bool m_resourceDetailsHasBeenSet =
false;
119 bool m_optionsHasBeenSet =
false;
ResourceType GetResourceType() const
void SetResourceType(ResourceType value)
AWS_APPREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceInfo & WithArn(ArnT &&value)
void SetOptions(OptionsT &&value)
const ResourceDetails & GetResourceDetails() const
AWS_APPREGISTRY_API ResourceInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
ResourceInfo & WithName(NameT &&value)
AWS_APPREGISTRY_API ResourceInfo(Aws::Utils::Json::JsonView jsonValue)
bool OptionsHasBeenSet() const
void SetArn(ArnT &&value)
ResourceInfo & WithResourceDetails(ResourceDetailsT &&value)
ResourceInfo & AddOptions(AssociationOption value)
const Aws::Vector< AssociationOption > & GetOptions() const
ResourceInfo & WithResourceType(ResourceType value)
void SetName(NameT &&value)
ResourceInfo & WithOptions(OptionsT &&value)
void SetResourceDetails(ResourceDetailsT &&value)
const Aws::String & GetName() const
bool ResourceTypeHasBeenSet() const
const Aws::String & GetArn() const
bool NameHasBeenSet() const
AWS_APPREGISTRY_API ResourceInfo()=default
bool ResourceDetailsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue