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/RetrieverType.h>
11#include <aws/qbusiness/model/RetrieverConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/qbusiness/model/Tag.h>
15#include <aws/core/utils/UUID.h>
46 template<
typename ApplicationIdT = Aws::String>
48 template<
typename ApplicationIdT = Aws::String>
68 template<
typename DisplayNameT = Aws::String>
70 template<
typename DisplayNameT = Aws::String>
78 template<
typename ConfigurationT = RetrieverConfiguration>
80 template<
typename ConfigurationT = RetrieverConfiguration>
91 template<
typename RoleArnT = Aws::String>
92 void SetRoleArn(
RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
93 template<
typename RoleArnT = Aws::String>
104 template<
typename ClientTokenT = Aws::String>
106 template<
typename ClientTokenT = Aws::String>
119 template<
typename TagsT = Aws::Vector<Tag>>
120 void SetTags(
TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
121 template<
typename TagsT = Aws::Vector<Tag>>
123 template<
typename TagsT = Tag>
129 bool m_applicationIdHasBeenSet =
false;
132 bool m_typeHasBeenSet =
false;
135 bool m_displayNameHasBeenSet =
false;
137 RetrieverConfiguration m_configuration;
138 bool m_configurationHasBeenSet =
false;
141 bool m_roleArnHasBeenSet =
false;
144 bool m_clientTokenHasBeenSet =
true;
147 bool m_tagsHasBeenSet =
false;
void SetConfiguration(ConfigurationT &&value)
CreateRetrieverRequest & WithConfiguration(ConfigurationT &&value)
CreateRetrieverRequest & WithApplicationId(ApplicationIdT &&value)
bool ClientTokenHasBeenSet() const
CreateRetrieverRequest & WithDisplayName(DisplayNameT &&value)
bool TagsHasBeenSet() const
CreateRetrieverRequest & WithRoleArn(RoleArnT &&value)
AWS_QBUSINESS_API CreateRetrieverRequest()=default
void SetApplicationId(ApplicationIdT &&value)
const RetrieverConfiguration & GetConfiguration() const
CreateRetrieverRequest & AddTags(TagsT &&value)
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetApplicationId() const
void SetTags(TagsT &&value)
bool ConfigurationHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateRetrieverRequest & WithTags(TagsT &&value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
bool RoleArnHasBeenSet() const
const Aws::String & GetRoleArn() const
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetDisplayName() const
bool DisplayNameHasBeenSet() const
void SetType(RetrieverType value)
CreateRetrieverRequest & WithClientToken(ClientTokenT &&value)
RetrieverType GetType() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
bool TypeHasBeenSet() const
bool ApplicationIdHasBeenSet() const
CreateRetrieverRequest & WithType(RetrieverType 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