7#include <aws/appintegrations/AppIntegrationsServiceRequest.h>
8#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
9#include <aws/appintegrations/model/ApplicationConfig.h>
10#include <aws/appintegrations/model/ApplicationSourceConfig.h>
11#include <aws/appintegrations/model/ApplicationType.h>
12#include <aws/appintegrations/model/IframeConfig.h>
13#include <aws/core/utils/UUID.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace AppIntegrationsService {
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename NamespaceT = Aws::String>
64 m_namespaceHasBeenSet =
true;
65 m_namespace = std::forward<NamespaceT>(value);
67 template <
typename NamespaceT = Aws::String>
80 template <
typename DescriptionT = Aws::String>
82 m_descriptionHasBeenSet =
true;
83 m_description = std::forward<DescriptionT>(value);
85 template <
typename DescriptionT = Aws::String>
98 template <
typename ApplicationSourceConfigT = ApplicationSourceConfig>
100 m_applicationSourceConfigHasBeenSet =
true;
101 m_applicationSourceConfig = std::forward<ApplicationSourceConfigT>(value);
103 template <
typename ApplicationSourceConfigT = ApplicationSourceConfig>
120 template <
typename ClientTokenT = Aws::String>
122 m_clientTokenHasBeenSet =
true;
123 m_clientToken = std::forward<ClientTokenT>(value);
125 template <
typename ClientTokenT = Aws::String>
139 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
141 m_tagsHasBeenSet =
true;
142 m_tags = std::forward<TagsT>(value);
144 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 SetTags(std::forward<TagsT>(value));
149 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
151 m_tagsHasBeenSet =
true;
152 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
164 template <
typename PermissionsT = Aws::Vector<Aws::String>>
166 m_permissionsHasBeenSet =
true;
167 m_permissions = std::forward<PermissionsT>(value);
169 template <
typename PermissionsT = Aws::Vector<Aws::String>>
174 template <
typename PermissionsT = Aws::String>
176 m_permissionsHasBeenSet =
true;
177 m_permissions.emplace_back(std::forward<PermissionsT>(value));
190 m_initializationTimeoutHasBeenSet =
true;
191 m_initializationTimeout = value;
205 template <
typename ApplicationConfigT = ApplicationConfig>
207 m_applicationConfigHasBeenSet =
true;
208 m_applicationConfig = std::forward<ApplicationConfigT>(value);
210 template <
typename ApplicationConfigT = ApplicationConfig>
223 template <
typename IframeConfigT = IframeConfig>
225 m_iframeConfigHasBeenSet =
true;
226 m_iframeConfig = std::forward<IframeConfigT>(value);
228 template <
typename IframeConfigT = IframeConfig>
242 m_applicationTypeHasBeenSet =
true;
243 m_applicationType = value;
265 int m_initializationTimeout{0};
267 ApplicationConfig m_applicationConfig;
269 IframeConfig m_iframeConfig;
272 bool m_nameHasBeenSet =
false;
273 bool m_namespaceHasBeenSet =
false;
274 bool m_descriptionHasBeenSet =
false;
275 bool m_applicationSourceConfigHasBeenSet =
false;
276 bool m_clientTokenHasBeenSet =
true;
277 bool m_tagsHasBeenSet =
false;
278 bool m_permissionsHasBeenSet =
false;
279 bool m_initializationTimeoutHasBeenSet =
false;
280 bool m_applicationConfigHasBeenSet =
false;
281 bool m_iframeConfigHasBeenSet =
false;
282 bool m_applicationTypeHasBeenSet =
false;
void SetApplicationSourceConfig(ApplicationSourceConfigT &&value)
CreateApplicationRequest & WithPermissions(PermissionsT &&value)
void SetIframeConfig(IframeConfigT &&value)
bool NamespaceHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
CreateApplicationRequest & WithInitializationTimeout(int value)
CreateApplicationRequest & WithIframeConfig(IframeConfigT &&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 ApplicationConfig & GetApplicationConfig() const
const Aws::Vector< Aws::String > & GetPermissions() const
CreateApplicationRequest & WithApplicationConfig(ApplicationConfigT &&value)
const Aws::String & GetDescription() const
bool ApplicationTypeHasBeenSet() const
bool PermissionsHasBeenSet() const
void SetInitializationTimeout(int value)
CreateApplicationRequest & AddPermissions(PermissionsT &&value)
ApplicationType GetApplicationType() const
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
int GetInitializationTimeout() const
void SetApplicationType(ApplicationType value)
bool DescriptionHasBeenSet() const
bool IframeConfigHasBeenSet() const
bool TagsHasBeenSet() const
bool ApplicationConfigHasBeenSet() const
CreateApplicationRequest & WithApplicationSourceConfig(ApplicationSourceConfigT &&value)
CreateApplicationRequest & WithNamespace(NamespaceT &&value)
const IframeConfig & GetIframeConfig() const
void SetTags(TagsT &&value)
bool InitializationTimeoutHasBeenSet() const
void SetApplicationConfig(ApplicationConfigT &&value)
CreateApplicationRequest & WithApplicationType(ApplicationType 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