7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/AppIntegrationsServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appintegrations/model/ApplicationSourceConfig.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/UUID.h>
18namespace AppIntegrationsService
45 template<
typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
47 template<
typename NameT = Aws::String>
57 template<
typename NamespaceT = Aws::String>
58 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
59 template<
typename NamespaceT = Aws::String>
69 template<
typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
71 template<
typename DescriptionT = Aws::String>
81 template<
typename ApplicationSourceConfigT = ApplicationSourceConfig>
82 void SetApplicationSourceConfig(ApplicationSourceConfigT&& value) { m_applicationSourceConfigHasBeenSet =
true; m_applicationSourceConfig = std::forward<ApplicationSourceConfigT>(value); }
83 template<
typename ApplicationSourceConfigT = ApplicationSourceConfig>
97 template<
typename ClientTokenT = Aws::String>
98 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
99 template<
typename ClientTokenT = Aws::String>
110 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
112 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
116 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
127 template<
typename PermissionsT = Aws::Vector<Aws::String>>
128 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet =
true; m_permissions = std::forward<PermissionsT>(value); }
129 template<
typename PermissionsT = Aws::Vector<Aws::String>>
131 template<
typename PermissionsT = Aws::String>
137 bool m_nameHasBeenSet =
false;
140 bool m_namespaceHasBeenSet =
false;
143 bool m_descriptionHasBeenSet =
false;
146 bool m_applicationSourceConfigHasBeenSet =
false;
149 bool m_clientTokenHasBeenSet =
true;
152 bool m_tagsHasBeenSet =
false;
155 bool m_permissionsHasBeenSet =
false;
void SetApplicationSourceConfig(ApplicationSourceConfigT &&value)
CreateApplicationRequest & WithPermissions(PermissionsT &&value)
bool NamespaceHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
void SetName(NameT &&value)
void SetNamespace(NamespaceT &&value)
bool ApplicationSourceConfigHasBeenSet() const
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
const ApplicationSourceConfig & GetApplicationSourceConfig() const
const Aws::String & GetClientToken() const
virtual const char * GetServiceRequestName() const override
AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override
void SetPermissions(PermissionsT &&value)
bool ClientTokenHasBeenSet() const
CreateApplicationRequest & WithName(NameT &&value)
AWS_APPINTEGRATIONSSERVICE_API CreateApplicationRequest()=default
CreateApplicationRequest & WithClientToken(ClientTokenT &&value)
const Aws::Vector< Aws::String > & GetPermissions() const
const Aws::String & GetDescription() const
bool PermissionsHasBeenSet() const
CreateApplicationRequest & AddPermissions(PermissionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateApplicationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetNamespace() const
CreateApplicationRequest & WithTags(TagsT &&value)
CreateApplicationRequest & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
bool TagsHasBeenSet() const
CreateApplicationRequest & WithApplicationSourceConfig(ApplicationSourceConfigT &&value)
CreateApplicationRequest & WithNamespace(NamespaceT &&value)
void SetTags(TagsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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
std::vector< T, Aws::Allocator< T > > Vector