7#include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/servicecatalog-appregistry/AppRegistryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/servicecatalog-appregistry/model/ResourceType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/servicecatalog-appregistry/model/AssociationOption.h>
44 template<
typename ApplicationT = Aws::String>
45 void SetApplication(ApplicationT&& value) { m_applicationHasBeenSet =
true; m_application = std::forward<ApplicationT>(value); }
46 template<
typename ApplicationT = Aws::String>
67 template<
typename ResourceT = Aws::String>
68 void SetResource(ResourceT&& value) { m_resourceHasBeenSet =
true; m_resource = std::forward<ResourceT>(value); }
69 template<
typename ResourceT = Aws::String>
79 template<
typename OptionsT = Aws::Vector<AssociationOption>>
80 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
81 template<
typename OptionsT = Aws::Vector<AssociationOption>>
88 bool m_applicationHasBeenSet =
false;
91 bool m_resourceTypeHasBeenSet =
false;
94 bool m_resourceHasBeenSet =
false;
97 bool m_optionsHasBeenSet =
false;
AWS_APPREGISTRY_API Aws::String SerializePayload() const override
void SetApplication(ApplicationT &&value)
const Aws::Vector< AssociationOption > & GetOptions() const
AssociateResourceRequest & WithApplication(ApplicationT &&value)
bool ApplicationHasBeenSet() const
bool ResourceHasBeenSet() const
bool OptionsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AssociateResourceRequest & AddOptions(AssociationOption value)
AssociateResourceRequest & WithResourceType(ResourceType value)
void SetResourceType(ResourceType value)
AssociateResourceRequest & WithOptions(OptionsT &&value)
const Aws::String & GetResource() const
const Aws::String & GetApplication() const
void SetOptions(OptionsT &&value)
ResourceType GetResourceType() const
AWS_APPREGISTRY_API AssociateResourceRequest()=default
bool ResourceTypeHasBeenSet() const
AssociateResourceRequest & WithResource(ResourceT &&value)
void SetResource(ResourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector