7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/model/PluginType.h>
11#include <aws/qbusiness/model/PluginAuthConfiguration.h>
12#include <aws/qbusiness/model/CustomPluginConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/qbusiness/model/Tag.h>
16#include <aws/core/utils/UUID.h>
47 template<
typename ApplicationIdT = Aws::String>
49 template<
typename ApplicationIdT = Aws::String>
59 template<
typename DisplayNameT = Aws::String>
61 template<
typename DisplayNameT = Aws::String>
79 template<
typename AuthConfigurationT = PluginAuthConfiguration>
81 template<
typename AuthConfigurationT = PluginAuthConfiguration>
91 template<
typename ServerUrlT = Aws::String>
92 void SetServerUrl(
ServerUrlT&& value) { m_serverUrlHasBeenSet =
true; m_serverUrl = std::forward<ServerUrlT>(value); }
93 template<
typename ServerUrlT = Aws::String>
103 template<
typename CustomPluginConfigurationT = CustomPluginConfiguration>
105 template<
typename CustomPluginConfigurationT = CustomPluginConfiguration>
118 template<
typename TagsT = Aws::Vector<Tag>>
119 void SetTags(
TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
120 template<
typename TagsT = Aws::Vector<Tag>>
122 template<
typename TagsT = Tag>
133 template<
typename ClientTokenT = Aws::String>
135 template<
typename ClientTokenT = Aws::String>
141 bool m_applicationIdHasBeenSet =
false;
144 bool m_displayNameHasBeenSet =
false;
147 bool m_typeHasBeenSet =
false;
149 PluginAuthConfiguration m_authConfiguration;
150 bool m_authConfigurationHasBeenSet =
false;
153 bool m_serverUrlHasBeenSet =
false;
155 CustomPluginConfiguration m_customPluginConfiguration;
156 bool m_customPluginConfigurationHasBeenSet =
false;
159 bool m_tagsHasBeenSet =
false;
162 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