7#include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/servicecatalog-appregistry/model/AssociationOption.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template<
typename ApplicationArnT = Aws::String>
44 void SetApplicationArn(ApplicationArnT&& value) { m_applicationArnHasBeenSet =
true; m_applicationArn = std::forward<ApplicationArnT>(value); }
45 template<
typename ApplicationArnT = Aws::String>
54 template<
typename ResourceArnT = Aws::String>
55 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
56 template<
typename ResourceArnT = Aws::String>
65 template<
typename OptionsT = Aws::Vector<AssociationOption>>
66 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
67 template<
typename OptionsT = Aws::Vector<AssociationOption>>
75 template<
typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
77 template<
typename RequestIdT = Aws::String>
83 bool m_applicationArnHasBeenSet =
false;
86 bool m_resourceArnHasBeenSet =
false;
89 bool m_optionsHasBeenSet =
false;
92 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetResourceArn() const
AWS_APPREGISTRY_API AssociateResourceResult()=default
const Aws::Vector< AssociationOption > & GetOptions() const
AWS_APPREGISTRY_API AssociateResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResourceArn(ResourceArnT &&value)
AWS_APPREGISTRY_API AssociateResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateResourceResult & WithApplicationArn(ApplicationArnT &&value)
void SetRequestId(RequestIdT &&value)
void SetApplicationArn(ApplicationArnT &&value)
AssociateResourceResult & WithOptions(OptionsT &&value)
AssociateResourceResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetApplicationArn() const
AssociateResourceResult & WithResourceArn(ResourceArnT &&value)
AssociateResourceResult & AddOptions(AssociationOption value)
void SetOptions(OptionsT &&value)
const Aws::String & GetRequestId() 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