7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/QBusinessRequest.h>
11#include <aws/qbusiness/QBusiness_EXPORTS.h>
12#include <aws/qbusiness/model/CustomPluginConfiguration.h>
13#include <aws/qbusiness/model/PluginAuthConfiguration.h>
14#include <aws/qbusiness/model/PluginType.h>
15#include <aws/qbusiness/model/Tag.h>
43 template <
typename ApplicationIdT = Aws::String>
45 m_applicationIdHasBeenSet =
true;
46 m_applicationId = std::forward<ApplicationIdT>(value);
48 template <
typename ApplicationIdT = Aws::String>
61 template <
typename DisplayNameT = Aws::String>
63 m_displayNameHasBeenSet =
true;
64 m_displayName = std::forward<DisplayNameT>(value);
66 template <
typename DisplayNameT = Aws::String>
80 m_typeHasBeenSet =
true;
93 template <
typename AuthConfigurationT = PluginAuthConfiguration>
95 m_authConfigurationHasBeenSet =
true;
96 m_authConfiguration = std::forward<AuthConfigurationT>(value);
98 template <
typename AuthConfigurationT = PluginAuthConfiguration>
111 template <
typename ServerUrlT = Aws::String>
113 m_serverUrlHasBeenSet =
true;
114 m_serverUrl = std::forward<ServerUrlT>(value);
116 template <
typename ServerUrlT = Aws::String>
129 template <
typename CustomPluginConfigurationT = CustomPluginConfiguration>
131 m_customPluginConfigurationHasBeenSet =
true;
132 m_customPluginConfiguration = std::forward<CustomPluginConfigurationT>(value);
134 template <
typename CustomPluginConfigurationT = CustomPluginConfiguration>
150 template <
typename TagsT = Aws::Vector<Tag>>
152 m_tagsHasBeenSet =
true;
153 m_tags = std::forward<TagsT>(value);
155 template <
typename TagsT = Aws::Vector<Tag>>
157 SetTags(std::forward<TagsT>(value));
160 template <
typename TagsT = Tag>
162 m_tagsHasBeenSet =
true;
163 m_tags.emplace_back(std::forward<TagsT>(value));
175 template <
typename ClientTokenT = Aws::String>
177 m_clientTokenHasBeenSet =
true;
178 m_clientToken = std::forward<ClientTokenT>(value);
180 template <
typename ClientTokenT = Aws::String>
193 PluginAuthConfiguration m_authConfiguration;
197 CustomPluginConfiguration m_customPluginConfiguration;
202 bool m_applicationIdHasBeenSet =
false;
203 bool m_displayNameHasBeenSet =
false;
204 bool m_typeHasBeenSet =
false;
205 bool m_authConfigurationHasBeenSet =
false;
206 bool m_serverUrlHasBeenSet =
false;
207 bool m_customPluginConfigurationHasBeenSet =
false;
208 bool m_tagsHasBeenSet =
false;
209 bool m_clientTokenHasBeenSet =
true;
CreatePluginRequest & WithTags(TagsT &&value)
bool TypeHasBeenSet() const
PluginType GetType() const
void SetClientToken(ClientTokenT &&value)
void SetAuthConfiguration(AuthConfigurationT &&value)
void SetDisplayName(DisplayNameT &&value)
CreatePluginRequest & WithCustomPluginConfiguration(CustomPluginConfigurationT &&value)
const Aws::String & GetServerUrl() const
CreatePluginRequest & WithApplicationId(ApplicationIdT &&value)
bool DisplayNameHasBeenSet() const
void SetTags(TagsT &&value)
CreatePluginRequest & WithType(PluginType value)
CreatePluginRequest & WithAuthConfiguration(AuthConfigurationT &&value)
AWS_QBUSINESS_API CreatePluginRequest()=default
bool ApplicationIdHasBeenSet() const
CreatePluginRequest & WithDisplayName(DisplayNameT &&value)
bool TagsHasBeenSet() const
void SetType(PluginType value)
void SetCustomPluginConfiguration(CustomPluginConfigurationT &&value)
bool ClientTokenHasBeenSet() const
bool CustomPluginConfigurationHasBeenSet() const
bool ServerUrlHasBeenSet() const
void SetApplicationId(ApplicationIdT &&value)
const PluginAuthConfiguration & GetAuthConfiguration() const
const Aws::String & GetDisplayName() const
const Aws::String & GetApplicationId() const
const Aws::Vector< Tag > & GetTags() const
const CustomPluginConfiguration & GetCustomPluginConfiguration() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreatePluginRequest & WithServerUrl(ServerUrlT &&value)
bool AuthConfigurationHasBeenSet() const
CreatePluginRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
CreatePluginRequest & AddTags(TagsT &&value)
void SetServerUrl(ServerUrlT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector